mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Improved swagger definition
This commit is contained in:
parent
8a12ed6b8c
commit
b225c03ef1
6 changed files with 10 additions and 5 deletions
|
@ -6,28 +6,33 @@
|
|||
"version": "1.2.0"
|
||||
},
|
||||
"schemes": [
|
||||
"http",
|
||||
"https"
|
||||
],
|
||||
"basePath": "/rest",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"consumes": [
|
||||
"application/x-www-form-urlencoded",
|
||||
"application/json"
|
||||
],
|
||||
|
||||
"paths": {
|
||||
"/v1/authenticate": {
|
||||
"$ref": "endpoints/v1_authenticate.json"
|
||||
"$ref": "paths/v1_authenticate.json"
|
||||
},
|
||||
"/v1/short-codes": {
|
||||
"$ref": "endpoints/v1_short-codes.json"
|
||||
"$ref": "paths/v1_short-codes.json"
|
||||
},
|
||||
"/v1/short-codes/{shortCode}": {
|
||||
"$ref": "endpoints/v1_short-codes_{shortCode}.json"
|
||||
"$ref": "paths/v1_short-codes_{shortCode}.json"
|
||||
},
|
||||
"/v1/short-codes/{shortCode}/visits": {
|
||||
"$ref": "endpoints/v1_short-codes_{shortCode}_visits.json"
|
||||
"$ref": "paths/v1_short-codes_{shortCode}_visits.json"
|
||||
},
|
||||
"/v1/short-codes/{shortCode}/tags": {
|
||||
"$ref": "endpoints/v1_short-codes_{shortCode}_tags.json"
|
||||
"$ref": "paths/v1_short-codes_{shortCode}_tags.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue