mirror of
https://github.com/openziti/zrok.git
synced 2024-12-22 14:50:55 +01:00
adjust generate_rest.sh
This commit is contained in:
parent
07c23ee55b
commit
caffedce02
@ -13,17 +13,17 @@ command -v openapi >/dev/null 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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user