-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: remove deprecated swagger-cli (#1080)
* fix: remove deprecated swagger-cli * fix: use node:18-alpine
- Loading branch information
1 parent
92a96be
commit f821379
Showing
7 changed files
with
1,001 additions
and
979 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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 |
---|---|---|
|
@@ -28,14 +28,14 @@ RUN go generate ./... | |
|
||
# OpenAPI bundle environment | ||
# ------------------------- | ||
FROM node:16-alpine as build-openapi | ||
FROM node:18-alpine as build-openapi | ||
WORKDIR /openapi | ||
|
||
RUN npm install -g [email protected] @apidevtools/swagger-cli prisma | ||
RUN npm install -g [email protected] @redocly/cli@latest prisma | ||
|
||
COPY /api-contracts/openapi ./openapi | ||
|
||
RUN swagger-cli bundle ./openapi/openapi.yaml --outfile ./bin/oas/openapi.yaml --type yaml | ||
RUN npx @redocly/cli bundle ./openapi/openapi.yaml --output ./bin/oas/openapi.yaml --ext yaml | ||
|
||
# Go build environment | ||
# -------------------- | ||
|
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
Oops, something went wrong.