Skip to content

Add support for JAR: URLs to OpenAPIV3Parser #1592

@allen-ball

Description

@allen-ball

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions