You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 25, 2022. It is now read-only.
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:
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.
The text was updated successfully, but these errors were encountered: