Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No errors and unexpected output when --env option is not recognized #120

Open
njaczko opened this issue Sep 28, 2020 · 1 comment
Open
Labels

Comments

@njaczko
Copy link
Contributor

njaczko commented Sep 28, 2020

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.

servers: []
@njaczko njaczko added bug Something isn't working Low Priority labels Sep 28, 2020
@cjea
Copy link
Contributor

cjea commented Oct 14, 2020

Swagger gen addressed here: #141

Will add one for asyncapi as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants