Added response examples to swagger docs

This commit is contained in:
Alejandro Celaya
2017-04-16 10:45:52 +02:00
parent 10da57572f
commit 17be221920
4 changed files with 56 additions and 1 deletions

View File

@@ -28,6 +28,11 @@
"description": "The original long URL behind the short code."
}
}
},
"examples": {
"application/json": {
"longUrl": "https://shlink.io"
}
}
},
"400": {