patchnotes_controller.py done

This commit is contained in:
2025-03-31 16:06:00 +02:00
parent ace005248d
commit a13081cd71
7 changed files with 81 additions and 87 deletions
+6 -10
View File
@@ -20,10 +20,10 @@ paths:
content:
application/json:
schema:
items:
$ref: '#/components/schemas/patch_notes'
type: array
$ref: '#/components/schemas/patch_notes'
description: game created
"400":
description: bad payload
tags:
- Patchnotes
x-openapi-router-controller: openapi_server.controllers.patchnotes_controller
@@ -52,8 +52,6 @@ paths:
description: returns list of all unseen Patch notes from the user
"404":
description: no Patch notes found
"500":
description: "Internal Server error, Failed to get Patch Notes"
tags:
- Patchnotes
x-openapi-router-controller: openapi_server.controllers.patchnotes_controller
@@ -75,8 +73,6 @@ paths:
description: patch successfully deleted
"404":
description: patch not found
"500":
description: "Internal Server Error, Patch not deleted"
tags:
- Patchnotes
x-openapi-router-controller: openapi_server.controllers.patchnotes_controller
@@ -99,12 +95,12 @@ components:
changes:
title: changes
type: string
date:
title: date
patch_date:
title: patch_date
type: string
required:
- changes
- date
- patch_date
- title
title: patch_notes
user: