Add OpenAPI tags for each endpoint in openapi.yaml to improve SDK generation and grouping
#644
Replies: 3 comments 2 replies
-
|
hey, @beshkenadze, I think that sounds reasonable 👍 Would you be interested in contributing this? |
Beta Was this translation helpful? Give feedback.
-
|
This has been implemented in PR #665 which adds an OpenAPI export CLI tool that automatically generates OpenAPI specifications from the Huma API routes. The tool supports:
See the PR for full details: #665 |
Beta Was this translation helpful? Give feedback.
-
|
Hi @rdimitrov — thanks for your feedback! Let me know if you’d like me to adjust it or provide more context. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Pre-submission Checklist
Your Idea
Idea
The current
openapi.yamldefines endpoints (/v0/servers,/v0/publish, etc.) without anytagsfield.This makes auto-generated SDKs (e.g., using Kubb, OpenAPI Generator, or Swagger Codegen) group all methods under
undefinedService, since no tags are provided.Adding simple tags per endpoint will:
serversService,publishingService, etc.)Example
Benefits
serversService,publishingServiceWho Benefits
Scope
Beta Was this translation helpful? Give feedback.
All reactions