PMT-32: Alle Bestehende Projekte mit ihren Informationen abrufen #7

Merged
SZUT-Ole merged 6 commits from story/PMT-32-alle-bestehende-projekte-mit into trunk 2024-10-02 08:06:44 +00:00
Showing only changes of commit c70ca1d172 - Show all commits

View file

@ -15,19 +15,21 @@ components:
scheme: bearer
bearerFormat: JWT
schemas:
HelloOut:
description: "A Test Schema"
ProjectInfo:
type: object
properties:
msg:
id:
type: integer
format: int64
name:
type: string
GetAllProjectsDTO:
type: array
items:
$ref: "#/components/schemas/ProjectInfo"
responses:
OK:
description: "OK"
content:
text/plain:
schema:
type: string
UnAuthorized:
description: "Un Authorized"
InternalError:
description: "Internal Server Error"
content:
@ -35,16 +37,18 @@ components:
schema:
type: string
paths:
/hello:
/project:
get:
operationId: "GetHello"
description: "A Simple Hello World Endpoint"
operationId: "getAllProjects"
description: "Get a List of all Projects"
responses:
200:
description: "A Hello Response"
description: ""
SZUT-Ole marked this conversation as resolved Outdated
  • eine Beschreibung hinzufügen
- [x] eine Beschreibung hinzufügen
content:
application/json:
schema:
$ref: "#/components/schemas/HelloOut"
$ref: "#/components/schemas/GetAllProjectsDTO"
401:
$ref: "#/components/responses/UnAuthorized"
500:
$ref: "#/components/responses/InternalError"