ProjectManagmentTool/api/pmt.yml
Ole Kück 7481b48b9f
Some checks failed
Quality Check / Validate OAS (push) Successful in 37s
Quality Check / Testing (push) Failing after 1m5s
Quality Check / Linting (push) Successful in 1m15s
Quality Check / Static Analysis (push) Successful in 1m20s
PMT-32: testing
2024-09-30 16:24:36 +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:
ProjectInfo:
type: object
properties:
id:
type: integer
format: int64
name:
type: string
GetAllProjectsDTO:
type: array
items:
$ref: "#/components/schemas/ProjectInfo"
responses:
InternalError:
description: "Internal Server Error"
content:
text/plain:
schema:
type: string
paths:
/project:
get:
operationId: "getAllProjects"
description: "Get a List of all Projects"
responses:
200:
description: ""
content:
application/json:
schema:
$ref: "#/components/schemas/GetAllProjectsDTO"
500:
$ref: "#/components/responses/InternalError"