@unispechq/unispec-core 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (306) hide show
  1. package/dist/cjs/diff/annotators.js +36 -9
  2. package/dist/cjs/src/cache/cache-factory.js +72 -0
  3. package/dist/cjs/src/cache/cache-manager.js +128 -0
  4. package/dist/cjs/src/cache/constants.js +25 -0
  5. package/dist/cjs/src/cache/hash-utils.js +19 -0
  6. package/dist/cjs/src/cache/hashing.js +230 -0
  7. package/dist/cjs/src/cache/index.js +24 -0
  8. package/dist/cjs/src/cache/lru-cache.js +144 -0
  9. package/dist/cjs/src/cache/types.js +5 -0
  10. package/dist/cjs/src/diff/annotators.js +160 -0
  11. package/dist/cjs/src/diff/change-reports.js +369 -0
  12. package/dist/cjs/src/diff/core.js +158 -0
  13. package/dist/cjs/src/diff/enhanced-diff.js +65 -0
  14. package/dist/cjs/src/diff/impact-strategies-refactored.js +230 -0
  15. package/dist/cjs/src/diff/impact-strategies.js +219 -0
  16. package/dist/cjs/src/diff/index.js +27 -0
  17. package/dist/cjs/src/diff/metrics-calculator.js +69 -0
  18. package/dist/cjs/src/diff/risk-calculator.js +58 -0
  19. package/dist/cjs/src/diff/suggestion-generator.js +78 -0
  20. package/dist/cjs/src/diff/types.js +11 -0
  21. package/dist/cjs/src/errors/base-error.js +33 -0
  22. package/dist/cjs/src/errors/config-error.js +11 -0
  23. package/dist/cjs/src/errors/error-factory.js +48 -0
  24. package/dist/cjs/src/errors/index.js +19 -0
  25. package/dist/cjs/src/errors/loader-error.js +11 -0
  26. package/dist/cjs/src/errors/reference-error.js +11 -0
  27. package/dist/cjs/src/errors/schema-error.js +11 -0
  28. package/dist/cjs/src/errors/security-error.js +11 -0
  29. package/dist/cjs/src/errors/semantic-error.js +11 -0
  30. package/dist/cjs/src/generated-schemas.js +2100 -0
  31. package/dist/cjs/src/index.js +59 -0
  32. package/dist/cjs/src/loader/index.js +13 -0
  33. package/dist/cjs/src/loader/security-validator.js +53 -0
  34. package/dist/cjs/src/loader/types.js +11 -0
  35. package/dist/cjs/src/loader/unispec-loader.js +84 -0
  36. package/dist/cjs/src/loader/yaml-loader.js +76 -0
  37. package/dist/cjs/src/normalizer/core.js +37 -0
  38. package/dist/cjs/src/normalizer/graphql-normalizer.js +67 -0
  39. package/dist/cjs/src/normalizer/index.js +7 -0
  40. package/dist/cjs/src/normalizer/rest-normalizer.js +51 -0
  41. package/dist/cjs/src/normalizer/types.js +2 -0
  42. package/dist/cjs/src/normalizer/utils.js +49 -0
  43. package/dist/cjs/src/normalizer/websocket-normalizer.js +81 -0
  44. package/dist/cjs/src/optimizer/core.js +140 -0
  45. package/dist/cjs/src/optimizer/index.js +17 -0
  46. package/dist/cjs/src/optimizer/optimization-functions.js +185 -0
  47. package/dist/cjs/src/optimizer/types.js +2 -0
  48. package/dist/cjs/src/optimizer/utils.js +32 -0
  49. package/dist/cjs/src/schemas/dedupe.js +113 -0
  50. package/dist/cjs/src/schemas/index.js +14 -0
  51. package/dist/cjs/src/schemas/resolver.js +42 -0
  52. package/dist/cjs/src/schemas/utils.js +53 -0
  53. package/dist/cjs/src/types/index.js +2 -0
  54. package/dist/cjs/src/validator/ajv-validator.js +82 -0
  55. package/dist/cjs/src/validator/config-validator-main.js +34 -0
  56. package/dist/cjs/src/validator/config-validator.js +17 -0
  57. package/dist/cjs/src/validator/index.js +23 -0
  58. package/dist/cjs/src/validator/object-traversal.js +112 -0
  59. package/dist/cjs/src/validator/reference-validator.js +233 -0
  60. package/dist/cjs/src/validator/schema-references.js +116 -0
  61. package/dist/cjs/src/validator/semantic-validator.js +328 -0
  62. package/dist/cjs/src/validator/tests-validator.js +16 -0
  63. package/dist/cjs/src/validator/types.js +2 -0
  64. package/dist/cjs/src/validator/unispec-validator.js +80 -0
  65. package/dist/cjs/src/validator/validator-factory.js +77 -0
  66. package/dist/cjs/src/versions.js +147 -0
  67. package/dist/cjs/tests/cache/cache.test.js +274 -0
  68. package/dist/cjs/tests/cache/utils.js +32 -0
  69. package/dist/cjs/tests/concurrency-normalizer-optimizer.test.js +1 -0
  70. package/dist/cjs/tests/diff/diff-annotators.test.js +280 -0
  71. package/dist/cjs/tests/diff/diff-comprehensive.test.js +262 -0
  72. package/dist/cjs/tests/diff/diff-extended.test.js +235 -0
  73. package/dist/cjs/tests/diff/diff.test.js +189 -0
  74. package/dist/cjs/tests/diff/utils.js +8 -0
  75. package/dist/cjs/tests/errors/errors-integration.test.js +173 -0
  76. package/dist/cjs/tests/errors/errors.test.js +280 -0
  77. package/dist/cjs/tests/errors/utils.js +7 -0
  78. package/dist/cjs/tests/loader/integration.test.js +216 -0
  79. package/dist/cjs/tests/loader/loader.test.js +341 -0
  80. package/dist/cjs/tests/normalizer/normalizer-comprehensive.test.js +648 -0
  81. package/dist/cjs/tests/normalizer/normalizer-invalid.test.js +258 -0
  82. package/dist/cjs/tests/normalizer/normalizer-valid.test.js +238 -0
  83. package/dist/cjs/tests/normalizer/utils.js +47 -0
  84. package/dist/cjs/tests/optimizer/compress-references.test.js +304 -0
  85. package/dist/cjs/tests/optimizer/deduplication.test.js +132 -0
  86. package/dist/cjs/tests/optimizer/integration.test.js +131 -0
  87. package/dist/cjs/tests/optimizer/optimization-report.test.js +222 -0
  88. package/dist/cjs/tests/optimizer/optimize-document.test.js +187 -0
  89. package/dist/cjs/tests/optimizer/orphaned-schemas.test.js +194 -0
  90. package/dist/cjs/tests/optimizer/sort-schemas.test.js +131 -0
  91. package/dist/cjs/tests/optimizer/utils.js +209 -0
  92. package/dist/cjs/tests/schemas/schemas-edge-cases.test.js +223 -0
  93. package/dist/cjs/tests/schemas/schemas.test.js +400 -0
  94. package/dist/cjs/tests/schemas/utils.js +7 -0
  95. package/dist/cjs/tests/utils.js +131 -0
  96. package/dist/cjs/tests/validator/config-validator.test.js +78 -0
  97. package/dist/cjs/tests/validator/debug-config.js +1 -0
  98. package/dist/cjs/tests/validator/debug-missing-service.js +1 -0
  99. package/dist/cjs/tests/validator/debug-other-configs.js +1 -0
  100. package/dist/cjs/tests/validator/debug-references.js +1 -0
  101. package/dist/cjs/tests/validator/unispec-validator.test.js +103 -0
  102. package/dist/cjs/tests/validator/utils.js +25 -0
  103. package/dist/diff/annotators.js +36 -9
  104. package/dist/src/cache/cache-factory.d.ts +31 -0
  105. package/dist/src/cache/cache-factory.js +65 -0
  106. package/dist/src/cache/cache-manager.d.ts +62 -0
  107. package/dist/src/cache/cache-manager.js +124 -0
  108. package/dist/src/cache/constants.d.ts +21 -0
  109. package/dist/src/cache/constants.js +22 -0
  110. package/dist/src/cache/hash-utils.d.ts +11 -0
  111. package/dist/src/cache/hash-utils.js +15 -0
  112. package/dist/src/cache/hashing.d.ts +28 -0
  113. package/dist/src/cache/hashing.js +193 -0
  114. package/dist/src/cache/index.d.ts +6 -0
  115. package/dist/src/cache/index.js +10 -0
  116. package/dist/src/cache/lru-cache.d.ts +44 -0
  117. package/dist/src/cache/lru-cache.js +140 -0
  118. package/dist/src/cache/types.d.ts +24 -0
  119. package/dist/src/cache/types.js +4 -0
  120. package/dist/src/diff/annotators.d.ts +4 -0
  121. package/dist/src/diff/annotators.js +155 -0
  122. package/dist/src/diff/change-reports.d.ts +37 -0
  123. package/dist/src/diff/change-reports.js +366 -0
  124. package/dist/src/diff/core.d.ts +26 -0
  125. package/dist/src/diff/core.js +155 -0
  126. package/dist/src/diff/enhanced-diff.d.ts +51 -0
  127. package/dist/src/diff/enhanced-diff.js +62 -0
  128. package/dist/src/diff/impact-strategies-refactored.d.ts +69 -0
  129. package/dist/src/diff/impact-strategies-refactored.js +223 -0
  130. package/dist/src/diff/impact-strategies.d.ts +41 -0
  131. package/dist/src/diff/impact-strategies.js +212 -0
  132. package/dist/src/diff/index.d.ts +8 -0
  133. package/dist/src/diff/index.js +11 -0
  134. package/dist/src/diff/metrics-calculator.d.ts +23 -0
  135. package/dist/src/diff/metrics-calculator.js +65 -0
  136. package/dist/src/diff/risk-calculator.d.ts +23 -0
  137. package/dist/src/diff/risk-calculator.js +55 -0
  138. package/dist/src/diff/suggestion-generator.d.ts +18 -0
  139. package/dist/src/diff/suggestion-generator.js +74 -0
  140. package/dist/src/diff/types.d.ts +24 -0
  141. package/dist/src/diff/types.js +8 -0
  142. package/dist/src/errors/base-error.d.ts +20 -0
  143. package/dist/src/errors/base-error.js +29 -0
  144. package/dist/src/errors/config-error.d.ts +4 -0
  145. package/dist/src/errors/config-error.js +7 -0
  146. package/dist/src/errors/error-factory.d.ts +22 -0
  147. package/dist/src/errors/error-factory.js +45 -0
  148. package/dist/src/errors/index.d.ts +8 -0
  149. package/dist/src/errors/index.js +8 -0
  150. package/dist/src/errors/loader-error.d.ts +4 -0
  151. package/dist/src/errors/loader-error.js +7 -0
  152. package/dist/src/errors/reference-error.d.ts +4 -0
  153. package/dist/src/errors/reference-error.js +7 -0
  154. package/dist/src/errors/schema-error.d.ts +4 -0
  155. package/dist/src/errors/schema-error.js +7 -0
  156. package/dist/src/errors/security-error.d.ts +4 -0
  157. package/dist/src/errors/security-error.js +7 -0
  158. package/dist/src/errors/semantic-error.d.ts +4 -0
  159. package/dist/src/errors/semantic-error.js +7 -0
  160. package/dist/src/generated-schemas.d.ts +2073 -0
  161. package/dist/src/generated-schemas.js +2097 -0
  162. package/dist/src/index.d.ts +13 -0
  163. package/dist/src/index.js +43 -0
  164. package/dist/src/loader/index.d.ts +5 -0
  165. package/dist/src/loader/index.js +5 -0
  166. package/dist/src/loader/security-validator.d.ts +5 -0
  167. package/dist/src/loader/security-validator.js +50 -0
  168. package/dist/src/loader/types.d.ts +30 -0
  169. package/dist/src/loader/types.js +8 -0
  170. package/dist/src/loader/unispec-loader.d.ts +10 -0
  171. package/dist/src/loader/unispec-loader.js +81 -0
  172. package/dist/src/loader/yaml-loader.d.ts +10 -0
  173. package/dist/src/loader/yaml-loader.js +39 -0
  174. package/dist/src/normalizer/core.d.ts +24 -0
  175. package/dist/src/normalizer/core.js +34 -0
  176. package/dist/src/normalizer/graphql-normalizer.d.ts +8 -0
  177. package/dist/src/normalizer/graphql-normalizer.js +64 -0
  178. package/dist/src/normalizer/index.d.ts +2 -0
  179. package/dist/src/normalizer/index.js +3 -0
  180. package/dist/src/normalizer/rest-normalizer.d.ts +8 -0
  181. package/dist/src/normalizer/rest-normalizer.js +48 -0
  182. package/dist/src/normalizer/types.d.ts +7 -0
  183. package/dist/src/normalizer/types.js +1 -0
  184. package/dist/src/normalizer/utils.d.ts +17 -0
  185. package/dist/src/normalizer/utils.js +45 -0
  186. package/dist/src/normalizer/websocket-normalizer.d.ts +8 -0
  187. package/dist/src/normalizer/websocket-normalizer.js +78 -0
  188. package/dist/src/optimizer/core.d.ts +17 -0
  189. package/dist/src/optimizer/core.js +136 -0
  190. package/dist/src/optimizer/index.d.ts +4 -0
  191. package/dist/src/optimizer/index.js +7 -0
  192. package/dist/src/optimizer/optimization-functions.d.ts +32 -0
  193. package/dist/src/optimizer/optimization-functions.js +179 -0
  194. package/dist/src/optimizer/types.d.ts +28 -0
  195. package/dist/src/optimizer/types.js +1 -0
  196. package/dist/src/optimizer/utils.d.ts +7 -0
  197. package/dist/src/optimizer/utils.js +29 -0
  198. package/dist/src/schemas/dedupe.d.ts +9 -0
  199. package/dist/src/schemas/dedupe.js +110 -0
  200. package/dist/src/schemas/index.d.ts +3 -0
  201. package/dist/src/schemas/index.js +6 -0
  202. package/dist/src/schemas/resolver.d.ts +19 -0
  203. package/dist/src/schemas/resolver.js +38 -0
  204. package/dist/src/schemas/utils.d.ts +20 -0
  205. package/dist/src/schemas/utils.js +49 -0
  206. package/dist/src/types/index.d.ts +434 -0
  207. package/dist/src/types/index.js +1 -0
  208. package/dist/src/validator/ajv-validator.d.ts +15 -0
  209. package/dist/src/validator/ajv-validator.js +75 -0
  210. package/dist/src/validator/config-validator-main.d.ts +10 -0
  211. package/dist/src/validator/config-validator-main.js +31 -0
  212. package/dist/src/validator/config-validator.d.ts +5 -0
  213. package/dist/src/validator/config-validator.js +14 -0
  214. package/dist/src/validator/index.d.ts +10 -0
  215. package/dist/src/validator/index.js +11 -0
  216. package/dist/src/validator/object-traversal.d.ts +52 -0
  217. package/dist/src/validator/object-traversal.js +104 -0
  218. package/dist/src/validator/reference-validator.d.ts +31 -0
  219. package/dist/src/validator/reference-validator.js +230 -0
  220. package/dist/src/validator/schema-references.d.ts +23 -0
  221. package/dist/src/validator/schema-references.js +111 -0
  222. package/dist/src/validator/semantic-validator.d.ts +26 -0
  223. package/dist/src/validator/semantic-validator.js +325 -0
  224. package/dist/src/validator/tests-validator.d.ts +9 -0
  225. package/dist/src/validator/tests-validator.js +13 -0
  226. package/dist/src/validator/types.d.ts +29 -0
  227. package/dist/src/validator/types.js +1 -0
  228. package/dist/src/validator/unispec-validator.d.ts +15 -0
  229. package/dist/src/validator/unispec-validator.js +77 -0
  230. package/dist/src/validator/validator-factory.d.ts +10 -0
  231. package/dist/src/validator/validator-factory.js +73 -0
  232. package/dist/src/versions.d.ts +10 -0
  233. package/dist/src/versions.js +143 -0
  234. package/dist/tests/cache/cache.test.d.ts +1 -0
  235. package/dist/tests/cache/cache.test.js +269 -0
  236. package/dist/tests/cache/utils.d.ts +4 -0
  237. package/dist/tests/cache/utils.js +24 -0
  238. package/dist/tests/concurrency-normalizer-optimizer.test.d.ts +0 -0
  239. package/dist/tests/concurrency-normalizer-optimizer.test.js +1 -0
  240. package/dist/tests/diff/diff-annotators.test.d.ts +1 -0
  241. package/dist/tests/diff/diff-annotators.test.js +275 -0
  242. package/dist/tests/diff/diff-comprehensive.test.d.ts +1 -0
  243. package/dist/tests/diff/diff-comprehensive.test.js +257 -0
  244. package/dist/tests/diff/diff-extended.test.d.ts +1 -0
  245. package/dist/tests/diff/diff-extended.test.js +230 -0
  246. package/dist/tests/diff/diff.test.d.ts +1 -0
  247. package/dist/tests/diff/diff.test.js +184 -0
  248. package/dist/tests/diff/utils.d.ts +2 -0
  249. package/dist/tests/diff/utils.js +3 -0
  250. package/dist/tests/errors/errors-integration.test.d.ts +1 -0
  251. package/dist/tests/errors/errors-integration.test.js +168 -0
  252. package/dist/tests/errors/errors.test.d.ts +1 -0
  253. package/dist/tests/errors/errors.test.js +275 -0
  254. package/dist/tests/errors/utils.d.ts +2 -0
  255. package/dist/tests/errors/utils.js +3 -0
  256. package/dist/tests/loader/integration.test.d.ts +1 -0
  257. package/dist/tests/loader/integration.test.js +211 -0
  258. package/dist/tests/loader/loader.test.d.ts +1 -0
  259. package/dist/tests/loader/loader.test.js +336 -0
  260. package/dist/tests/normalizer/normalizer-comprehensive.test.d.ts +1 -0
  261. package/dist/tests/normalizer/normalizer-comprehensive.test.js +643 -0
  262. package/dist/tests/normalizer/normalizer-invalid.test.d.ts +1 -0
  263. package/dist/tests/normalizer/normalizer-invalid.test.js +253 -0
  264. package/dist/tests/normalizer/normalizer-valid.test.d.ts +1 -0
  265. package/dist/tests/normalizer/normalizer-valid.test.js +233 -0
  266. package/dist/tests/normalizer/utils.d.ts +18 -0
  267. package/dist/tests/normalizer/utils.js +36 -0
  268. package/dist/tests/optimizer/compress-references.test.d.ts +1 -0
  269. package/dist/tests/optimizer/compress-references.test.js +299 -0
  270. package/dist/tests/optimizer/deduplication.test.d.ts +1 -0
  271. package/dist/tests/optimizer/deduplication.test.js +127 -0
  272. package/dist/tests/optimizer/integration.test.d.ts +1 -0
  273. package/dist/tests/optimizer/integration.test.js +126 -0
  274. package/dist/tests/optimizer/optimization-report.test.d.ts +1 -0
  275. package/dist/tests/optimizer/optimization-report.test.js +217 -0
  276. package/dist/tests/optimizer/optimize-document.test.d.ts +1 -0
  277. package/dist/tests/optimizer/optimize-document.test.js +182 -0
  278. package/dist/tests/optimizer/orphaned-schemas.test.d.ts +1 -0
  279. package/dist/tests/optimizer/orphaned-schemas.test.js +189 -0
  280. package/dist/tests/optimizer/sort-schemas.test.d.ts +1 -0
  281. package/dist/tests/optimizer/sort-schemas.test.js +126 -0
  282. package/dist/tests/optimizer/utils.d.ts +8 -0
  283. package/dist/tests/optimizer/utils.js +199 -0
  284. package/dist/tests/schemas/schemas-edge-cases.test.d.ts +1 -0
  285. package/dist/tests/schemas/schemas-edge-cases.test.js +218 -0
  286. package/dist/tests/schemas/schemas.test.d.ts +1 -0
  287. package/dist/tests/schemas/schemas.test.js +395 -0
  288. package/dist/tests/schemas/utils.d.ts +2 -0
  289. package/dist/tests/schemas/utils.js +3 -0
  290. package/dist/tests/utils.d.ts +10 -0
  291. package/dist/tests/utils.js +118 -0
  292. package/dist/tests/validator/config-validator.test.d.ts +1 -0
  293. package/dist/tests/validator/config-validator.test.js +73 -0
  294. package/dist/tests/validator/debug-config.d.ts +0 -0
  295. package/dist/tests/validator/debug-config.js +1 -0
  296. package/dist/tests/validator/debug-missing-service.d.ts +0 -0
  297. package/dist/tests/validator/debug-missing-service.js +1 -0
  298. package/dist/tests/validator/debug-other-configs.d.ts +0 -0
  299. package/dist/tests/validator/debug-other-configs.js +1 -0
  300. package/dist/tests/validator/debug-references.d.ts +0 -0
  301. package/dist/tests/validator/debug-references.js +1 -0
  302. package/dist/tests/validator/unispec-validator.test.d.ts +1 -0
  303. package/dist/tests/validator/unispec-validator.test.js +98 -0
  304. package/dist/tests/validator/utils.d.ts +6 -0
  305. package/dist/tests/validator/utils.js +20 -0
  306. package/package.json +4 -3
