adjust generate_rest.sh

This commit is contained in:
Curt Tudor 2024-03-25 14:08:49 -06:00
parent 07c23ee55b
commit caffedce02
No known key found for this signature in database
GPG Key ID: B3CD225AF4EC8E96

View File

@ -13,17 +13,17 @@ command -v openapi >/dev/null 2>&1 || {
} }
command -v swagger-codegen 2>&1 || { command -v swagger-codegen 2>&1 || {
echo >&2 "command 'swagger-codegen. see: https://github.com/swagger-api/swagger-codegen for installation" echo >&2 "command 'swagger-codegen' not installed. see: https://github.com/swagger-api/swagger-codegen for installation"
exit 1 exit 1
} }
command -v openapi-generator-cli 2>&1 || { command -v openapi-generator-cli 2>&1 || {
echo >&2 "command 'openapi-generator-cli. see: https://www.npmjs.com/package/@openapitools/openapi-generator-cli for installation" echo >&2 "command 'openapi-generator-cli' not installed. see: https://www.npmjs.com/package/@openapitools/openapi-generator-cli for installation"
exit 1 exit 1
} }
command -v realpath 2>&1 || { command -v realpath 2>&1 || {
echo >&2 "command 'realpath. see: https://www.npmjs.com/package/realpath for installation" echo >&2 "command 'realpath' not installed. see: https://www.npmjs.com/package/realpath for installation"
exit 1 exit 1
} }