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

How to annotate parameters for describing response #101

Open
r4m-sergeya opened this issue Aug 30, 2023 · 3 comments
Open

How to annotate parameters for describing response #101

r4m-sergeya opened this issue Aug 30, 2023 · 3 comments
Assignees

Comments

@r4m-sergeya
Copy link

This cool package, but it can auto generate swagger specs for request params only, but how can I manually annotate response parameters?
Thanks in advance

@DenTray
Copy link
Collaborator

DenTray commented Sep 1, 2023

Hi, @r4m-sergeya ! Could you please share an example of the response specs?

At the moment we just save the example to the open api file without fields description.

@helicoder
Copy link

I find that the @description set in the comments of the requst does not come through

@DenTray
Copy link
Collaborator

DenTray commented Feb 20, 2024

@helicoder Hi! I've tried both cases on the 2.2 version of the package and it works for me, here are examples:

image image

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

3 participants