From d7eac7167147b17e7e23e4c79078103d4ec24c7c Mon Sep 17 00:00:00 2001 From: Felix Sidokhine <felix.sidokhine@randstad.ca> Date: Sat, 16 May 2020 17:51:35 +0300 Subject: [PATCH] improved api doc a bit --- api-doc/reference/Install-API.v1.yaml | 44 +++++++++++++++------------ api-doc/reference/User-API.v1.yaml | 12 ++++++++ pom.xml | 1 + 3 files changed, 37 insertions(+), 20 deletions(-) diff --git a/api-doc/reference/Install-API.v1.yaml b/api-doc/reference/Install-API.v1.yaml index 7c100691..03b15027 100644 --- a/api-doc/reference/Install-API.v1.yaml +++ b/api-doc/reference/Install-API.v1.yaml @@ -7,28 +7,32 @@ servers: - url: 'http://localhost:3000' paths: /api/install/auth: - get: - summary: Your GET endpoint - tags: [] - responses: {} - operationId: get-api-install-auth + post: + summary: '' + operationId: post-api-install-auth + responses: + '200': + description: OK /api/install/ca: - get: - summary: Your GET endpoint - tags: [] - responses: {} - operationId: get-api-install-ca + post: + summary: '' + operationId: post-api-install-ca + responses: + '200': + description: OK /api/install/settings: - get: - summary: Your GET endpoint - tags: [] - responses: {} - operationId: get-api-install-settings + post: + summary: '' + operationId: post-api-install-settings + responses: + '200': + description: OK /api/install/start: - get: - summary: Your GET endpoint - tags: [] - responses: {} - operationId: get-api-install-start + post: + summary: '' + operationId: post-api-install-start + responses: + '200': + description: OK components: schemas: {} diff --git a/api-doc/reference/User-API.v1.yaml b/api-doc/reference/User-API.v1.yaml index 347dd6ff..d5f1c7d0 100644 --- a/api-doc/reference/User-API.v1.yaml +++ b/api-doc/reference/User-API.v1.yaml @@ -23,6 +23,18 @@ paths: tags: [] responses: {} operationId: get-api-auth-device-deviceId + put: + summary: '' + operationId: put-api-auth-device-deviceId + responses: + '200': + description: OK + post: + summary: '' + operationId: post-api-auth-device-deviceId + responses: + '200': + description: OK /api/auth/devices: get: summary: Your GET endpoint diff --git a/pom.xml b/pom.xml index 1da1ddf2..8f7fdbe8 100644 --- a/pom.xml +++ b/pom.xml @@ -8,6 +8,7 @@ <artifactId>jams3-parent</artifactId> <packaging>pom</packaging> <version>${revision}</version> + <name>Jami Account Management Server</name> <modules> <module>jams-server</module> <module>jams-common</module> -- GitLab