Fix swagger doc and rename references for time db fields

This commit is contained in:
Jamie Curnow
2023-05-29 08:50:27 +10:00
parent a2f192280b
commit 1ae247b2a6
45 changed files with 236 additions and 316 deletions

View File

@ -2,19 +2,21 @@
"type": "object",
"description": "SettingObject",
"additionalProperties": false,
"required": ["id", "name", "value"],
"required": ["id", "created_at", "updated_at", "name", "value"],
"properties": {
"id": {
"type": "integer",
"minimum": 1
},
"created_on": {
"created_at": {
"type": "integer",
"minimum": 1
"minimum": 1,
"description": "Created Unix time with milliseconds"
},
"modified_on": {
"updated_at": {
"type": "integer",
"minimum": 1
"minimum": 1,
"description": "Updated Unix time with milliseconds"
},
"name": {
"type": "string",