Remove references to nullable in OAS

This commit is contained in:
Alejandro Celaya
2023-07-01 17:04:24 +02:00
parent 78f75a06df
commit ad1a846d8e
5 changed files with 14 additions and 27 deletions

View File

@@ -4,18 +4,15 @@
"properties": {
"validSince": {
"description": "The date (in ISO-8601 format) from which this short code will be valid",
"type": "string",
"nullable": true
"type": ["string", "null"]
},
"validUntil": {
"description": "The date (in ISO-8601 format) until which this short code will be valid",
"type": "string",
"nullable": true
"type": ["string", "null"]
},
"maxVisits": {
"description": "The maximum number of allowed visits for this short code",
"type": "number",
"nullable": true
"type": ["number", "null"]
}
}
}