-
Notifications
You must be signed in to change notification settings - Fork 5
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
updated the swagger page's endpoints' names to more meaningful names #77
updated the swagger page's endpoints' names to more meaningful names #77
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good initiative. It makes the swagger page looks better.
@@ -23,6 +24,7 @@ | |||
|
|||
@RestController | |||
@RequestMapping("/comparison") | |||
@Tag(name = "Comparison endpoints") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, these are also under the seqcol specification so they should be called Seqcol as well.
I would actually prefer if they are in the same section.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technically, these are also under the seqcol specification so they should be called Seqcol as well. I would actually prefer if they are in the same section.
Yeah that makes sense, I've made the update in commit 470c68c. Now it looks like this:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, my nitpicks:
- I wonder if we can at least get the two
comparison
endpoints to sit next to each other in the same section? - There's a typo in the tag name, should be Seqcol!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done !
Thanks April
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -25,6 +26,7 @@ | |||
|
|||
@RestController | |||
@RequestMapping("/") | |||
@Tag(name = "Secqol endpoint") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Tag(name = "Secqol endpoint") | |
@Tag(name = "Secqol endpoints") |
Description
Currently the endpoints in the swagger page are named the same as the controller name. So we propose to change the endpoint names in the swagger ui to a more meaningful names.
Fixes #76
Swagger UI before and after the change
Before
After
Finally
I would really like to hear your feedback on the naming of the endpoints, in order to have the best meaningful names.