Improve swagger docs

This commit is contained in:
Yang Luo
2023-07-29 11:35:03 +08:00
parent 5f054c4989
commit a38896e4d8
3 changed files with 36 additions and 76 deletions

View File

@ -13,13 +13,13 @@
// limitations under the License.
// Package routers
// @APIVersion 1.0.0
// @Title Casdoor API
// @Description Documentation of Casdoor API
// @Contact admin@casbin.org
// @SecurityDefinition test_apiKey apiKey Authorization header
// @Schemes http,https
// @ExternalDocs Find out more about casdoor
// @APIVersion 1.376.1
// @Title Casdoor RESTful API
// @Description Swagger Docs of Casdoor Backend API
// @Contact casbin@googlegroups.com
// @SecurityDefinition AccessToken apiKey Authorization header
// @Schemes https,http
// @ExternalDocs Find out more about Casdoor
// @ExternalDocsUrl https://casdoor.org/
package routers