diff options
author | DylanB95EST <dylan.byrne@est.tech> | 2021-06-02 19:45:46 +0100 |
---|---|---|
committer | DylanB95EST <dylan.byrne@est.tech> | 2021-06-11 11:04:17 +0100 |
commit | b5a238326e5fc5e240acb11f52748774c2f6da40 (patch) | |
tree | 1dd5657c59efa00dd98d39d813e10446d498c585 /docs/openapi/components.yml | |
parent | 429f06a7e721b88b495921f9853ea2f7f827f925 (diff) |
Adding new sub repo and modules, along with rest endpoint, test case and Spring Application class
Issue-ID: CPS-431
Change-Id: I6fd4379df6133108c1f8f2a5339f990f16773ad6
Signed-off-by: DylanB95EST <dylan.byrne@est.tech>
Diffstat (limited to 'docs/openapi/components.yml')
-rw-r--r-- | docs/openapi/components.yml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/docs/openapi/components.yml b/docs/openapi/components.yml new file mode 100644 index 00000000..bc3a63a0 --- /dev/null +++ b/docs/openapi/components.yml @@ -0,0 +1,59 @@ +components: + schemas: + ErrorMessage: + type: object + title: Error + properties: + status: + type: string + message: + type: string + details: + type: string + + responses: + NotFound: + description: The specified resource was not found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + Unauthorized: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + Forbidden: + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + BadRequest: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + Conflict: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + Ok: + description: OK + content: + application/json: + schema: + type: object + Created: + description: Created + content: + text/plain: + schema: + type: string + NoContent: + description: No Content + content: {} |