put api before the static handling (https://github.com/gofiber/swagger/issues/33)
This commit is contained in:
parent
2b69cc687c
commit
583288bf01
4 changed files with 37 additions and 37 deletions
16
docs/docs.go
16
docs/docs.go
|
@ -29,9 +29,9 @@ const docTemplate = `{
|
|||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "success",
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/utils.List"
|
||||
"$ref": "#/definitions/libmozhi.List"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -51,9 +51,9 @@ const docTemplate = `{
|
|||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "success",
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/utils.List"
|
||||
"$ref": "#/definitions/libmozhi.List"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -95,9 +95,9 @@ const docTemplate = `{
|
|||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "success",
|
||||
"description": "OK",
|
||||
"schema": {
|
||||
"$ref": "#/definitions/utils.LangOut"
|
||||
"$ref": "#/definitions/libmozhi.LangOut"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -134,7 +134,7 @@ const docTemplate = `{
|
|||
}
|
||||
},
|
||||
"definitions": {
|
||||
"utils.LangOut": {
|
||||
"libmozhi.LangOut": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"detected": {
|
||||
|
@ -154,7 +154,7 @@ const docTemplate = `{
|
|||
}
|
||||
}
|
||||
},
|
||||
"utils.List": {
|
||||
"libmozhi.List": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue