1
0
forked from PGL/Clyde

small changes

This commit is contained in:
Debucquoy Anthony 2023-12-10 21:21:11 +01:00
parent b8897cd697
commit b50e0db3fc
Signed by untrusted user: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -1,7 +1,9 @@
openapi: 3.0.0 openapi: 3.0.0
info: info:
title: ClydeAPI title: ClydeAPI
description: Clyde's api description:
This is the Clyde's api documentation. <br/>
Each endpoints are organised by endpoints **AND** by extensions making it easier to navigate.
version: 0.0.1 version: 0.0.1
servers: servers:
@ -51,6 +53,8 @@ paths:
summary: get informations about yourself summary: get informations about yourself
tags: tags:
- Users - Users
security:
- bearer: []
responses: responses:
'200': '200':
description: Ok description: Ok
@ -58,6 +62,8 @@ paths:
application/json: application/json:
schema: schema:
$ref: "#/components/schemas/User" $ref: "#/components/schemas/User"
'401':
$ref: '#/components/responses/UnauthorizedError'
post: post:
summary: Create user summary: Create user
tags: tags:
@ -377,7 +383,7 @@ components:
"firstName": "John", "firstName": "John",
"email": "John.Doe@example.com", "email": "John.Doe@example.com",
"address": { "address": {
"address": "Rue de Tounais 42", "address": "Rue de Tournais 42",
"country": "BE"}, "country": "BE"},
"birthDate": "1941-02-22", "birthDate": "1941-02-22",
"staffMember": true, "staffMember": true,
@ -392,7 +398,7 @@ components:
description: Follow the ISO-3166-1 alpha-2 standard. description: Follow the ISO-3166-1 alpha-2 standard.
example: example:
{ {
"address": "Rue de Tounais 42", "address": "Rue de Tournais 42",
"country": "BE" "country": "BE"
} }
Course: Course: