Skip to content

feat(swagger) add TOML document endpoint support#3744

Closed
camargo-leonardo wants to merge 3 commits intonestjs:masterfrom
camargo-leonardo:feat/toml-document-support
Closed

feat(swagger) add TOML document endpoint support#3744
camargo-leonardo wants to merge 3 commits intonestjs:masterfrom
camargo-leonardo:feat/toml-document-support

Conversation

@camargo-leonardo
Copy link
Copy Markdown

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior?

Issue Number: 3743

What is the new behavior?

The Swagger module now supports serving the OpenAPI document in TOML format (via ‎{{path}}-toml or a custom ‎tomlDocumentUrl), controlled by the ‎raw option, including when using a global prefix and ‎patchDocumentOnRequest.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@kamilmysliwiec
Copy link
Copy Markdown
Member

I'd say we shouldn't be adding more packages to this repository. If one wants to serve TOML, it seems that it should be quite simple to implement themselves (no need for changes in this repo)

@nestjs nestjs locked and limited conversation to collaborators Apr 15, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants