Skip to content

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

Open
JCON3DEV wants to merge 28 commits into
mainfrom
PLAT-107430-Style/content-enhancements-for-Query-Service-API-swagger
Open

PLAT-107430-Style/content enhancements for Query Service API swagger[ON HOLD]#63
JCON3DEV wants to merge 28 commits into
mainfrom
PLAT-107430-Style/content-enhancements-for-Query-Service-API-swagger

Conversation

@JCON3DEV
Copy link
Copy Markdown
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 thread src/swagger-specs/query-service.yaml Outdated
Comment on lines +336 to +339
operationId: "patchSchedule"
tags:
- "Schedules"
summary: Update a schedule
summary: Partially update a schedule
Copy link
Copy Markdown
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"

Comment thread src/swagger-specs/query-service.yaml Outdated
tags:
- "Query-Templates"
summary: Retrieve a query template
description: This endpoint retrieves the query template for the `{queryTemplateId}` provided.
Copy link
Copy Markdown
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