@@ -0,0 +1,2073 @@
1
+ export declare const GENERATED_SCHEMAS: {
2
+ unispec: {
3
+ $schema: string;
4
+ $id: string;
5
+ title: string;
6
+ description: string;
7
+ type: string;
8
+ required: string[];
9
+ properties: {
10
+ unispecVersion: {
11
+ type: string;
12
+ description: string;
13
+ };
14
+ service: {
15
+ $ref: string;
16
+ };
17
+ };
18
+ additionalProperties: boolean;
19
+ };
20
+ unispecTests: {
21
+ $schema: string;
22
+ $id: string;
23
+ title: string;
24
+ description: string;
25
+ type: string;
26
+ required: string[];
27
+ properties: {
28
+ uniSpecTestsVersion: {
29
+ type: string;
30
+ description: string;
31
+ };
32
+ target: {
33
+ type: string;
34
+ description: string;
35
+ required: string[];
36
+ properties: {
37
+ serviceName: {
38
+ type: string;
39
+ description: string;
40
+ };
41
+ serviceVersion: {
42
+ type: string;
43
+ description: string;
44
+ };
45
+ environment: {
46
+ type: string;
47
+ description: string;
48
+ };
49
+ };
50
+ additionalProperties: boolean;
51
+ };
52
+ tests: {
53
+ type: string;
54
+ description: string;
55
+ items: {
56
+ $ref: string;
57
+ };
58
+ };
59
+ loadTesting: {
60
+ type: string;
61
+ description: string;
62
+ properties: {
63
+ concurrentUsers: {
64
+ type: string;
65
+ minimum: number;
66
+ description: string;
67
+ };
68
+ duration: {
69
+ type: string;
70
+ description: string;
71
+ };
72
+ rampUp: {
73
+ type: string;
74
+ description: string;
75
+ };
76
+ thresholds: {
77
+ type: string;
78
+ description: string;
79
+ properties: {
80
+ responseTime: {
81
+ type: string;
82
+ description: string;
83
+ };
84
+ errorRate: {
85
+ type: string;
86
+ minimum: number;
87
+ maximum: number;
88
+ description: string;
89
+ };
90
+ throughput: {
91
+ type: string;
92
+ description: string;
93
+ };
94
+ };
95
+ additionalProperties: boolean;
96
+ };
97
+ scenario: {
98
+ type: string;
99
+ description: string;
100
+ properties: {
101
+ weight: {
102
+ type: string;
103
+ description: string;
104
+ additionalProperties: {
105
+ type: string;
106
+ minimum: number;
107
+ };
108
+ };
109
+ thinkTime: {
110
+ type: string;
111
+ description: string;
112
+ };
113
+ };
114
+ additionalProperties: boolean;
115
+ };
116
+ };
117
+ additionalProperties: boolean;
118
+ };
119
+ };
120
+ $defs: {
121
+ TestCase: {
122
+ type: string;
123
+ required: string[];
124
+ properties: {
125
+ name: {
126
+ type: string;
127
+ description: string;
128
+ };
129
+ description: {
130
+ type: string;
131
+ description: string;
132
+ };
133
+ target: {
134
+ $ref: string;
135
+ };
136
+ request: {
137
+ $ref: string;
138
+ };
139
+ expect: {
140
+ $ref: string;
141
+ };
142
+ tags: {
143
+ type: string;
144
+ description: string;
145
+ items: {
146
+ type: string;
147
+ };
148
+ };
149
+ };
150
+ additionalProperties: boolean;
151
+ };
152
+ TestTarget: {
153
+ type: string;
154
+ required: string[];
155
+ properties: {
156
+ protocol: {
157
+ type: string;
158
+ description: string;
159
+ enum: string[];
160
+ };
161
+ operationId: {
162
+ type: string;
163
+ description: string;
164
+ };
165
+ environment: {
166
+ type: string;
167
+ description: string;
168
+ };
169
+ };
170
+ additionalProperties: boolean;
171
+ };
172
+ TestRequest: {
173
+ type: string;
174
+ description: string;
175
+ properties: {
176
+ rest: {
177
+ $ref: string;
178
+ };
179
+ graphql: {
180
+ $ref: string;
181
+ };
182
+ websocket: {
183
+ $ref: string;
184
+ };
185
+ };
186
+ additionalProperties: boolean;
187
+ };
188
+ TestExpect: {
189
+ type: string;
190
+ description: string;
191
+ properties: {
192
+ rest: {
193
+ $ref: string;
194
+ };
195
+ graphql: {
196
+ $ref: string;
197
+ };
198
+ websocket: {
199
+ $ref: string;
200
+ };
201
+ };
202
+ additionalProperties: boolean;
203
+ };
204
+ RestRequest: {
205
+ type: string;
206
+ properties: {
207
+ params: {
208
+ type: string;
209
+ properties: {
210
+ path: {
211
+ type: string;
212
+ additionalProperties: boolean;
213
+ };
214
+ query: {
215
+ type: string;
216
+ additionalProperties: boolean;
217
+ };
218
+ };
219
+ additionalProperties: boolean;
220
+ };
221
+ headers: {
222
+ type: string;
223
+ additionalProperties: boolean;
224
+ };
225
+ body: {
226
+ description: string;
227
+ };
228
+ authProfile: {
229
+ type: string;
230
+ description: string;
231
+ };
232
+ };
233
+ additionalProperties: boolean;
234
+ };
235
+ RestExpect: {
236
+ type: string;
237
+ required: string[];
238
+ properties: {
239
+ status: {
240
+ description: string;
241
+ oneOf: ({
242
+ type: string;
243
+ items?: undefined;
244
+ } | {
245
+ type: string;
246
+ items: {
247
+ type: string;
248
+ };
249
+ })[];
250
+ };
251
+ headers: {
252
+ type: string;
253
+ description: string;
254
+ additionalProperties: boolean;
255
+ };
256
+ body: {
257
+ $ref: string;
258
+ };
259
+ };
260
+ additionalProperties: boolean;
261
+ };
262
+ BodyExpectation: {
263
+ type: string;
264
+ properties: {
265
+ mode: {
266
+ type: string;
267
+ enum: string[];
268
+ description: string;
269
+ };
270
+ json: {
271
+ description: string;
272
+ };
273
+ schemaRef: {
274
+ type: string;
275
+ description: string;
276
+ };
277
+ };
278
+ additionalProperties: boolean;
279
+ };
280
+ GraphQLRequest: {
281
+ type: string;
282
+ properties: {
283
+ operationName: {
284
+ type: string;
285
+ };
286
+ query: {
287
+ type: string;
288
+ };
289
+ variables: {
290
+ type: string;
291
+ additionalProperties: boolean;
292
+ };
293
+ headers: {
294
+ type: string;
295
+ additionalProperties: boolean;
296
+ };
297
+ authProfile: {
298
+ type: string;
299
+ description: string;
300
+ };
301
+ };
302
+ required: string[];
303
+ additionalProperties: boolean;
304
+ };
305
+ GraphQLExpect: {
306
+ type: string;
307
+ properties: {
308
+ data: {
309
+ description: string;
310
+ };
311
+ errors: {
312
+ description: string;
313
+ };
314
+ bodyMode: {
315
+ type: string;
316
+ description: string;
317
+ };
318
+ };
319
+ additionalProperties: boolean;
320
+ };
321
+ WebSocketRequest: {
322
+ type: string;
323
+ properties: {
324
+ channel: {
325
+ type: string;
326
+ description: string;
327
+ };
328
+ direction: {
329
+ type: string;
330
+ enum: string[];
331
+ };
332
+ messages: {
333
+ type: string;
334
+ description: string;
335
+ items: {
336
+ $ref: string;
337
+ };
338
+ };
339
+ authProfile: {
340
+ type: string;
341
+ description: string;
342
+ };
343
+ };
344
+ required: string[];
345
+ additionalProperties: boolean;
346
+ };
347
+ WebSocketMessageAction: {
348
+ type: string;
349
+ required: string[];
350
+ properties: {
351
+ type: {
352
+ type: string;
353
+ enum: string[];
354
+ description: string;
355
+ };
356
+ messageName: {
357
+ type: string;
358
+ description: string;
359
+ };
360
+ payload: {
361
+ description: string;
362
+ };
363
+ };
364
+ additionalProperties: boolean;
365
+ };
366
+ WebSocketExpect: {
367
+ type: string;
368
+ properties: {
369
+ messages: {
370
+ type: string;
371
+ description: string;
372
+ items: {
373
+ $ref: string;
374
+ };
375
+ };
376
+ timeoutMs: {
377
+ type: string;
378
+ description: string;
379
+ };
380
+ };
381
+ additionalProperties: boolean;
382
+ };
383
+ };
384
+ additionalProperties: boolean;
385
+ };
386
+ unispecConfig: {
387
+ $schema: string;
388
+ $id: string;
389
+ title: string;
390
+ description: string;
391
+ type: string;
392
+ required: string[];
393
+ properties: {
394
+ version: {
395
+ type: string;
396
+ description: string;
397
+ minimum: number;
398
+ };
399
+ services: {
400
+ type: string;
401
+ description: string;
402
+ items: {
403
+ $ref: string;
404
+ };
405
+ minItems: number;
406
+ };
407
+ discovery: {
408
+ $ref: string;
409
+ };
410
+ environments: {
411
+ type: string;
412
+ description: string;
413
+ items: {
414
+ $ref: string;
415
+ };
416
+ };
417
+ };
418
+ $defs: {
419
+ ServiceEntry: {
420
+ type: string;
421
+ required: string[];
422
+ properties: {
423
+ name: {
424
+ $ref: string;
425
+ };
426
+ baseUrl: {
427
+ type: string;
428
+ description: string;
429
+ };
430
+ spec: {
431
+ $ref: string;
432
+ };
433
+ health: {
434
+ $ref: string;
435
+ };
436
+ discovery: {
437
+ $ref: string;
438
+ };
439
+ headers: {
440
+ type: string;
441
+ description: string;
442
+ items: {
443
+ $ref: string;
444
+ };
445
+ };
446
+ security: {
447
+ type: string;
448
+ description: string;
449
+ items: {
450
+ $ref: string;
451
+ };
452
+ };
453
+ };
454
+ additionalProperties: boolean;
455
+ };
456
+ SpecReference: {
457
+ description: string;
458
+ oneOf: ({
459
+ type: string;
460
+ description: string;
461
+ $ref?: undefined;
462
+ } | {
463
+ $ref: string;
464
+ type?: undefined;
465
+ description?: undefined;
466
+ })[];
467
+ };
468
+ HttpSpecReference: {
469
+ type: string;
470
+ required: string[];
471
+ properties: {
472
+ type: {
473
+ const: string;
474
+ };
475
+ url: {
476
+ type: string;
477
+ description: string;
478
+ };
479
+ path: {
480
+ type: string;
481
+ description: string;
482
+ };
483
+ };
484
+ oneOf: {
485
+ required: string[];
486
+ }[];
487
+ additionalProperties: boolean;
488
+ };
489
+ FileSpecReference: {
490
+ type: string;
491
+ required: string[];
492
+ properties: {
493
+ type: {
494
+ const: string;
495
+ };
496
+ path: {
497
+ type: string;
498
+ description: string;
499
+ };
500
+ };
501
+ additionalProperties: boolean;
502
+ };
503
+ RegistrySpecReference: {
504
+ type: string;
505
+ required: string[];
506
+ properties: {
507
+ type: {
508
+ const: string;
509
+ };
510
+ ref: {
511
+ type: string;
512
+ description: string;
513
+ };
514
+ };
515
+ additionalProperties: boolean;
516
+ };
517
+ Health: {
518
+ type: string;
519
+ required: string[];
520
+ properties: {
521
+ path: {
522
+ type: string;
523
+ description: string;
524
+ };
525
+ };
526
+ additionalProperties: boolean;
527
+ };
528
+ Discovery: {
529
+ type: string;
530
+ properties: {
531
+ dnsTemplate: {
532
+ type: string;
533
+ description: string;
534
+ };
535
+ };
536
+ additionalProperties: boolean;
537
+ };
538
+ Environment: {
539
+ type: string;
540
+ required: string[];
541
+ properties: {
542
+ name: {
543
+ type: string;
544
+ description: string;
545
+ };
546
+ overrides: {
547
+ $ref: string;
548
+ };
549
+ observability: {
550
+ $ref: string;
551
+ };
552
+ deployment: {
553
+ $ref: string;
554
+ };
555
+ dataResidency: {
556
+ type: string;
557
+ description: string;
558
+ };
559
+ audit: {
560
+ $ref: string;
561
+ };
562
+ };
563
+ additionalProperties: boolean;
564
+ };
565
+ EnvironmentOverrides: {
566
+ type: string;
567
+ properties: {
568
+ services: {
569
+ type: string;
570
+ description: string;
571
+ additionalProperties: {
572
+ $ref: string;
573
+ };
574
+ };
575
+ };
576
+ additionalProperties: boolean;
577
+ };
578
+ ServiceOverride: {
579
+ type: string;
580
+ properties: {
581
+ baseUrl: {
582
+ type: string;
583
+ description: string;
584
+ };
585
+ spec: {
586
+ $ref: string;
587
+ };
588
+ health: {
589
+ $ref: string;
590
+ };
591
+ discovery: {
592
+ $ref: string;
593
+ };
594
+ headers: {
595
+ type: string;
596
+ description: string;
597
+ items: {
598
+ $ref: string;
599
+ };
600
+ };
601
+ security: {
602
+ type: string;
603
+ description: string;
604
+ items: {
605
+ $ref: string;
606
+ };
607
+ };
608
+ };
609
+ additionalProperties: boolean;
610
+ };
611
+ Header: {
612
+ type: string;
613
+ required: string[];
614
+ properties: {
615
+ name: {
616
+ type: string;
617
+ description: string;
618
+ };
619
+ description: {
620
+ type: string;
621
+ description: string;
622
+ };
623
+ required: {
624
+ type: string;
625
+ description: string;
626
+ default: boolean;
627
+ };
628
+ defaultValue: {
629
+ type: string;
630
+ description: string;
631
+ };
632
+ };
633
+ additionalProperties: boolean;
634
+ };
635
+ SecurityRequirement: {
636
+ type: string;
637
+ description: string;
638
+ items: {
639
+ $ref: string;
640
+ };
641
+ };
642
+ Observability: {
643
+ type: string;
644
+ description: string;
645
+ properties: {
646
+ logging: {
647
+ type: string;
648
+ properties: {
649
+ level: {
650
+ type: string;
651
+ enum: string[];
652
+ description: string;
653
+ };
654
+ format: {
655
+ type: string;
656
+ enum: string[];
657
+ description: string;
658
+ };
659
+ fields: {
660
+ type: string;
661
+ items: {
662
+ type: string;
663
+ };
664
+ description: string;
665
+ };
666
+ };
667
+ additionalProperties: boolean;
668
+ };
669
+ metrics: {
670
+ type: string;
671
+ properties: {
672
+ enabled: {
673
+ type: string;
674
+ description: string;
675
+ };
676
+ endpoints: {
677
+ type: string;
678
+ items: {
679
+ type: string;
680
+ };
681
+ description: string;
682
+ };
683
+ customMetrics: {
684
+ type: string;
685
+ items: {
686
+ $ref: string;
687
+ };
688
+ description: string;
689
+ };
690
+ };
691
+ additionalProperties: boolean;
692
+ };
693
+ tracing: {
694
+ type: string;
695
+ properties: {
696
+ enabled: {
697
+ type: string;
698
+ description: string;
699
+ };
700
+ samplingRate: {
701
+ type: string;
702
+ minimum: number;
703
+ maximum: number;
704
+ description: string;
705
+ };
706
+ exporter: {
707
+ type: string;
708
+ description: string;
709
+ };
710
+ };
711
+ additionalProperties: boolean;
712
+ };
713
+ };
714
+ additionalProperties: boolean;
715
+ };
716
+ CustomMetric: {
717
+ type: string;
718
+ properties: {
719
+ name: {
720
+ type: string;
721
+ description: string;
722
+ };
723
+ type: {
724
+ type: string;
725
+ enum: string[];
726
+ description: string;
727
+ };
728
+ description: {
729
+ type: string;
730
+ description: string;
731
+ };
732
+ labels: {
733
+ type: string;
734
+ items: {
735
+ type: string;
736
+ };
737
+ description: string;
738
+ };
739
+ };
740
+ required: string[];
741
+ additionalProperties: boolean;
742
+ };
743
+ Deployment: {
744
+ type: string;
745
+ description: string;
746
+ properties: {
747
+ kubernetes: {
748
+ $ref: string;
749
+ };
750
+ docker: {
751
+ $ref: string;
752
+ };
753
+ replicas: {
754
+ type: string;
755
+ minimum: number;
756
+ description: string;
757
+ };
758
+ resources: {
759
+ $ref: string;
760
+ };
761
+ };
762
+ additionalProperties: boolean;
763
+ };
764
+ KubernetesConfig: {
765
+ type: string;
766
+ properties: {
767
+ namespace: {
768
+ type: string;
769
+ description: string;
770
+ };
771
+ image: {
772
+ type: string;
773
+ description: string;
774
+ };
775
+ port: {
776
+ type: string;
777
+ description: string;
778
+ };
779
+ serviceType: {
780
+ type: string;
781
+ enum: string[];
782
+ description: string;
783
+ };
784
+ ingress: {
785
+ type: string;
786
+ properties: {
787
+ host: {
788
+ type: string;
789
+ description: string;
790
+ };
791
+ path: {
792
+ type: string;
793
+ description: string;
794
+ };
795
+ tls: {
796
+ type: string;
797
+ description: string;
798
+ };
799
+ };
800
+ additionalProperties: boolean;
801
+ };
802
+ };
803
+ additionalProperties: boolean;
804
+ };
805
+ DockerConfig: {
806
+ type: string;
807
+ properties: {
808
+ image: {
809
+ type: string;
810
+ description: string;
811
+ };
812
+ port: {
813
+ type: string;
814
+ description: string;
815
+ };
816
+ environment: {
817
+ type: string;
818
+ additionalProperties: {
819
+ type: string;
820
+ };
821
+ description: string;
822
+ };
823
+ volumes: {
824
+ type: string;
825
+ items: {
826
+ type: string;
827
+ };
828
+ description: string;
829
+ };
830
+ };
831
+ additionalProperties: boolean;
832
+ };
833
+ Resources: {
834
+ type: string;
835
+ properties: {
836
+ cpu: {
837
+ type: string;
838
+ description: string;
839
+ };
840
+ memory: {
841
+ type: string;
842
+ description: string;
843
+ };
844
+ storage: {
845
+ type: string;
846
+ description: string;
847
+ };
848
+ };
849
+ additionalProperties: boolean;
850
+ };
851
+ Audit: {
852
+ type: string;
853
+ description: string;
854
+ properties: {
855
+ enabled: {
856
+ type: string;
857
+ description: string;
858
+ };
859
+ retention: {
860
+ type: string;
861
+ description: string;
862
+ };
863
+ fields: {
864
+ type: string;
865
+ items: {
866
+ type: string;
867
+ };
868
+ description: string;
869
+ };
870
+ export: {
871
+ type: string;
872
+ properties: {
873
+ format: {
874
+ type: string;
875
+ enum: string[];
876
+ description: string;
877
+ };
878
+ destination: {
879
+ type: string;
880
+ description: string;
881
+ };
882
+ };
883
+ additionalProperties: boolean;
884
+ };
885
+ };
886
+ additionalProperties: boolean;
887
+ };
888
+ };
889
+ additionalProperties: boolean;
890
+ };
891
+ subschemas: ({
892
+ $schema: string;
893
+ $id: string;
894
+ title: string;
895
+ $defs: {
896
+ Identifier: {
897
+ type: string;
898
+ description: string;
899
+ pattern: string;
900
+ };
901
+ Description: {
902
+ type: string;
903
+ description: string;
904
+ };
905
+ Email: {
906
+ type: string;
907
+ description: string;
908
+ format: string;
909
+ pattern: string;
910
+ };
911
+ Url: {
912
+ type: string;
913
+ description: string;
914
+ format: string;
915
+ pattern: string;
916
+ };
917
+ Version: {
918
+ type: string;
919
+ description: string;
920
+ pattern: string;
921
+ };
922
+ Tag: {
923
+ type: string;
924
+ description: string;
925
+ pattern: string;
926
+ };
927
+ SecurityScheme: {
928
+ type: string;
929
+ discriminator: {
930
+ propertyName: string;
931
+ };
932
+ oneOf: {
933
+ $ref: string;
934
+ }[];
935
+ };
936
+ ApiKeyScheme: {
937
+ type: string;
938
+ properties: {
939
+ type: {
940
+ const: string;
941
+ };
942
+ name: {
943
+ type: string;
944
+ description: string;
945
+ };
946
+ in: {
947
+ type: string;
948
+ enum: string[];
949
+ description: string;
950
+ };
951
+ description: {
952
+ type: string;
953
+ description: string;
954
+ };
955
+ };
956
+ required: string[];
957
+ additionalProperties: boolean;
958
+ };
959
+ HttpScheme: {
960
+ type: string;
961
+ properties: {
962
+ type: {
963
+ const: string;
964
+ };
965
+ scheme: {
966
+ type: string;
967
+ enum: string[];
968
+ description: string;
969
+ };
970
+ bearerFormat: {
971
+ type: string;
972
+ description: string;
973
+ };
974
+ description: {
975
+ type: string;
976
+ description: string;
977
+ };
978
+ };
979
+ required: string[];
980
+ additionalProperties: boolean;
981
+ };
982
+ OAuth2Scheme: {
983
+ type: string;
984
+ properties: {
985
+ type: {
986
+ const: string;
987
+ };
988
+ flows: {
989
+ type: string;
990
+ description: string;
991
+ properties: {
992
+ authorizationCode: {
993
+ $ref: string;
994
+ };
995
+ clientCredentials: {
996
+ $ref: string;
997
+ };
998
+ implicit: {
999
+ $ref: string;
1000
+ };
1001
+ };
1002
+ additionalProperties: boolean;
1003
+ };
1004
+ description: {
1005
+ type: string;
1006
+ description: string;
1007
+ };
1008
+ };
1009
+ required: string[];
1010
+ additionalProperties: boolean;
1011
+ };
1012
+ JwtScheme: {
1013
+ type: string;
1014
+ properties: {
1015
+ type: {
1016
+ const: string;
1017
+ };
1018
+ issuer: {
1019
+ type: string;
1020
+ description: string;
1021
+ };
1022
+ audience: {
1023
+ type: string;
1024
+ items: {
1025
+ type: string;
1026
+ };
1027
+ description: string;
1028
+ };
1029
+ algorithms: {
1030
+ type: string;
1031
+ items: {
1032
+ type: string;
1033
+ };
1034
+ description: string;
1035
+ };
1036
+ description: {
1037
+ type: string;
1038
+ description: string;
1039
+ };
1040
+ };
1041
+ required: string[];
1042
+ additionalProperties: boolean;
1043
+ };
1044
+ OAuth2Flow: {
1045
+ type: string;
1046
+ properties: {
1047
+ authorizationUrl: {
1048
+ type: string;
1049
+ format: string;
1050
+ description: string;
1051
+ };
1052
+ tokenUrl: {
1053
+ type: string;
1054
+ format: string;
1055
+ description: string;
1056
+ };
1057
+ refreshUrl: {
1058
+ type: string;
1059
+ format: string;
1060
+ description: string;
1061
+ };
1062
+ scopes: {
1063
+ type: string;
1064
+ description: string;
1065
+ additionalProperties: {
1066
+ type: string;
1067
+ };
1068
+ };
1069
+ };
1070
+ required: string[];
1071
+ additionalProperties: boolean;
1072
+ };
1073
+ Argument?: undefined;
1074
+ SecurityRequirement?: undefined;
1075
+ Header?: undefined;
1076
+ Operation?: undefined;
1077
+ Route?: undefined;
1078
+ Parameter?: undefined;
1079
+ MediaType?: undefined;
1080
+ Content?: undefined;
1081
+ RequestBody?: undefined;
1082
+ Response?: undefined;
1083
+ ResponseHeader?: undefined;
1084
+ SchemaDefinition?: undefined;
1085
+ Message?: undefined;
1086
+ Channel?: undefined;
1087
+ };
1088
+ type?: undefined;
1089
+ properties?: undefined;
1090
+ additionalProperties?: undefined;
1091
+ description?: undefined;
1092
+ required?: undefined;
1093
+ } | {
1094
+ $schema: string;
1095
+ $id: string;
1096
+ title: string;
1097
+ type: string;
1098
+ $defs: {
1099
+ Argument: {
1100
+ type: string;
1101
+ required: string[];
1102
+ properties: {
1103
+ name: {
1104
+ type: string;
1105
+ description: string;
1106
+ };
1107
+ type: {
1108
+ type: string;
1109
+ description: string;
1110
+ };
1111
+ description: {
1112
+ type: string;
1113
+ description: string;
1114
+ };
1115
+ defaultValue: {
1116
+ description: string;
1117
+ };
1118
+ deprecated: {
1119
+ type: string;
1120
+ description: string;
1121
+ default: boolean;
1122
+ };
1123
+ deprecationReason: {
1124
+ type: string;
1125
+ description: string;
1126
+ };
1127
+ };
1128
+ additionalProperties: boolean;
1129
+ };
1130
+ SecurityRequirement: {
1131
+ type: string;
1132
+ description: string;
1133
+ items: {
1134
+ $ref: string;
1135
+ };
1136
+ };
1137
+ Header: {
1138
+ type: string;
1139
+ required: string[];
1140
+ properties: {
1141
+ name: {
1142
+ type: string;
1143
+ description: string;
1144
+ };
1145
+ description: {
1146
+ type: string;
1147
+ description: string;
1148
+ };
1149
+ required: {
1150
+ type: string;
1151
+ description: string;
1152
+ default: boolean;
1153
+ };
1154
+ defaultValue: {
1155
+ type: string;
1156
+ description: string;
1157
+ };
1158
+ };
1159
+ additionalProperties: boolean;
1160
+ };
1161
+ Operation: {
1162
+ type: string;
1163
+ required: string[];
1164
+ properties: {
1165
+ name: {
1166
+ $ref: string;
1167
+ };
1168
+ description: {
1169
+ $ref: string;
1170
+ };
1171
+ tags: {
1172
+ type: string;
1173
+ description: string;
1174
+ items: {
1175
+ $ref: string;
1176
+ };
1177
+ };
1178
+ deprecated: {
1179
+ type: string;
1180
+ description: string;
1181
+ default: boolean;
1182
+ };
1183
+ deprecationReason: {
1184
+ type: string;
1185
+ description: string;
1186
+ };
1187
+ args: {
1188
+ type: string;
1189
+ description: string;
1190
+ items: {
1191
+ $ref: string;
1192
+ };
1193
+ };
1194
+ returnType: {
1195
+ type: string;
1196
+ description: string;
1197
+ };
1198
+ headers: {
1199
+ type: string;
1200
+ description: string;
1201
+ items: {
1202
+ $ref: string;
1203
+ };
1204
+ };
1205
+ security: {
1206
+ type: string;
1207
+ description: string;
1208
+ items: {
1209
+ $ref: string;
1210
+ };
1211
+ };
1212
+ };
1213
+ additionalProperties: boolean;
1214
+ };
1215
+ Identifier?: undefined;
1216
+ Description?: undefined;
1217
+ Email?: undefined;
1218
+ Url?: undefined;
1219
+ Version?: undefined;
1220
+ Tag?: undefined;
1221
+ SecurityScheme?: undefined;
1222
+ ApiKeyScheme?: undefined;
1223
+ HttpScheme?: undefined;
1224
+ OAuth2Scheme?: undefined;
1225
+ JwtScheme?: undefined;
1226
+ OAuth2Flow?: undefined;
1227
+ Route?: undefined;
1228
+ Parameter?: undefined;
1229
+ MediaType?: undefined;
1230
+ Content?: undefined;
1231
+ RequestBody?: undefined;
1232
+ Response?: undefined;
1233
+ ResponseHeader?: undefined;
1234
+ SchemaDefinition?: undefined;
1235
+ Message?: undefined;
1236
+ Channel?: undefined;
1237
+ };
1238
+ properties: {
1239
+ url: {
1240
+ type: string;
1241
+ description: string;
1242
+ };
1243
+ schema: {
1244
+ type: string;
1245
+ description: string;
1246
+ };
1247
+ securitySchemes: {
1248
+ type: string;
1249
+ description: string;
1250
+ additionalProperties: {
1251
+ type: string;
1252
+ description: string;
1253
+ additionalProperties: boolean;
1254
+ $ref?: undefined;
1255
+ };
1256
+ };
1257
+ headers: {
1258
+ type: string;
1259
+ description: string;
1260
+ items: {
1261
+ $ref: string;
1262
+ };
1263
+ };
1264
+ queries: {
1265
+ type: string;
1266
+ description: string;
1267
+ items: {
1268
+ $ref: string;
1269
+ };
1270
+ };
1271
+ mutations: {
1272
+ type: string;
1273
+ description: string;
1274
+ items: {
1275
+ $ref: string;
1276
+ };
1277
+ };
1278
+ subscriptions: {
1279
+ type: string;
1280
+ description: string;
1281
+ items: {
1282
+ $ref: string;
1283
+ };
1284
+ };
1285
+ routes?: undefined;
1286
+ name?: undefined;
1287
+ description?: undefined;
1288
+ version?: undefined;
1289
+ tags?: undefined;
1290
+ baseUrl?: undefined;
1291
+ contact?: undefined;
1292
+ license?: undefined;
1293
+ servers?: undefined;
1294
+ protocols?: undefined;
1295
+ schemas?: undefined;
1296
+ rateLimit?: undefined;
1297
+ compliance?: undefined;
1298
+ dataClassification?: undefined;
1299
+ channels?: undefined;
1300
+ };
1301
+ additionalProperties: boolean;
1302
+ description?: undefined;
1303
+ required?: undefined;
1304
+ } | {
1305
+ $schema: string;
1306
+ $id: string;
1307
+ title: string;
1308
+ type: string;
1309
+ $defs: {
1310
+ Route: {
1311
+ type: string;
1312
+ required: string[];
1313
+ properties: {
1314
+ name: {
1315
+ $ref: string;
1316
+ };
1317
+ summary: {
1318
+ type: string;
1319
+ description: string;
1320
+ };
1321
+ tags: {
1322
+ type: string;
1323
+ description: string;
1324
+ items: {
1325
+ $ref: string;
1326
+ };
1327
+ };
1328
+ deprecated: {
1329
+ type: string;
1330
+ description: string;
1331
+ default: boolean;
1332
+ };
1333
+ deprecationReason: {
1334
+ type: string;
1335
+ description: string;
1336
+ };
1337
+ description: {
1338
+ $ref: string;
1339
+ };
1340
+ path: {
1341
+ type: string;
1342
+ description: string;
1343
+ };
1344
+ method: {
1345
+ type: string;
1346
+ description: string;
1347
+ enum: string[];
1348
+ };
1349
+ pathParams: {
1350
+ type: string;
1351
+ description: string;
1352
+ items: {
1353
+ $ref: string;
1354
+ };
1355
+ };
1356
+ queryParams: {
1357
+ type: string;
1358
+ description: string;
1359
+ items: {
1360
+ $ref: string;
1361
+ };
1362
+ };
1363
+ headers: {
1364
+ type: string;
1365
+ description: string;
1366
+ items: {
1367
+ $ref: string;
1368
+ };
1369
+ };
1370
+ requestBody: {
1371
+ $ref: string;
1372
+ };
1373
+ responses: {
1374
+ type: string;
1375
+ description: string;
1376
+ additionalProperties: {
1377
+ $ref: string;
1378
+ };
1379
+ };
1380
+ security: {
1381
+ type: string;
1382
+ description: string;
1383
+ items: {
1384
+ $ref: string;
1385
+ };
1386
+ };
1387
+ };
1388
+ additionalProperties: boolean;
1389
+ };
1390
+ SecurityRequirement: {
1391
+ type: string;
1392
+ description: string;
1393
+ items: {
1394
+ $ref: string;
1395
+ };
1396
+ };
1397
+ Parameter: {
1398
+ type: string;
1399
+ required: string[];
1400
+ properties: {
1401
+ name: {
1402
+ type: string;
1403
+ description: string;
1404
+ };
1405
+ description: {
1406
+ $ref: string;
1407
+ };
1408
+ required: {
1409
+ type: string;
1410
+ description: string;
1411
+ default: boolean;
1412
+ };
1413
+ schemaRef: {
1414
+ type: string;
1415
+ description: string;
1416
+ };
1417
+ };
1418
+ additionalProperties: boolean;
1419
+ };
1420
+ MediaType: {
1421
+ type: string;
1422
+ properties: {
1423
+ schemaRef: {
1424
+ type: string;
1425
+ description: string;
1426
+ };
1427
+ };
1428
+ additionalProperties: boolean;
1429
+ };
1430
+ Content: {
1431
+ type: string;
1432
+ description: string;
1433
+ additionalProperties: {
1434
+ $ref: string;
1435
+ };
1436
+ };
1437
+ RequestBody: {
1438
+ type: string;
1439
+ properties: {
1440
+ description: {
1441
+ $ref: string;
1442
+ };
1443
+ required: {
1444
+ type: string;
1445
+ description: string;
1446
+ default: boolean;
1447
+ };
1448
+ content: {
1449
+ $ref: string;
1450
+ };
1451
+ };
1452
+ additionalProperties: boolean;
1453
+ };
1454
+ Response: {
1455
+ type: string;
1456
+ properties: {
1457
+ description: {
1458
+ $ref: string;
1459
+ };
1460
+ headers: {
1461
+ type: string;
1462
+ description: string;
1463
+ items: {
1464
+ $ref: string;
1465
+ };
1466
+ };
1467
+ content: {
1468
+ $ref: string;
1469
+ };
1470
+ };
1471
+ additionalProperties: boolean;
1472
+ };
1473
+ ResponseHeader: {
1474
+ type: string;
1475
+ required: string[];
1476
+ properties: {
1477
+ name: {
1478
+ type: string;
1479
+ description: string;
1480
+ };
1481
+ description: {
1482
+ type: string;
1483
+ description: string;
1484
+ };
1485
+ required: {
1486
+ type: string;
1487
+ description: string;
1488
+ default: boolean;
1489
+ };
1490
+ schemaRef: {
1491
+ type: string;
1492
+ description: string;
1493
+ };
1494
+ };
1495
+ additionalProperties: boolean;
1496
+ };
1497
+ Identifier?: undefined;
1498
+ Description?: undefined;
1499
+ Email?: undefined;
1500
+ Url?: undefined;
1501
+ Version?: undefined;
1502
+ Tag?: undefined;
1503
+ SecurityScheme?: undefined;
1504
+ ApiKeyScheme?: undefined;
1505
+ HttpScheme?: undefined;
1506
+ OAuth2Scheme?: undefined;
1507
+ JwtScheme?: undefined;
1508
+ OAuth2Flow?: undefined;
1509
+ Argument?: undefined;
1510
+ Header?: undefined;
1511
+ Operation?: undefined;
1512
+ SchemaDefinition?: undefined;
1513
+ Message?: undefined;
1514
+ Channel?: undefined;
1515
+ };
1516
+ properties: {
1517
+ headers: {
1518
+ type: string;
1519
+ description: string;
1520
+ items: {
1521
+ $ref: string;
1522
+ };
1523
+ };
1524
+ routes: {
1525
+ type: string;
1526
+ description: string;
1527
+ items: {
1528
+ $ref: string;
1529
+ };
1530
+ };
1531
+ securitySchemes: {
1532
+ type: string;
1533
+ description: string;
1534
+ additionalProperties: {
1535
+ type: string;
1536
+ description: string;
1537
+ additionalProperties: boolean;
1538
+ $ref?: undefined;
1539
+ };
1540
+ };
1541
+ url?: undefined;
1542
+ schema?: undefined;
1543
+ queries?: undefined;
1544
+ mutations?: undefined;
1545
+ subscriptions?: undefined;
1546
+ name?: undefined;
1547
+ description?: undefined;
1548
+ version?: undefined;
1549
+ tags?: undefined;
1550
+ baseUrl?: undefined;
1551
+ contact?: undefined;
1552
+ license?: undefined;
1553
+ servers?: undefined;
1554
+ protocols?: undefined;
1555
+ schemas?: undefined;
1556
+ rateLimit?: undefined;
1557
+ compliance?: undefined;
1558
+ dataClassification?: undefined;
1559
+ channels?: undefined;
1560
+ };
1561
+ additionalProperties: boolean;
1562
+ description?: undefined;
1563
+ required?: undefined;
1564
+ } | {
1565
+ $schema: string;
1566
+ $id: string;
1567
+ title: string;
1568
+ description: string;
1569
+ type: string;
1570
+ additionalProperties: {
1571
+ $ref: string;
1572
+ };
1573
+ $defs: {
1574
+ SchemaDefinition: {
1575
+ type: string;
1576
+ description: string;
1577
+ properties: {
1578
+ description: {
1579
+ $ref: string;
1580
+ };
1581
+ deprecated: {
1582
+ type: string;
1583
+ description: string;
1584
+ default: boolean;
1585
+ };
1586
+ deprecationReason: {
1587
+ type: string;
1588
+ description: string;
1589
+ };
1590
+ examples: {
1591
+ type: string;
1592
+ description: string;
1593
+ items: {
1594
+ description: string;
1595
+ };
1596
+ };
1597
+ jsonSchema: {
1598
+ type: string;
1599
+ description: string;
1600
+ additionalProperties: boolean;
1601
+ };
1602
+ validation: {
1603
+ type: string;
1604
+ description: string;
1605
+ properties: {
1606
+ strict: {
1607
+ type: string;
1608
+ description: string;
1609
+ default: boolean;
1610
+ };
1611
+ additionalProperties: {
1612
+ type: string;
1613
+ description: string;
1614
+ default: boolean;
1615
+ };
1616
+ customValidators: {
1617
+ type: string;
1618
+ items: {
1619
+ type: string;
1620
+ properties: {
1621
+ name: {
1622
+ type: string;
1623
+ description: string;
1624
+ };
1625
+ rule: {
1626
+ type: string;
1627
+ description: string;
1628
+ };
1629
+ message: {
1630
+ type: string;
1631
+ description: string;
1632
+ };
1633
+ };
1634
+ required: string[];
1635
+ additionalProperties: boolean;
1636
+ };
1637
+ description: string;
1638
+ };
1639
+ };
1640
+ additionalProperties: boolean;
1641
+ };
1642
+ };
1643
+ required: string[];
1644
+ additionalProperties: boolean;
1645
+ };
1646
+ Identifier?: undefined;
1647
+ Description?: undefined;
1648
+ Email?: undefined;
1649
+ Url?: undefined;
1650
+ Version?: undefined;
1651
+ Tag?: undefined;
1652
+ SecurityScheme?: undefined;
1653
+ ApiKeyScheme?: undefined;
1654
+ HttpScheme?: undefined;
1655
+ OAuth2Scheme?: undefined;
1656
+ JwtScheme?: undefined;
1657
+ OAuth2Flow?: undefined;
1658
+ Argument?: undefined;
1659
+ SecurityRequirement?: undefined;
1660
+ Header?: undefined;
1661
+ Operation?: undefined;
1662
+ Route?: undefined;
1663
+ Parameter?: undefined;
1664
+ MediaType?: undefined;
1665
+ Content?: undefined;
1666
+ RequestBody?: undefined;
1667
+ Response?: undefined;
1668
+ ResponseHeader?: undefined;
1669
+ Message?: undefined;
1670
+ Channel?: undefined;
1671
+ };
1672
+ properties?: undefined;
1673
+ required?: undefined;
1674
+ } | {
1675
+ $schema: string;
1676
+ $id: string;
1677
+ title: string;
1678
+ type: string;
1679
+ required: string[];
1680
+ properties: {
1681
+ name: {
1682
+ $ref: string;
1683
+ };
1684
+ description: {
1685
+ $ref: string;
1686
+ };
1687
+ version: {
1688
+ $ref: string;
1689
+ };
1690
+ tags: {
1691
+ type: string;
1692
+ description: string;
1693
+ items: {
1694
+ $ref: string;
1695
+ };
1696
+ };
1697
+ baseUrl: {
1698
+ $ref: string;
1699
+ description: string;
1700
+ };
1701
+ contact: {
1702
+ type: string;
1703
+ description: string;
1704
+ properties: {
1705
+ name: {
1706
+ type: string;
1707
+ description: string;
1708
+ };
1709
+ email: {
1710
+ $ref: string;
1711
+ };
1712
+ url: {
1713
+ $ref: string;
1714
+ };
1715
+ };
1716
+ additionalProperties: boolean;
1717
+ };
1718
+ license: {
1719
+ type: string;
1720
+ description: string;
1721
+ properties: {
1722
+ name: {
1723
+ type: string;
1724
+ description: string;
1725
+ };
1726
+ url: {
1727
+ $ref: string;
1728
+ };
1729
+ };
1730
+ additionalProperties: boolean;
1731
+ };
1732
+ servers: {
1733
+ type: string;
1734
+ description: string;
1735
+ items: {
1736
+ type: string;
1737
+ properties: {
1738
+ url: {
1739
+ $ref: string;
1740
+ };
1741
+ description: {
1742
+ type: string;
1743
+ description: string;
1744
+ };
1745
+ };
1746
+ additionalProperties: boolean;
1747
+ };
1748
+ };
1749
+ protocols: {
1750
+ type: string;
1751
+ description: string;
1752
+ properties: {
1753
+ rest: {
1754
+ $ref: string;
1755
+ };
1756
+ graphql: {
1757
+ $ref: string;
1758
+ };
1759
+ websocket: {
1760
+ $ref: string;
1761
+ };
1762
+ };
1763
+ additionalProperties: boolean;
1764
+ };
1765
+ schemas: {
1766
+ $ref: string;
1767
+ };
1768
+ securitySchemes: {
1769
+ type: string;
1770
+ description: string;
1771
+ additionalProperties: {
1772
+ $ref: string;
1773
+ type?: undefined;
1774
+ description?: undefined;
1775
+ additionalProperties?: undefined;
1776
+ };
1777
+ };
1778
+ rateLimit: {
1779
+ type: string;
1780
+ description: string;
1781
+ properties: {
1782
+ requestsPerMinute: {
1783
+ type: string;
1784
+ minimum: number;
1785
+ description: string;
1786
+ };
1787
+ requestsPerHour: {
1788
+ type: string;
1789
+ minimum: number;
1790
+ description: string;
1791
+ };
1792
+ requestsPerDay: {
1793
+ type: string;
1794
+ minimum: number;
1795
+ description: string;
1796
+ };
1797
+ burstLimit: {
1798
+ type: string;
1799
+ minimum: number;
1800
+ description: string;
1801
+ };
1802
+ perUser: {
1803
+ type: string;
1804
+ description: string;
1805
+ default: boolean;
1806
+ };
1807
+ perApiKey: {
1808
+ type: string;
1809
+ description: string;
1810
+ default: boolean;
1811
+ };
1812
+ customKey: {
1813
+ type: string;
1814
+ description: string;
1815
+ };
1816
+ };
1817
+ additionalProperties: boolean;
1818
+ };
1819
+ compliance: {
1820
+ type: string;
1821
+ description: string;
1822
+ items: {
1823
+ type: string;
1824
+ enum: string[];
1825
+ };
1826
+ };
1827
+ dataClassification: {
1828
+ type: string;
1829
+ description: string;
1830
+ enum: string[];
1831
+ };
1832
+ url?: undefined;
1833
+ schema?: undefined;
1834
+ headers?: undefined;
1835
+ queries?: undefined;
1836
+ mutations?: undefined;
1837
+ subscriptions?: undefined;
1838
+ routes?: undefined;
1839
+ channels?: undefined;
1840
+ };
1841
+ additionalProperties: boolean;
1842
+ $defs?: undefined;
1843
+ description?: undefined;
1844
+ } | {
1845
+ $schema: string;
1846
+ $id: string;
1847
+ title: string;
1848
+ type: string;
1849
+ $defs: {
1850
+ Message: {
1851
+ type: string;
1852
+ required: string[];
1853
+ properties: {
1854
+ name: {
1855
+ $ref: string;
1856
+ };
1857
+ description: {
1858
+ $ref: string;
1859
+ };
1860
+ direction: {
1861
+ type: string;
1862
+ description: string;
1863
+ enum: string[];
1864
+ default: string;
1865
+ };
1866
+ deprecated: {
1867
+ type: string;
1868
+ description: string;
1869
+ default: boolean;
1870
+ };
1871
+ deprecationReason: {
1872
+ type: string;
1873
+ description: string;
1874
+ };
1875
+ schemaRef: {
1876
+ type: string;
1877
+ description: string;
1878
+ };
1879
+ };
1880
+ additionalProperties: boolean;
1881
+ };
1882
+ Header: {
1883
+ type: string;
1884
+ required: string[];
1885
+ properties: {
1886
+ name: {
1887
+ type: string;
1888
+ description: string;
1889
+ };
1890
+ description: {
1891
+ type: string;
1892
+ description: string;
1893
+ };
1894
+ required: {
1895
+ type: string;
1896
+ description: string;
1897
+ default: boolean;
1898
+ };
1899
+ defaultValue: {
1900
+ type: string;
1901
+ description: string;
1902
+ };
1903
+ };
1904
+ additionalProperties: boolean;
1905
+ };
1906
+ SecurityRequirement: {
1907
+ type: string;
1908
+ description: string;
1909
+ items: {
1910
+ $ref: string;
1911
+ };
1912
+ };
1913
+ Channel: {
1914
+ type: string;
1915
+ required: string[];
1916
+ properties: {
1917
+ name: {
1918
+ $ref: string;
1919
+ };
1920
+ description: {
1921
+ $ref: string;
1922
+ };
1923
+ tags: {
1924
+ type: string;
1925
+ description: string;
1926
+ items: {
1927
+ $ref: string;
1928
+ };
1929
+ };
1930
+ namespace: {
1931
+ type: string;
1932
+ description: string;
1933
+ };
1934
+ direction: {
1935
+ type: string;
1936
+ description: string;
1937
+ enum: string[];
1938
+ default: string;
1939
+ };
1940
+ connectionParams: {
1941
+ type: string;
1942
+ description: string;
1943
+ additionalProperties: {
1944
+ type: string;
1945
+ description: string;
1946
+ };
1947
+ };
1948
+ reconnectStrategy: {
1949
+ type: string;
1950
+ description: string;
1951
+ properties: {
1952
+ maxAttempts: {
1953
+ type: string;
1954
+ description: string;
1955
+ minimum: number;
1956
+ default: number;
1957
+ };
1958
+ delay: {
1959
+ type: string;
1960
+ description: string;
1961
+ minimum: number;
1962
+ default: number;
1963
+ };
1964
+ backoffMultiplier: {
1965
+ type: string;
1966
+ description: string;
1967
+ minimum: number;
1968
+ default: number;
1969
+ };
1970
+ };
1971
+ additionalProperties: boolean;
1972
+ };
1973
+ headers: {
1974
+ type: string;
1975
+ description: string;
1976
+ items: {
1977
+ $ref: string;
1978
+ };
1979
+ };
1980
+ messages: {
1981
+ type: string;
1982
+ description: string;
1983
+ items: {
1984
+ $ref: string;
1985
+ };
1986
+ };
1987
+ security: {
1988
+ type: string;
1989
+ description: string;
1990
+ items: {
1991
+ $ref: string;
1992
+ };
1993
+ };
1994
+ };
1995
+ additionalProperties: boolean;
1996
+ };
1997
+ Identifier?: undefined;
1998
+ Description?: undefined;
1999
+ Email?: undefined;
2000
+ Url?: undefined;
2001
+ Version?: undefined;
2002
+ Tag?: undefined;
2003
+ SecurityScheme?: undefined;
2004
+ ApiKeyScheme?: undefined;
2005
+ HttpScheme?: undefined;
2006
+ OAuth2Scheme?: undefined;
2007
+ JwtScheme?: undefined;
2008
+ OAuth2Flow?: undefined;
2009
+ Argument?: undefined;
2010
+ Operation?: undefined;
2011
+ Route?: undefined;
2012
+ Parameter?: undefined;
2013
+ MediaType?: undefined;
2014
+ Content?: undefined;
2015
+ RequestBody?: undefined;
2016
+ Response?: undefined;
2017
+ ResponseHeader?: undefined;
2018
+ SchemaDefinition?: undefined;
2019
+ };
2020
+ properties: {
2021
+ headers: {
2022
+ type: string;
2023
+ description: string;
2024
+ items: {
2025
+ $ref: string;
2026
+ };
2027
+ };
2028
+ url: {
2029
+ type: string;
2030
+ description: string;
2031
+ };
2032
+ channels: {
2033
+ type: string;
2034
+ description: string;
2035
+ items: {
2036
+ $ref: string;
2037
+ };
2038
+ };
2039
+ securitySchemes: {
2040
+ type: string;
2041
+ description: string;
2042
+ additionalProperties: {
2043
+ type: string;
2044
+ description: string;
2045
+ additionalProperties: boolean;
2046
+ $ref?: undefined;
2047
+ };
2048
+ };
2049
+ schema?: undefined;
2050
+ queries?: undefined;
2051
+ mutations?: undefined;
2052
+ subscriptions?: undefined;
2053
+ routes?: undefined;
2054
+ name?: undefined;
2055
+ description?: undefined;
2056
+ version?: undefined;
2057
+ tags?: undefined;
2058
+ baseUrl?: undefined;
2059
+ contact?: undefined;
2060
+ license?: undefined;
2061
+ servers?: undefined;
2062
+ protocols?: undefined;
2063
+ schemas?: undefined;
2064
+ rateLimit?: undefined;
2065
+ compliance?: undefined;
2066
+ dataClassification?: undefined;
2067
+ };
2068
+ additionalProperties: boolean;
2069
+ description?: undefined;
2070
+ required?: undefined;
2071
+ })[];
2072
+ };
2073
+ export declare const SCHEMA_IDS: string[];