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

@ -4,11 +4,11 @@
"additionalProperties": false,
"required": [
"id",
"created_at",
"updated_at",
"name",
"nickname",
"email",
"created_on",
"modified_on",
"is_disabled"
],
"properties": {
@ -16,6 +16,16 @@
"type": "integer",
"minimum": 1
},
"created_at": {
"type": "integer",
"minimum": 1,
"description": "Created Unix time with milliseconds"
},
"updated_at": {
"type": "integer",
"minimum": 1,
"description": "Updated Unix time with milliseconds"
},
"name": {
"type": "string",
"minLength": 2,
@ -31,14 +41,6 @@
"minLength": 5,
"maxLength": 150
},
"created_on": {
"type": "integer",
"minimum": 1
},
"modified_on": {
"type": "integer",
"minimum": 1
},
"gravatar_url": {
"type": "string"
},