From e2370800bac65100ff294088f0fe4a965c25aa4a Mon Sep 17 00:00:00 2001 From: Alessandro Ros Date: Sun, 12 Mar 2023 12:18:18 +0100 Subject: [PATCH] apidocs: make linter return an exit code in case of errors (#1564) --- apidocs/openapi.yaml | 10 ++-------- scripts/apidocs.mk | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/apidocs/openapi.yaml b/apidocs/openapi.yaml index 45900b51..878255ef 100644 --- a/apidocs/openapi.yaml +++ b/apidocs/openapi.yaml @@ -11,6 +11,8 @@ info: servers: - url: http://localhost:9997 +security: [] + components: schemas: Conf: @@ -529,14 +531,6 @@ components: additionalProperties: $ref: '#/components/schemas/RTSPConn' - RTSPSConnsList: - type: object - properties: - items: - type: object - additionalProperties: - $ref: '#/components/schemas/RTSPConn' - RTSPSessionsList: type: object properties: diff --git a/scripts/apidocs.mk b/scripts/apidocs.mk index 5f3fe605..34c6510c 100644 --- a/scripts/apidocs.mk +++ b/scripts/apidocs.mk @@ -1,6 +1,6 @@ define DOCKERFILE_APIDOCS_LINT FROM $(NODE_IMAGE) -RUN yarn global add @redocly/openapi-cli@1.0.0-beta.82 +RUN yarn global add @redocly/cli@1.0.0-beta.123 endef export DOCKERFILE_APIDOCS_LINT