google.json 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. {
  2. "openapi": "3.0.1",
  3. "info": {
  4. "title": "默认模块",
  5. "description": "",
  6. "version": "1.0.0"
  7. },
  8. "tags": [],
  9. "paths": {
  10. "/google/getCode": {
  11. "post": {
  12. "summary": "获取二维码",
  13. "deprecated": false,
  14. "description": "",
  15. "tags": [],
  16. "parameters": [],
  17. "responses": {
  18. "200": {
  19. "description": "",
  20. "content": {
  21. "application/json": {
  22. "schema": {
  23. "$ref": "#/components/schemas/RString"
  24. },
  25. "example": {
  26. "code": 0,
  27. "msg": "",
  28. "data": ""
  29. }
  30. }
  31. },
  32. "headers": {}
  33. }
  34. },
  35. "security": [
  36. {
  37. "bearer": []
  38. }
  39. ]
  40. }
  41. },
  42. "/google/binding": {
  43. "get": {
  44. "summary": "绑定验证码",
  45. "deprecated": false,
  46. "description": "",
  47. "tags": [],
  48. "parameters": [
  49. {
  50. "name": "code",
  51. "in": "query",
  52. "description": "",
  53. "required": false,
  54. "example": 487722,
  55. "schema": {
  56. "type": "integer"
  57. }
  58. }
  59. ],
  60. "responses": {
  61. "200": {
  62. "description": "",
  63. "content": {
  64. "application/json": {
  65. "schema": {
  66. "$ref": "#/components/schemas/R",
  67. "description": "响应信息主体"
  68. },
  69. "example": {
  70. "code": 0,
  71. "msg": "",
  72. "data": ""
  73. }
  74. }
  75. },
  76. "headers": {}
  77. }
  78. },
  79. "security": [
  80. {
  81. "bearer": []
  82. }
  83. ]
  84. }
  85. },
  86. "/google/unbinding": {
  87. "post": {
  88. "summary": "解绑验证码",
  89. "deprecated": false,
  90. "description": "",
  91. "tags": [],
  92. "parameters": [],
  93. "requestBody": {
  94. "content": {
  95. "application/json": {
  96. "schema": {
  97. "$ref": "#/components/schemas/GoogleUnbindingRO",
  98. "description": ""
  99. }
  100. }
  101. }
  102. },
  103. "responses": {
  104. "200": {
  105. "description": "",
  106. "content": {
  107. "application/json": {
  108. "schema": {
  109. "$ref": "#/components/schemas/R",
  110. "description": "响应信息主体"
  111. },
  112. "example": {
  113. "code": 0,
  114. "msg": "",
  115. "data": ""
  116. }
  117. }
  118. },
  119. "headers": {}
  120. }
  121. },
  122. "security": [
  123. {
  124. "bearer": []
  125. }
  126. ]
  127. }
  128. }
  129. },
  130. "components": {
  131. "schemas": {
  132. "RString": {
  133. "type": "object",
  134. "properties": {
  135. "code": {
  136. "type": "integer",
  137. "description": "返回标记:成功标记=0,失败标记=1"
  138. },
  139. "msg": {
  140. "type": "string",
  141. "description": "返回信息"
  142. },
  143. "data": {
  144. "type": "string",
  145. "description": "数据"
  146. }
  147. }
  148. },
  149. "GoogleUnbindingRO": {
  150. "type": "object",
  151. "properties": {
  152. "pwd": {
  153. "type": "string",
  154. "description": ""
  155. }
  156. },
  157. "required": [
  158. "pwd"
  159. ]
  160. },
  161. "R": {
  162. "type": "object",
  163. "properties": {
  164. "ok": {
  165. "type": "boolean"
  166. },
  167. "code": {
  168. "type": "integer",
  169. "description": "返回标记:成功标记=0,失败标记=1"
  170. },
  171. "msg": {
  172. "type": "string",
  173. "description": "返回信息"
  174. },
  175. "data": {
  176. "type": "object",
  177. "properties": {},
  178. "description": "数据"
  179. }
  180. }
  181. }
  182. },
  183. "securitySchemes": {
  184. "bearer": {
  185. "type": "http",
  186. "scheme": "bearer"
  187. }
  188. }
  189. },
  190. "servers": [],
  191. "security": []
  192. }