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
parameters:
- $ref: "#/components/parameters/Authorization"
- $ref: "#/components/parameters/ChanId"
- $ref: "#/components/parameters/Limit"
- $ref: "#/components/parameters/Offset"
- $ref: "#/components/parameters/ChanId"
- $ref: "#/components/parameters/Publisher"
- $ref: "#/components/parameters/Name"
responses:
'200':
$ref: "#/components/responses/MessagesPageRes"
@ -101,8 +103,8 @@ components:
description: Unique channel identifier.
in: path
schema:
type: integer
minimum: 1
type: string
format: uuid
required: true
Limit:
name: limit
@ -123,6 +125,21 @@ components:
default: 0
minimum: 0
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:
MessagesPageRes: