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

[zod-openapi] How to add group summary? #720

Open
vickyRathee opened this issue Aug 28, 2024 · 0 comments
Open

[zod-openapi] How to add group summary? #720

vickyRathee opened this issue Aug 28, 2024 · 0 comments

Comments

@vickyRathee
Copy link

How can I add a summary to a particular controller/group ?

image

I am able to write description for each route, but not for parent group.

users .openapi(createRoute({
  method: 'get',
  path: '/users/{id}',
  description: 'Get user by id',
  request: {
    params: ParamsSchema,
  },
  responses: {
    200: {
      content: {
        'application/json': {
          schema: UserSchema,
        },
      },
    },
  },
}))
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

No branches or pull requests

1 participant