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

Support example values on DTO level #55

Open
PetFeld-ed opened this issue Jan 19, 2022 · 0 comments
Open

Support example values on DTO level #55

PetFeld-ed opened this issue Jan 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@PetFeld-ed
Copy link

PetFeld-ed commented Jan 19, 2022

Hello.

In the discussion of #36 is described how to document example values for endpoint responses or inputs.

The consequence of this approach is that when reusing the same DTO in different endpoints (or in request and response) you must copy/paste the examples for these DTOs.
It would add convenience if it was possible to add example values to the DTO_FIELD_INFO. Those information could then be reused by the ENDPOINT_INFO automatically.

Kind regards.

@bamkrs bamkrs added the enhancement New feature or request label Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants