-
Notifications
You must be signed in to change notification settings - Fork 155
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
1 parent
98db9ec
commit c90d4bd
Showing
6 changed files
with
177 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
package=co.com.bancolombia | ||
systemProp.version=3.6.3-LOCAL | ||
systemProp.version=3.6.3 | ||
simulateRest=true |
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 |
---|---|---|
@@ -0,0 +1,103 @@ | ||
openapi: 3.0.1 | ||
info: | ||
title: Swagger Petstore 2.0 | ||
description: 'This is a sample server Petstore server. You can find out more about Swagger | ||
at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For | ||
this sample, you can use the api key `special-key` to test the authorization filters.' | ||
termsOfService: http://swagger.io/terms/ | ||
contact: | ||
email: [email protected] | ||
license: | ||
name: Apache 2.0 | ||
url: http://www.apache.org/licenses/LICENSE-2.0.html | ||
version: 1.0.0 | ||
externalDocs: | ||
description: Find out more about Swagger | ||
url: http://swagger.io | ||
servers: | ||
- url: https://petstore.swagger.io/v2 | ||
- url: http://petstore.swagger.io/v2 | ||
tags: | ||
- name: pet | ||
description: Everything about your Pets | ||
externalDocs: | ||
description: Find out more | ||
url: http://swagger.io | ||
paths: | ||
/pet: | ||
post: | ||
tags: | ||
- pet | ||
summary: Add a new pet to the store | ||
operationId: addPet | ||
requestBody: | ||
description: Pet object that needs to be added to the store | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Pet' | ||
application/xml: | ||
schema: | ||
$ref: '#/components/schemas/Pet' | ||
required: true | ||
responses: | ||
201: | ||
description: Pet created | ||
405: | ||
description: Invalid input | ||
content: {} | ||
/pet/{petId}: | ||
get: | ||
tags: | ||
- pet | ||
summary: Find pet by ID | ||
description: Returns a single pet | ||
operationId: getPetById | ||
parameters: | ||
- name: petId | ||
in: path | ||
description: ID of pet to return | ||
required: true | ||
schema: | ||
type: integer | ||
format: int64 | ||
responses: | ||
200: | ||
description: successful operation | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/Pet' | ||
400: | ||
description: Invalid ID supplied | ||
content: {} | ||
404: | ||
description: Pet not found | ||
content: {} | ||
components: | ||
schemas: | ||
Pet: | ||
required: | ||
- name | ||
- photoUrls | ||
type: object | ||
properties: | ||
id: | ||
type: integer | ||
format: int64 | ||
# example: 1 | ||
name: | ||
type: string | ||
# example: doggie | ||
photoUrls: | ||
type: array | ||
items: | ||
type: string | ||
# example: https://some.com/image.png | ||
status: | ||
type: string | ||
description: pet status in the store | ||
enum: | ||
- AVAILABLE | ||
- PENDING | ||
- SOLD |