2024-09-12 22:01:00 +00:00
|
|
|
openapi: 3.0.0
|
|
|
|
info:
|
|
|
|
title: Project Management API
|
|
|
|
description: An API for Managing Internal tools
|
|
|
|
version: 1.0.0
|
|
|
|
servers:
|
|
|
|
- url: /api/v1
|
2024-09-27 10:17:17 +00:00
|
|
|
security:
|
|
|
|
- JWTAuth: []
|
2024-09-12 22:01:00 +00:00
|
|
|
|
|
|
|
components:
|
2024-09-27 10:17:17 +00:00
|
|
|
securitySchemes:
|
|
|
|
JWTAuth:
|
|
|
|
type: http
|
|
|
|
scheme: bearer
|
|
|
|
bearerFormat: JWT
|
2024-09-12 22:01:00 +00:00
|
|
|
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"
|