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

Support for Header Versioning #2990

Open
2 of 4 tasks
dalaverd opened this issue Jun 26, 2024 · 0 comments
Open
2 of 4 tasks

Support for Header Versioning #2990

dalaverd opened this issue Jun 26, 2024 · 0 comments

Comments

@dalaverd
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

The issue described in nestjs/swagger#2235 persists in the latest version. The Swagger module does not support the type of versioning with HEADER that NestJS supports in its core. There was a fix proposed 1 year ago (PR #2063), but it has never been merged.

Minimum reproduction code

https://github.com/DCampagnola/nestjs-swagger-header-versioning-bug

Steps to reproduce

No response

Expected behavior

Generated api should include every version declared with the different docs

Package version

7.3.1

NestJS version

10.3.9

Node.js version

20.14.0

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

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

No branches or pull requests

1 participant