ProjectManagmentTool/api/pmt.yml
Dominik Säume 9b808a521c
Some checks failed
Quality Check / Validate OAS (push) Failing after 49s
Quality Check / Linting (push) Failing after 1m17s
Quality Check / Static Analysis (push) Failing after 1m23s
Quality Check / Testing (push) Successful in 4m22s
PMT-19: In progress
2024-09-27 16:40:33 +02:00

50 lines
No EOL
1 KiB
YAML

openapi: 3.0.0
info:
title: Project Management API
description: An API for Managing Internal tools
version: 1.0.0
servers:
- url: /api/v1
security:
- JWTAuth: []
components:
securitySchemes:
JWTAuth:
type: http
scheme: bearer
bearerFormat: JWT
schemas:
HelloOut:
description: "A Test Schema"
type: object
properties:
msg:
type: string
responses:
OK:
description: "OK"
content:
text/plain:
schema:
type: string
InternalError:
description: "Internal Server Error"
content:
text/plain:
schema:
type: string
paths:
/hello:
get:
operationId: "GetHello"
description: "A Simple Hello World Endpoint"
responses:
200:
description: "A Hello Response"
content:
application/json:
schema:
$ref: "#/components/schemas/HelloOut"
500:
$ref: "#/components/responses/InternalError"