Skip to content

parsing files with file:/ URL emits FileNotFoundException when resolving internal schemas #2034

@maddingo

Description

@maddingo
File inputSpec = new File("openapi.json");
ParseOptions options = new ParseOptions();
options.setResolve(true); // same with resolveFully
OpenAPI openAPI = new OpenAPIV3Parser().read(inputSpec.getAbsoluteFile().toURI().toURL().toString(), null, options);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions