Last active
June 10, 2020 13:19
-
-
Save mishin/31fc9ae2b0d4acd79fc668fded257c41 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
openapi: 3.0.1 | |
info: | |
title: intro.uuid-message-processing | |
description: Service viewer | |
version: 1.0.0 | |
servers: | |
- url: / | |
tags: | |
- name: service-select | |
description: service | |
paths: | |
/v1/{uuid}: | |
parameters: | |
- name: uuid | |
in: path | |
description: UUID | |
required: true | |
schema: | |
type: string | |
format: uuid | |
example: 5705de72-05d0-4a81-9c25-29ae234ccfb3 | |
get: | |
summary: Getting Currency by uuid | |
operationId: getCurrency | |
responses: | |
200: | |
description: Ok | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/CurrencyDTO' | |
404: | |
description: Не найден uuid | |
components: | |
schemas: | |
ErrorMessage: | |
type: object | |
properties: | |
code: | |
type: integer | |
message: | |
type: string | |
CurrencyDTO: | |
type: object | |
required: [uuid,code,name,numeric_code,unicode] | |
properties: | |
uuid: | |
type: string | |
format: uuid | |
example: 5705de72-05d0-4a81-9c25-29ae234ccfb3 | |
name: | |
type: string | |
code: | |
type: string | |
isMain: | |
type: string | |
unicode: | |
type: string | |
issuing_country_uuid: | |
type: string | |
format: uuid |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment