NOISSUE - Correct readers openapi.yml (#1310)

Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
This commit is contained in:
Manuel Imperiale 2020-12-21 11:45:37 +01:00 committed by GitHub
parent 1810cec82b
commit cb9985d160
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 3 deletions

View File

@ -17,9 +17,11 @@ paths:
- messages - messages
parameters: parameters:
- $ref: "#/components/parameters/Authorization" - $ref: "#/components/parameters/Authorization"
- $ref: "#/components/parameters/ChanId"
- $ref: "#/components/parameters/Limit" - $ref: "#/components/parameters/Limit"
- $ref: "#/components/parameters/Offset" - $ref: "#/components/parameters/Offset"
- $ref: "#/components/parameters/ChanId" - $ref: "#/components/parameters/Publisher"
- $ref: "#/components/parameters/Name"
responses: responses:
'200': '200':
$ref: "#/components/responses/MessagesPageRes" $ref: "#/components/responses/MessagesPageRes"
@ -101,8 +103,8 @@ components:
description: Unique channel identifier. description: Unique channel identifier.
in: path in: path
schema: schema:
type: integer type: string
minimum: 1 format: uuid
required: true required: true
Limit: Limit:
name: limit name: limit
@ -123,6 +125,21 @@ components:
default: 0 default: 0
minimum: 0 minimum: 0
required: false required: false
Publisher:
name: Publisher
description: Unique thing identifier.
in: query
schema:
type: string
format: uuid
required: false
Name:
name: name
description: SenML message name.
in: query
schema:
type: string
required: false
responses: responses:
MessagesPageRes: MessagesPageRes: