-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Open
Labels
Description
Is your feature request related to a problem? Please describe.
On Windows when using the OpenAPI Generator (CLI) I'm getting the error described here swagger-api/swagger-parser#2223 when using an OAS with version 3.1;
.. URISyntaxException: Illegal character in opaque part at index 2 ..
Downgrading the version to 3.0 works, but might generates different models in some scenarios.
The issue on Windows has been resolved in swagger-parser version 2.1.34.
- With Fix URISyntaxException while reading OpenAPI 3.1 from windows file path location swagger-api/swagger-parser#2230
- That's included in https://github.com/swagger-api/swagger-parser/releases/tag/v2.1.34
Describe the solution you'd like
I would like to update the swagger.parser from 2.1.33 to 2.1.34 (or latest 2.1.35).
Line 1267 in 8a4246c
<swagger-parser.version>2.1.33</swagger-parser.version>
Describe alternatives you've considered
N/A
Additional context
Working on delivering a PR, but if a maintainer or contributor is faster than me, go for it. 🙂
EDIT:
- PR: build: update
swagger-parserto2.1.35#22410
I've verified it worked with a locally builtopenapi-generator-cliwith the updated dependency, following https://github.com/OpenAPITools/openapi-generator-cli/tree/master/apps/generator-cli/src#use-locally-built-jar.
It is now working as expected.