We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b5fbcc commit 5e8daecCopy full SHA for 5e8daec
scripts/infrastructure/swagger/merge.sh
@@ -88,7 +88,11 @@ function generate_public_swagger() {
88
yq 'del(.security)' |
89
yq 'del(.paths./_status)' |
90
yq 'del(.. | select(has("StatusOK")).StatusOK)' |
91
- yq 'del(.components.securitySchemes."${authoriser_name}")' \
+ yq 'del(.components.securitySchemes."${authoriser_name}")' |
92
+ yq 'del(.components.responses.CorsOK)' |
93
+ yq 'del(.components.schemas.Empty)' |
94
+ yq 'del(.tags[] | select(.name == "Options"))' |
95
+ yq 'del(.paths.*.options)' \
96
>${PUBLIC_SWAGGER_FILE}
97
echo "Generated ${PUBLIC_SWAGGER_FILE}"
98
validate_yaml ${PUBLIC_SWAGGER_FILE}
0 commit comments