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

Feature request: use inline comment as route summary if route summary annotation is not present #7

Open
dukeraphaelng opened this issue Apr 7, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@dukeraphaelng
Copy link
Contributor

It would be a good idea to assign the inline comment on top of a route (class-based or method-based) as the route's summary, when OpenAPI annotation's summary key-value is not present. This means that when both are present, the OpenAPI's annotation declared summary k-v will override the comment.

I think this would be a very helpful feature.

@elbywan elbywan added the enhancement New feature or request label Apr 8, 2021
@elbywan
Copy link
Owner

elbywan commented Apr 8, 2021

This is a good idea indeed 👍.

I will not be able to work on this in the following weeks though.

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