fix: validate OpenAPI spec (#1528)

* init api check test

* Fix openAPI issues

Co-authored-by: Hayden <64056131+hay-kot@users.noreply.github.com>
This commit is contained in:
Philipp Fischbeck
2022-08-07 02:54:29 +02:00
committed by GitHub
parent 505e594758
commit 34cd6eb687
8 changed files with 113 additions and 12 deletions

View File

@@ -82,11 +82,13 @@ class UserBase(MealieModel):
}
schema_extra = {
"username": "ChangeMe",
"fullName": "Change Me",
"email": "changeme@email.com",
"group": settings.DEFAULT_GROUP,
"admin": "false",
"example": {
"username": "ChangeMe",
"fullName": "Change Me",
"email": "changeme@email.com",
"group": settings.DEFAULT_GROUP,
"admin": "false",
}
}