added patchnotes_get function to return all patchnotes

This commit is contained in:
2025-04-16 13:40:45 +02:00
parent 814dd4d2c2
commit d38e4e0f69
7 changed files with 104 additions and 10 deletions
+17
View File
@@ -7,6 +7,23 @@ servers:
- url: /
paths:
/patchnotes:
get:
description: returns list of all Patch notes
operationId: patchnotes_get
responses:
"200":
content:
application/json:
schema:
items:
$ref: '#/components/schemas/patch_notes'
type: array
description: returns list of all unseen Patch notes from the user
"404":
description: no Patch notes found
tags:
- Patchnotes
x-openapi-router-controller: openapi_server.controllers.patchnotes_controller
post:
description: creates new Patch notes
operationId: patchnotes_post