A language for describing resource-oriented APIs & turning them into Swagger or resource diagrams. Oriented around the concepts we want to expose in the APIs.
Apache License 2.0
23
stars
7
forks
source link
No errors and unexpected output when --env option is not recognized #120
If you pass the --env flag with a value that is not PROD, or specified in your Reslang servers block, Reslang does not error as it should. Instead, it just generates an empty servers block in the openapi spec.
For example,
reslang ~/code/reslang/models/servers --env JUNK
does not error and generates this in the OpenAPI spec.
If you pass the --env flag with a value that is not PROD, or specified in your Reslang servers block, Reslang does not error as it should. Instead, it just generates an empty servers block in the openapi spec.
For example,
does not error and generates this in the OpenAPI spec.