Documented longUrl param on PATCH short URL endpoint

This commit is contained in:
Alejandro Celaya 2020-03-22 14:06:13 +01:00
parent 4e6836c605
commit d29ebb706e

View File

@ -112,6 +112,10 @@
"schema": { "schema": {
"type": "object", "type": "object",
"properties": { "properties": {
"longUrl": {
"description": "The long URL this short URL will redirect to",
"type": "string"
},
"validSince": { "validSince": {
"description": "The date (in ISO-8601 format) from which this short code will be valid", "description": "The date (in ISO-8601 format) from which this short code will be valid",
"type": "string" "type": "string"
@ -157,6 +161,7 @@
"items": { "items": {
"type": "string", "type": "string",
"enum": [ "enum": [
"longUrl",
"validSince", "validSince",
"validUntil", "validUntil",
"maxVisits" "maxVisits"