DEV: Fix several type issues with the api docs (#14016)

`nullable` is no longer a valid type, and types also can't be an empty
string, so just bringing a number of issues with types in compliance
with the openapi spec.
This commit is contained in:
Blake Erickson
2021-08-12 12:25:17 -06:00
committed by GitHub
parent 29bb79de37
commit 65f6d46045
10 changed files with 179 additions and 179 deletions

View File

@@ -48,13 +48,13 @@
"type": "string"
},
"last_seen_age": {
"type": ""
"type": ["number", "null"]
},
"last_emailed_age": {
"type": ""
"type": ["number", "null"]
},
"created_at_age": {
"type": ""
"type": ["number", "null"]
},
"trust_level": {
"type": "integer"

View File

@@ -39,13 +39,13 @@
"type": "string"
},
"last_seen_age": {
"type": ""
"type": ["number", "null"]
},
"last_emailed_age": {
"type": ""
"type": ["number", "null"]
},
"created_at_age": {
"type": ""
"type": ["number", "null"]
},
"trust_level": {
"type": "integer"
@@ -163,7 +163,7 @@
"type": "integer"
},
"bounce_score": {
"type": ""
"type": ["integer", "null"]
},
"reset_bounce_score_after": {
"type": ["string", "null"]