swag-payments/spec/paths/processing@categories@{categoryID}.yaml
2018-09-27 09:44:49 +03:00

22 lines
520 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

get:
description: Получить данные категории по ее ID
tags:
- Categories
operationId: getCategoryByRef
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/deadline'
- name: categoryID
in: path
description: Category reference
required: true
type: integer
format: int32
responses:
'200':
description: Category found
schema:
$ref: '#/definitions/Category'
'404':
$ref: '#/responses/NotFound'