Created
June 24, 2018 14:28
-
-
Save Meldiron/b5fdd1e39850ca111fa5314950c8c2e3 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
x-swagger-router-controller: products_ctrl | |
get: | |
tags: | |
- Catalog | |
summary: Get products object | |
description: You can filter list by currency, category and language | |
operationId: searchProducts | |
parameters: | |
- name: lang_id | |
in: query | |
description: ID of the language (for example "sk") | |
required: false | |
default: sk | |
type: string | |
- name: category_id | |
in: query | |
description: ID of the category (for example 3) | |
required: false | |
type: number | |
- name: currency_id | |
in: query | |
description: ID of the currency (for example EUR) | |
required: false | |
default: EUR | |
type: string | |
responses: | |
"200": | |
description: Success | |
schema: | |
type: object | |
required: | |
- products | |
properties: | |
products: | |
type: array |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment