Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow openapi version to be overridden #602

Merged
merged 2 commits into from
May 30, 2022
Merged

Conversation

TimonVS
Copy link
Contributor

@TimonVS TimonVS commented May 27, 2022

Fixes #601

@TimonVS
Copy link
Contributor Author

TimonVS commented May 27, 2022

I’ll fix the linting error tomorrow when I’m behind a computer :) Fixed.

lib/spec/openapi/utils.js Outdated Show resolved Hide resolved
lib/spec/openapi/utils.js Outdated Show resolved Hide resolved
lib/spec/openapi/utils.js Outdated Show resolved Hide resolved
Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@TimonVS
Copy link
Contributor Author

TimonVS commented May 30, 2022

@mcollina this MR targets the master branch, which only supports Fastify v4. Should I open an MR to the 6.x branch (doesn't exist yet) to backport the fix for Fastify v3 support?

Copy link
Member

@climba03003 climba03003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@mcollina mcollina merged commit a033619 into fastify:master May 30, 2022
@mcollina
Copy link
Member

@mcollina this MR targets the master branch, which only supports Fastify v4. Should I open an MR to the 6.x branch (doesn't exist yet) to backport the fix for Fastify v3 support?

I've created a 6.x branch, go ahead!

TimonVS added a commit to TimonVS/fastify-swagger that referenced this pull request May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot set OpenAPI version
3 participants