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

#1553 fails to generate spec on relative server urls on Windows #1565

Merged
merged 1 commit into from May 19, 2021

Conversation

jhannes
Copy link
Contributor

@jhannes jhannes commented May 19, 2021

When parsing API specs with relative server URLs when the path to the spec is specified with Windows directory separators () instead of UNIX (/), swagger-parser fails to generate OpenAPI object with no error message.

This is the cause of #1553 and most likely of OpenAPITools/openapi-generator#8266 as well

Copy link
Contributor

@gracekarina gracekarina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot for this PR.

@gracekarina gracekarina merged commit 4ccec46 into swagger-api:master May 19, 2021
jhannes added a commit to jhannes/openapi-generator-java-annotationfree that referenced this pull request May 19, 2021
jhannes added a commit to jhannes/openapi-generator-typescript-fetch-api that referenced this pull request May 19, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants