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

Add support for JAR: URLs to OpenAPIV3Parser #1592

Closed
allen-ball opened this issue Jul 24, 2021 · 1 comment
Closed

Add support for JAR: URLs to OpenAPIV3Parser #1592

allen-ball opened this issue Jul 24, 2021 · 1 comment

Comments

@allen-ball
Copy link
Contributor

This is a feature request: Add support for jar:jar-uri!/inputSpec.yml styled URLs to OpenAPIV3Parser. The motivation is in Maven builds the input spec can be specified with the dependency property path mechanism like:

<inputSpec>jar:file://${ganymede:ganymede-client:jar}!/ganymede-rest-protocol.yml</inputSpec>

while simply providing the resource path often fails because the Maven compile classpath is often different than code generator's (combined with an issue with the plugin itself; see OpenAPITools/openapi-generator#10016).

allen-ball added a commit to allen-ball/swagger-parser-issue-1592 that referenced this issue Jul 24, 2021
gracekarina added a commit that referenced this issue Feb 10, 2022
Issue #1592 Add support for JAR: URLs to OpenAPIV3Parser
@gracekarina
Copy link
Contributor

Hey this PR has been merged, thanks for the contribution.

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