-
Notifications
You must be signed in to change notification settings - Fork 13
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
PLAT-107430-Style/content enhancements for Query Service API swagger[ON HOLD] #63
base: main
Are you sure you want to change the base?
PLAT-107430-Style/content enhancements for Query Service API swagger[ON HOLD] #63
Conversation
src/swagger-specs/query-service.yaml
Outdated
operationId: "patchSchedule" | ||
tags: | ||
- "Schedules" | ||
summary: Update a schedule | ||
summary: Partially update a schedule |
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.
The distinction between patch and update (and specifying that the former is just a partial update) is only relevant if your API has both PUT and PATCH methods for the same endpoint. If it only uses one or the other (as is the case with QS), the verb should always be update
, regardless of whether it is a PUT or PATCH request. Same applies to the summary--this should remain as "Update a schedule"
src/swagger-specs/query-service.yaml
Outdated
@@ -675,6 +678,7 @@ paths: | |||
tags: | |||
- "Query-Templates" | |||
summary: Retrieve a query template | |||
description: This endpoint retrieves the query template for the `{queryTemplateId}` provided. |
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.
Keep in mind that all path parameters should be stylized in ALL_CAPS_SNAKE_CASE
. So in this case, the Swagger parameter itself and all mentions of it in descriptions should appear as {QUERY_TEMPLATE_ID}
.
… capitalized the use of ID.
…uery-Service-API-swagger
(https://jira.corp.adobe.com/browse/PLAT-107430)
wiki: https://wiki.corp.adobe.com/pages/viewpage.action?pageId=2438138911