-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
maguimarijuan
committed
Apr 30, 2020
1 parent
a84c01b
commit f9ae70d
Showing
7 changed files
with
80 additions
and
87 deletions.
There are no files selected for viewing
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
components: | ||
|
||
schemas: | ||
schemas: | ||
|
||
Clients: | ||
description: The new clients to create | ||
type: object | ||
properties: | ||
clients: | ||
description: The client codes array | ||
type: array | ||
items: | ||
description: The client code | ||
type: string | ||
readOnly: true | ||
example: | ||
clients: | ||
- 'some-client' | ||
- 'other-client' | ||
Clients: | ||
description: The new clients to create | ||
type: object | ||
properties: | ||
clients: | ||
description: The client codes array | ||
type: array | ||
items: | ||
description: The client code | ||
type: string | ||
readOnly: true | ||
example: | ||
clients: | ||
- 'some-client' | ||
- 'other-client' |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
paths: | ||
|
||
/client: | ||
post: | ||
x-janis-namespace: client | ||
x-janis-method: create | ||
operationId: createClient | ||
tags: | ||
- Client | ||
summary: Create a new client | ||
security: | ||
- ApiKey: [] | ||
ApiSecret: [] | ||
requestBody: | ||
description: The clients to create | ||
required: true | ||
/client: | ||
post: | ||
x-janis-namespace: client | ||
x-janis-method: create | ||
operationId: createClient | ||
tags: | ||
- Client | ||
summary: Create a new client | ||
security: | ||
- ApiKey: [] | ||
ApiSecret: [] | ||
requestBody: | ||
description: The clients to create | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/Clients" | ||
responses: | ||
"200": | ||
description: Client created | ||
content: | ||
application/json: | ||
schema: | ||
$ref: "#/components/schemas/Clients" | ||
responses: | ||
"200": | ||
description: Client created | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
"400": | ||
$ref: "#/components/responses/BadRequest" | ||
"401": | ||
$ref: "#/components/responses/Unauthorized" | ||
"403": | ||
$ref: "#/components/responses/Forbidden" | ||
"500": | ||
$ref: "#/components/responses/InternalError" | ||
type: object | ||
"400": | ||
$ref: "#/components/responses/BadRequest" | ||
"401": | ||
$ref: "#/components/responses/Unauthorized" | ||
"403": | ||
$ref: "#/components/responses/Forbidden" | ||
"500": | ||
$ref: "#/components/responses/InternalError" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,28 @@ | ||
paths: | ||
/listener/client/created: | ||
post: | ||
x-janis-namespace: client | ||
x-janis-method: created-listener | ||
tags: | ||
- Client | ||
summary: Client created event listener | ||
security: | ||
- ApiKey: [] | ||
ApiSecret: [] | ||
description: Client created event listener | ||
operationId: clientCreatedListener | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/listenerEvent' | ||
responses: | ||
'200': | ||
$ref: '#/components/responses/GenericSuccess' | ||
'400': | ||
$ref: '#/components/responses/BadRequest' | ||
'401': | ||
$ref: '#/components/responses/Unauthorized' | ||
'500': | ||
$ref: '#/components/responses/InternalError' | ||
/listener/id/client/created: | ||
post: | ||
x-janis-namespace: id-client | ||
x-janis-method: created-listener | ||
tags: | ||
- Client | ||
summary: Client created event listener | ||
security: | ||
- ApiKey: [] | ||
ApiSecret: [] | ||
description: Client created event listener | ||
operationId: clientCreatedListener | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
$ref: '#/components/schemas/listenerEvent' | ||
responses: | ||
'200': | ||
$ref: '#/components/responses/GenericSuccess' | ||
'400': | ||
$ref: '#/components/responses/BadRequest' | ||
'401': | ||
$ref: '#/components/responses/Unauthorized' | ||
'500': | ||
$ref: '#/components/responses/InternalError' |