Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.
This repository was archived by the owner on May 25, 2022. It is now read-only.

Support for OpenAPI 3.0.x #78

@tanvp112

Description

@tanvp112

Hi,

I tried to use create-fastify-app with openapi specification version 3.0.1. Example converted v2 petstore swagger on editor.swagger.io to v3. But fastify-app failed with message 'parameter must contain a valid Open Api Version 2.0 or 3.0.x'. Source:

const parse = (content) => {
if (content.swagger && content.swagger.indexOf('2.0') === 0) {
return V2.parse(content)
}

throw new Error('parameter must contain a valid Open Api Version 2.0 or 3.0.x')
}

Would like to check if create-fastify-app only supports 2.0?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions