Browse Source

apidocs: make linter return an exit code in case of errors (#1564)

pull/1563/head
Alessandro Ros 2 years ago committed by GitHub
parent
commit
e2370800ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      apidocs/openapi.yaml
  2. 2
      scripts/apidocs.mk

10
apidocs/openapi.yaml

@ -11,6 +11,8 @@ info: @@ -11,6 +11,8 @@ info:
servers:
- url: http://localhost:9997
security: []
components:
schemas:
Conf:
@ -529,14 +531,6 @@ components: @@ -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:

2
scripts/apidocs.mk

@ -1,6 +1,6 @@ @@ -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

Loading…
Cancel
Save