4
0

schemas.php 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280
  1. <?php
  2. /**
  3. * @OA\Schema(
  4. * schema="ping",
  5. * type="object",
  6. * @OA\Property(
  7. * property="response",
  8. * type="object",
  9. * @OA\Property(
  10. * property="result",
  11. * description="success or error",
  12. * type="string",
  13. * example="success",
  14. * ),
  15. * @OA\Property(
  16. * property="message",
  17. * description="success or error message",
  18. * type="string",
  19. * example=null,
  20. * ),
  21. * @OA\Property(
  22. * property="data",
  23. * description="data from api",
  24. * type="string",
  25. * example="pong",
  26. * ),
  27. * ),
  28. * )
  29. */
  30. /**
  31. * @OA\Schema(
  32. * schema="status",
  33. * type="object",
  34. * @OA\Property(
  35. * property="response",
  36. * type="object",
  37. * @OA\Property(
  38. * property="result",
  39. * description="success or error",
  40. * type="string",
  41. * example="success",
  42. * ),
  43. * @OA\Property(
  44. * property="message",
  45. * description="success or error message",
  46. * type="string",
  47. * example=null,
  48. * ),
  49. * @OA\Property(
  50. * property="data",
  51. * description="data from api",
  52. * type="object",
  53. * @OA\Property(
  54. * property="status",
  55. * description="success or error",
  56. * type="string",
  57. * example="ok",
  58. * ),
  59. * @OA\Property(
  60. * property="api_version",
  61. * type="string",
  62. * example="2.0",
  63. * ),
  64. * @OA\Property(
  65. * property="organizr_version",
  66. * type="string",
  67. * example="2.0.650",
  68. * )
  69. * ),
  70. * ),
  71. * )
  72. */
  73. /**
  74. * @OA\Schema(
  75. * schema="pluginSettingsPage",
  76. * type="object",
  77. * @OA\Property(
  78. * property="response",
  79. * type="object",
  80. * @OA\Property(
  81. * property="result",
  82. * description="success or error",
  83. * type="string",
  84. * example="success",
  85. * ),
  86. * @OA\Property(
  87. * property="message",
  88. * description="success or error message",
  89. * type="string",
  90. * example=null,
  91. * ),
  92. * @OA\Property(
  93. * property="data",
  94. * description="data from api",
  95. * type="object",
  96. * @OA\Property(
  97. * property="settingsPageObjectItem1",
  98. * type="object",
  99. * ),
  100. * @OA\Property(
  101. * property="settingsPageObjectItem2",
  102. * type="object",
  103. * ),
  104. * @OA\Property(
  105. * property="settingsPageObjectItem3",
  106. * type="object",
  107. * )
  108. * ),
  109. * ),
  110. * )
  111. */
  112. /**
  113. * @OA\Schema(
  114. * schema="successNullData",
  115. * type="object",
  116. * @OA\Property(
  117. * property="response",
  118. * type="object",
  119. * @OA\Property(
  120. * property="result",
  121. * description="success or error",
  122. * type="string",
  123. * example="success",
  124. * ),
  125. * @OA\Property(
  126. * property="message",
  127. * description="success message or error message",
  128. * type="string",
  129. * example=null,
  130. * ),
  131. * @OA\Property(
  132. * property="data",
  133. * description="data from api",
  134. * type="string",
  135. * example=null,
  136. * ),
  137. * ),
  138. * )
  139. */
  140. /**
  141. * @OA\Schema(
  142. * schema="success-message",
  143. * type="object",
  144. * @OA\Property(
  145. * property="response",
  146. * type="object",
  147. * @OA\Property(
  148. * property="result",
  149. * description="success or error",
  150. * type="string",
  151. * example="success",
  152. * ),
  153. * @OA\Property(
  154. * property="message",
  155. * description="success message or error message",
  156. * type="string",
  157. * example="Successful message here",
  158. * ),
  159. * @OA\Property(
  160. * property="data",
  161. * description="data from api",
  162. * type="string",
  163. * example=null,
  164. * ),
  165. * ),
  166. * )
  167. */
  168. /**
  169. * @OA\Schema(
  170. * schema="error-message",
  171. * type="object",
  172. * @OA\Property(
  173. * property="response",
  174. * type="object",
  175. * @OA\Property(
  176. * property="result",
  177. * description="success or error",
  178. * type="string",
  179. * example="error",
  180. * ),
  181. * @OA\Property(
  182. * property="message",
  183. * description="success message or error message",
  184. * type="string",
  185. * example="Error message here",
  186. * ),
  187. * @OA\Property(
  188. * property="data",
  189. * description="data from api",
  190. * type="string",
  191. * example=null,
  192. * ),
  193. * ),
  194. * )
  195. */
  196. /**
  197. * @OA\Schema(
  198. * schema="unauthorized-message",
  199. * type="object",
  200. * @OA\Property(
  201. * property="response",
  202. * type="object",
  203. * @OA\Property(
  204. * property="result",
  205. * description="success or error",
  206. * type="string",
  207. * example="error",
  208. * ),
  209. * @OA\Property(
  210. * property="message",
  211. * description="success message or error message",
  212. * type="string",
  213. * example="User is not authorized",
  214. * ),
  215. * @OA\Property(
  216. * property="data",
  217. * description="data from api",
  218. * type="string",
  219. * example=null,
  220. * ),
  221. * ),
  222. * )
  223. */
  224. /**
  225. * @OA\Schema(
  226. * schema="php-mailer-email-list",
  227. * type="object",
  228. * @OA\Property(
  229. * property="response",
  230. * type="object",
  231. * @OA\Property(
  232. * property="result",
  233. * description="success or error",
  234. * type="string",
  235. * example="success",
  236. * ),
  237. * @OA\Property(
  238. * property="message",
  239. * description="success or error message",
  240. * type="string",
  241. * example=null,
  242. * ),
  243. * @OA\Property(
  244. * property="data",
  245. * description="data from api",
  246. * type="array",
  247. * @OA\Items({
  248. * @OA\Property(
  249. * property="causefx",
  250. * type="string",
  251. * example="causefx@organizr.app",
  252. * )
  253. * })
  254. * ),
  255. * ),
  256. * )
  257. */
  258. /**
  259. * @OA\Schema(
  260. * schema="config-items-example",
  261. * type="object",
  262. * description="list of config items to update",
  263. * @OA\Property(
  264. * property="branch",
  265. * description="config item name",
  266. * type="string",
  267. * example="v2-master",
  268. * ),
  269. * @OA\Property(
  270. * property="hideRegistration",
  271. * type="boolean",
  272. * example=false,
  273. * ),
  274. * @OA\Property(
  275. * property="homepageUnifiAuth",
  276. * type="string",
  277. * example="1",
  278. * ),
  279. * )
  280. */