-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
sam bacha
authored
Jul 22, 2020
1 parent
b447d70
commit 0f164c1
Showing
10 changed files
with
93 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
description: 'Returns a pet based on ID' | ||
summary: 'Find pet by ID' | ||
operationId: getPetsById | ||
description: 'Returns a protocol based on ID' | ||
summary: 'Find protocol by ID' | ||
operationId: getprotocolsById | ||
tags: | ||
- foo | ||
- bar | ||
produces: | ||
- application/json | ||
- text/html | ||
parameters: | ||
- {name: petId, in: path, description: 'ID of pet that needs to be fetched', required: true, type: integer, format: int64} | ||
- {name: protocolId, in: path, description: 'ID of protocol that needs to be fetched', required: true, type: integer, format: int64} | ||
responses: | ||
'200': {description: 'a pet to be returned', schema: {$ref: Pet}} | ||
'200': {description: 'a protocol to be returned', schema: {$ref: protocol}} | ||
default: {description: 'Unexpected error', schema: {$ref: ErrorModel}} |
10 changes: 5 additions & 5 deletions
10
spec_system/operations/stringPathAndBoolQueryParamResource.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
description: 'Returns a pet based on ID' | ||
summary: 'Find pet by ID' | ||
operationId: getPetsById | ||
description: 'Returns a protocol based on ID' | ||
summary: 'Find protocol by ID' | ||
operationId: getprotocolsById | ||
produces: | ||
- application/json | ||
- text/html | ||
parameters: | ||
- {name: petId, in: path, description: 'ID of pet that needs to be fetched', required: true, type: integer, format: int64} | ||
- {name: protocolId, in: path, description: 'ID of protocol that needs to be fetched', required: true, type: integer, format: int64} | ||
- {name: includeDetails, in: query, description: 'include details in response', required: true, type: boolean} | ||
responses: | ||
'200': {description: 'a pet to be returned', schema: {$ref: Pet}} | ||
'200': {description: 'a protocol to be returned', schema: {$ref: protocol}} | ||
default: {description: 'Unexpected error', schema: {$ref: ErrorModel}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
description: 'Returns a pet based on ID' | ||
summary: 'Find pet by ID' | ||
operationId: getPetsById | ||
description: 'Returns a protocol based on ID' | ||
summary: 'Find protocol by ID' | ||
operationId: getprotocolsById | ||
produces: | ||
- application/json | ||
- text/html | ||
parameters: | ||
- {name: petId, in: path, description: 'ID of pet that needs to be fetched', required: true, type: integer, format: int64} | ||
- {name: protocolId, in: path, description: 'ID of protocol that needs to be fetched', required: true, type: integer, format: int64} | ||
responses: | ||
'200': {description: fun, schema: {$ref: Pet}} | ||
'200': {description: fun, schema: {$ref: protocol}} | ||
'400': {description: 'Invalid ID supplied <= this is purely for documentation', schema: {$ref: ErrorModel}} | ||
default: {description: 'Unexpected error', schema: {$ref: ErrorModel}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.