Created
October 9, 2020 17:55
-
-
Save mbraga-sfdc/96969711b71c4a4930aa4a8f663a6f2e to your computer and use it in GitHub Desktop.
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
/{type}/get_inventory/: | |
get: | |
tags: | |
- "Internal calls" | |
description: "Get Inventory" | |
operationId: "typeGet_inventoryGET" | |
consumes: | |
- "application/json" | |
produces: | |
- "application/json" | |
- "application/xml" | |
parameters: | |
- name: "type" | |
in: "path" | |
description: "json or xml" | |
required: true | |
type: "string" | |
- name: "product_id" | |
in: "query" | |
description: "Product Id" | |
required: true | |
type: "integer" | |
responses: | |
"200": | |
description: "OK" | |
schema: | |
type: "array" | |
items: | |
$ref: "#/definitions/Inventory" | |
security: | |
- basic: [] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment