Skip to content

Support for v3 #91

Description

@nknapp

I would be great to get pull-request that add support for the OpenAPI-v3-spec.
I would suggest to create helpers openapi-v2 and openapi-v3 so that the differing places can be handled smoothly:

{{#if (openapi-v2)}}
{{>swagger/definitions definitions=definitions}}
{{else if (openapi-v3)}}
{{>openapi/components components=components}}
{{/if}}

As an alternative, if there are converters, that support the fully-automatic conversion from openapi 2 to 3, we could also just use those as preprocessor.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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