docs.go 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. // Code generated by swaggo/swag. DO NOT EDIT
  2. package swagger
  3. import "github.com/swaggo/swag"
  4. const docTemplate = `{
  5. "schemes": {{ marshal .Schemes }},
  6. "swagger": "2.0",
  7. "info": {
  8. "description": "{{escape .Description}}",
  9. "title": "{{.Title}}",
  10. "termsOfService": "http://swagger.io/terms/",
  11. "contact": {
  12. "name": "liling",
  13. "url": "http://www.swagger.io/support",
  14. "email": "3116246@qq.com"
  15. },
  16. "license": {
  17. "name": "none",
  18. "url": "-"
  19. },
  20. "version": "{{.Version}}"
  21. },
  22. "host": "{{.Host}}",
  23. "basePath": "{{.BasePath}}",
  24. "paths": {}
  25. }`
  26. // SwaggerInfo holds exported Swagger Info so clients can modify it
  27. var SwaggerInfo = &swag.Spec{
  28. Version: "1.0.0",
  29. Host: "localhost:9527",
  30. BasePath: "/api",
  31. Schemes: []string{},
  32. Title: "SCD检测工具API",
  33. Description: "SCD文档管理系统接口文档。本文档仅用于本项目的前端接口说明",
  34. InfoInstanceName: "swagger",
  35. SwaggerTemplate: docTemplate,
  36. }
  37. func init() {
  38. swag.Register(SwaggerInfo.InstanceName(), SwaggerInfo)
  39. }