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

PLAT-107430-Style/content enhancements for Query Service API swagger[ON HOLD] #63

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

JCON3DEV
Copy link
Collaborator

@JCON3DEV JCON3DEV commented Dec 15, 2021

@JCON3DEV JCON3DEV changed the title PLAT-107430-Style/content enhancements for Query Service API swagger PLAT-107430-Style/content enhancements for Query Service API swagger[WIP] Jan 10, 2022
Comment on lines 336 to 339
operationId: "patchSchedule"
tags:
- "Schedules"
summary: Update a schedule
summary: Partially update a schedule
Copy link
Contributor

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"

@@ -675,6 +678,7 @@ paths:
tags:
- "Query-Templates"
summary: Retrieve a query template
description: This endpoint retrieves the query template for the `{queryTemplateId}` provided.
Copy link
Contributor

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}.

@JCON3DEV JCON3DEV changed the title PLAT-107430-Style/content enhancements for Query Service API swagger[WIP] PLAT-107430-Style/content enhancements for Query Service API swagger[READY] Sep 27, 2022
@JCON3DEV JCON3DEV changed the title PLAT-107430-Style/content enhancements for Query Service API swagger[READY] PLAT-107430-Style/content enhancements for Query Service API swagger[WAITING] Oct 11, 2022
@JCON3DEV JCON3DEV changed the title PLAT-107430-Style/content enhancements for Query Service API swagger[WAITING] PLAT-107430-Style/content enhancements for Query Service API swagger[WIP] Nov 7, 2022
@JCON3DEV JCON3DEV changed the title PLAT-107430-Style/content enhancements for Query Service API swagger[WIP] PLAT-107430-Style/content enhancements for Query Service API swagger[ON HOLD] Nov 8, 2022
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

Successfully merging this pull request may close these issues.

2 participants