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
In the documentation/openapi generation the names are just "get login" "get callback" "get me" - it would be nice if the documentation would include the group path as well. So it would be "get auth login", "get user me", "get auth callback"
Screenshot shows what I'm referring to:
And the openapi.yaml summary:
/user/me:
get:
operationId: get-meresponses:
"200":
content:
application/json:
schema:
$ref: "#/components/schemas/MeResponseBody"description: OKdefault:
content:
application/problem+json:
schema:
$ref: "#/components/schemas/ErrorModel"description: Errorsummary: Get me
The text was updated successfully, but these errors were encountered:
@bbedward thanks for the feedback! I'll see what can be done, but keep in mind the auto-generation is best-effort and won't work for all use-cases. You can always use huma.Register instead of huma.Get and provide your own operation ID and summary!
Hi,
Love the framework - it is a huge time saver and a great project.
Groups was added in #728 , however it would be great if the documentation generated included the group path.
For example:
I have a /auth group and a /user group
In the documentation/openapi generation the names are just "get login" "get callback" "get me" - it would be nice if the documentation would include the group path as well. So it would be "get auth login", "get user me", "get auth callback"
Screenshot shows what I'm referring to:
And the openapi.yaml summary:
The text was updated successfully, but these errors were encountered: