Skip to content

Unable to use external $ref's with OpenAPI #208

@tomisme

Description

@tomisme

I tried to use Martian with this OpenAPI spec: https://api-docs.solaranalytics.com/OpenAPI-Specs/sapublic-openapi.yaml

But when I ran martian/explore it came back with an empty vec. I think the issue is the external refs in the paths e.g. $ref: "./sainternal/V3/paths/token.yaml#/TokenV3"

Looking at the Martian code it seems like martian.schema/lookup-ref should be throwing "Non-local references are not supported" but I don't get any errors when bootstrapping.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions