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

Issue with Server Object Variables #2231

Closed
jshankhwar-mdsol opened this issue May 14, 2020 · 2 comments
Closed

Issue with Server Object Variables #2231

jshankhwar-mdsol opened this issue May 14, 2020 · 2 comments

Comments

@jshankhwar-mdsol
Copy link

jshankhwar-mdsol commented May 14, 2020

Having the default value of a server Object as an empty string throws the null pointer exception.
An empty string is also a string So it should be fine

servers:
url: https://hostexample{stage}.companyName{region}.{tld}{basePath}
variables:
stage:
default: sandbox
region:
default: ''

@jshankhwar-mdsol
Copy link
Author

Screen Shot 2020-05-14 at 4 35 44 PM

@MikeRalphson
Copy link
Member

Please raise tooling-related issues on the relevant repository. This repository is for the OpenAPI specification itself. Thanks.

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

No branches or pull requests

2 participants