Skip to content

Commit

Permalink
Merge pull request #1 from ktherage/update
Browse files Browse the repository at this point in the history
Updating swagger-cli to get OAS validation.
  • Loading branch information
Jean-Beru authored Jul 30, 2021
2 parents 937fb7c + a264a39 commit bc39797
Show file tree
Hide file tree
Showing 5 changed files with 1,439 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:13-alpine

ENV SWAGGER_CLI_VERSION 2.3.3
ENV SWAGGER_CLI_VERSION 4.0.4

RUN npm install -g swagger-cli@${SWAGGER_CLI_VERSION}
RUN npm install -g openapi-types@>=7 swagger-cli@${SWAGGER_CLI_VERSION}

CMD ["swagger-cli", "-h"]
9 changes: 9 additions & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: '3.8'

services:
swagger:
tty: true
build:
context: .
volumes:
- ./test:/srv
2 changes: 0 additions & 2 deletions test.yaml

This file was deleted.

Loading

0 comments on commit bc39797

Please sign in to comment.