Skip to content

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.

2 participants