Update swagger.json for accurate API path.
The "servers" section was deleted and the "/api/v1" part was added to "paths" values for a more refined URL structure. This change makes it more clear that the API version is part of the API route.
This commit is contained in:
parent
9bfd3fef1a
commit
d72d6ff614
@ -5,11 +5,6 @@
|
|||||||
"description": "API Documentation.",
|
"description": "API Documentation.",
|
||||||
"version": "1.0.0"
|
"version": "1.0.0"
|
||||||
},
|
},
|
||||||
"servers": [
|
|
||||||
{
|
|
||||||
"url": "/api/v1"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
{
|
||||||
"name": "captcha",
|
"name": "captcha",
|
||||||
@ -17,7 +12,7 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"paths": {
|
"paths": {
|
||||||
"/captcha": {
|
"/api/v1/captcha": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"captcha"
|
"captcha"
|
||||||
@ -105,7 +100,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/captcha/{captcha_key}": {
|
"/api/v1/captcha/{captcha_key}": {
|
||||||
"get": {
|
"get": {
|
||||||
"tags": [
|
"tags": [
|
||||||
"captcha"
|
"captcha"
|
||||||
|
Loading…
Reference in New Issue
Block a user