Skip to content

Commit

Permalink
NOISSUE - Correct readers openapi.yml (#1310)
Browse files Browse the repository at this point in the history
Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com>
  • Loading branch information
manuio committed Dec 21, 2020
1 parent 1810cec commit cb9985d
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions readers/openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit cb9985d

Please sign in to comment.