-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ktherage/update
Updating swagger-cli to get OAS validation.
- Loading branch information
Showing
5 changed files
with
1,439 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.