@kubb/agent 4.27.2 → 4.27.4

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 (383) hide show
  1. package/.output/nitro.json +1 -1
  2. package/.output/server/chunks/nitro/nitro.mjs +64 -62
  3. package/.output/server/chunks/nitro/nitro.mjs.map +1 -1
  4. package/.output/server/chunks/routes/api/health.get.mjs +5 -5
  5. package/.output/server/index.mjs +5 -5
  6. package/.output/server/package.json +1 -10
  7. package/LICENSE +21 -0
  8. package/package.json +17 -17
  9. package/.output/server/node_modules/@redocly/ajv/dist/2020.js +0 -55
  10. package/.output/server/node_modules/@redocly/ajv/dist/ajv.js +0 -50
  11. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/code.js +0 -156
  12. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/index.js +0 -697
  13. package/.output/server/node_modules/@redocly/ajv/dist/compile/codegen/scope.js +0 -143
  14. package/.output/server/node_modules/@redocly/ajv/dist/compile/errors.js +0 -123
  15. package/.output/server/node_modules/@redocly/ajv/dist/compile/index.js +0 -249
  16. package/.output/server/node_modules/@redocly/ajv/dist/compile/names.js +0 -29
  17. package/.output/server/node_modules/@redocly/ajv/dist/compile/ref_error.js +0 -12
  18. package/.output/server/node_modules/@redocly/ajv/dist/compile/resolve.js +0 -155
  19. package/.output/server/node_modules/@redocly/ajv/dist/compile/rules.js +0 -26
  20. package/.output/server/node_modules/@redocly/ajv/dist/compile/util.js +0 -178
  21. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/applicability.js +0 -19
  22. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/boolSchema.js +0 -50
  23. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/dataType.js +0 -203
  24. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/defaults.js +0 -35
  25. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/index.js +0 -534
  26. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/keyword.js +0 -124
  27. package/.output/server/node_modules/@redocly/ajv/dist/compile/validate/subschema.js +0 -81
  28. package/.output/server/node_modules/@redocly/ajv/dist/core.js +0 -632
  29. package/.output/server/node_modules/@redocly/ajv/dist/draft4.js +0 -56
  30. package/.output/server/node_modules/@redocly/ajv/dist/refs/data.json +0 -13
  31. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/index.js +0 -30
  32. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +0 -48
  33. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/content.json +0 -17
  34. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/core.json +0 -51
  35. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +0 -14
  36. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +0 -37
  37. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +0 -15
  38. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/meta/validation.json +0 -90
  39. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-2020-12/schema.json +0 -55
  40. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-04.json +0 -138
  41. package/.output/server/node_modules/@redocly/ajv/dist/refs/json-schema-draft-07.json +0 -151
  42. package/.output/server/node_modules/@redocly/ajv/dist/runtime/equal.js +0 -7
  43. package/.output/server/node_modules/@redocly/ajv/dist/runtime/ucs2length.js +0 -24
  44. package/.output/server/node_modules/@redocly/ajv/dist/runtime/uri.js +0 -6
  45. package/.output/server/node_modules/@redocly/ajv/dist/runtime/validation_error.js +0 -11
  46. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalItems.js +0 -49
  47. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/additionalProperties.js +0 -107
  48. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/allOf.js +0 -23
  49. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/anyOf.js +0 -12
  50. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/contains.js +0 -95
  51. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependencies.js +0 -85
  52. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/dependentSchemas.js +0 -11
  53. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/if.js +0 -66
  54. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/index.js +0 -44
  55. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items.js +0 -52
  56. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/items2020.js +0 -30
  57. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/not.js +0 -26
  58. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/oneOf.js +0 -60
  59. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/patternProperties.js +0 -75
  60. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/prefixItems.js +0 -12
  61. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/properties.js +0 -55
  62. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/propertyNames.js +0 -38
  63. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/applicator/thenElse.js +0 -13
  64. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/code.js +0 -138
  65. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/id.js +0 -10
  66. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/index.js +0 -16
  67. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/core/ref.js +0 -132
  68. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/index.js +0 -139
  69. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/discriminator/types.js +0 -9
  70. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft2020.js +0 -23
  71. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft4.js +0 -29
  72. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/draft7.js +0 -17
  73. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +0 -30
  74. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/dynamicRef.js +0 -51
  75. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/index.js +0 -9
  76. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +0 -16
  77. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/dynamic/recursiveRef.js +0 -10
  78. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/format.js +0 -92
  79. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/format/index.js +0 -6
  80. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/metadata.js +0 -26
  81. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/next.js +0 -8
  82. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/oasContext.js +0 -26
  83. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/index.js +0 -7
  84. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +0 -40
  85. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +0 -84
  86. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/const.js +0 -25
  87. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/dependentRequired.js +0 -12
  88. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumber.js +0 -43
  89. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/draft04/limitNumberExclusive.js +0 -19
  90. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/enum.js +0 -48
  91. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/index.js +0 -37
  92. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitContains.js +0 -15
  93. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitItems.js +0 -24
  94. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitLength.js +0 -27
  95. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitNumber.js +0 -27
  96. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/limitProperties.js +0 -24
  97. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/multipleOf.js +0 -26
  98. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/pattern.js +0 -24
  99. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/readOnly.js +0 -20
  100. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/required.js +0 -86
  101. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/uniqueItems.js +0 -64
  102. package/.output/server/node_modules/@redocly/ajv/dist/vocabularies/validation/writeOnly.js +0 -20
  103. package/.output/server/node_modules/@redocly/ajv/package.json +0 -130
  104. package/.output/server/node_modules/@redocly/config/lib/common.js +0 -90
  105. package/.output/server/node_modules/@redocly/config/lib/constants.js +0 -73
  106. package/.output/server/node_modules/@redocly/config/lib/default-theme-config-schema.js +0 -54
  107. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-config-schema.js +0 -186
  108. package/.output/server/node_modules/@redocly/config/lib/entities-catalog-entity-file-schema.js +0 -283
  109. package/.output/server/node_modules/@redocly/config/lib/ex-theme-config-schemas.js +0 -661
  110. package/.output/server/node_modules/@redocly/config/lib/feedback-config-schema.js +0 -88
  111. package/.output/server/node_modules/@redocly/config/lib/graphql-config-schema.js +0 -157
  112. package/.output/server/node_modules/@redocly/config/lib/index.js +0 -38
  113. package/.output/server/node_modules/@redocly/config/lib/product-override-schema.js +0 -43
  114. package/.output/server/node_modules/@redocly/config/lib/redoc-config-schema.js +0 -120
  115. package/.output/server/node_modules/@redocly/config/lib/reference-docs-config-schema.js +0 -518
  116. package/.output/server/node_modules/@redocly/config/lib/remove-property-recursively.js +0 -25
  117. package/.output/server/node_modules/@redocly/config/lib/reunite-config-schema.js +0 -103
  118. package/.output/server/node_modules/@redocly/config/lib/root-config-schema.js +0 -551
  119. package/.output/server/node_modules/@redocly/config/lib/scorecards-config-schema.js +0 -244
  120. package/.output/server/node_modules/@redocly/config/lib/types/api-functions-types.js +0 -3
  121. package/.output/server/node_modules/@redocly/config/lib/types/catalog-entity-types.js +0 -3
  122. package/.output/server/node_modules/@redocly/config/lib/types/code-walkthrough-types.js +0 -3
  123. package/.output/server/node_modules/@redocly/config/lib/types/config-types.js +0 -3
  124. package/.output/server/node_modules/@redocly/config/lib/types/index.js +0 -21
  125. package/.output/server/node_modules/@redocly/config/lib/types/portal-shared-types.js +0 -18
  126. package/.output/server/node_modules/@redocly/config/package.json +0 -28
  127. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-document.js +0 -85
  128. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle-visitor.js +0 -257
  129. package/.output/server/node_modules/@redocly/openapi-core/lib/bundle/bundle.js +0 -74
  130. package/.output/server/node_modules/@redocly/openapi-core/lib/config/all.js +0 -310
  131. package/.output/server/node_modules/@redocly/openapi-core/lib/config/builtIn.js +0 -58
  132. package/.output/server/node_modules/@redocly/openapi-core/lib/config/bundle-extends.js +0 -27
  133. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config-resolvers.js +0 -335
  134. package/.output/server/node_modules/@redocly/openapi-core/lib/config/config.js +0 -338
  135. package/.output/server/node_modules/@redocly/openapi-core/lib/config/constants.js +0 -13
  136. package/.output/server/node_modules/@redocly/openapi-core/lib/config/get-resolve-config.js +0 -9
  137. package/.output/server/node_modules/@redocly/openapi-core/lib/config/group-assertion-rules.js +0 -51
  138. package/.output/server/node_modules/@redocly/openapi-core/lib/config/index.js +0 -8
  139. package/.output/server/node_modules/@redocly/openapi-core/lib/config/load.js +0 -98
  140. package/.output/server/node_modules/@redocly/openapi-core/lib/config/minimal.js +0 -289
  141. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended-strict.js +0 -289
  142. package/.output/server/node_modules/@redocly/openapi-core/lib/config/recommended.js +0 -289
  143. package/.output/server/node_modules/@redocly/openapi-core/lib/config/rules.js +0 -35
  144. package/.output/server/node_modules/@redocly/openapi-core/lib/config/spec.js +0 -289
  145. package/.output/server/node_modules/@redocly/openapi-core/lib/config/types.js +0 -2
  146. package/.output/server/node_modules/@redocly/openapi-core/lib/config/utils.js +0 -129
  147. package/.output/server/node_modules/@redocly/openapi-core/lib/config/visitors.js +0 -88
  148. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/arazzo/index.js +0 -2
  149. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async2/index.js +0 -2
  150. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/async3/index.js +0 -2
  151. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-helper.js +0 -65
  152. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-in.js +0 -14
  153. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/filters/filter-out.js +0 -14
  154. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-description-override.js +0 -21
  155. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/info-override.js +0 -14
  156. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/media-type-examples-override.js +0 -58
  157. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/operation-description-override.js +0 -27
  158. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/remove-x-internal.js +0 -68
  159. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/common/tag-description-override.js +0 -23
  160. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/index.js +0 -19
  161. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas2/remove-unused-components.js +0 -88
  162. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/index.js +0 -21
  163. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/oas3/remove-unused-components.js +0 -116
  164. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/openrpc/index.js +0 -2
  165. package/.output/server/node_modules/@redocly/openapi-core/lib/decorators/overlay1/index.js +0 -2
  166. package/.output/server/node_modules/@redocly/openapi-core/lib/detect-spec.js +0 -79
  167. package/.output/server/node_modules/@redocly/openapi-core/lib/env.js +0 -5
  168. package/.output/server/node_modules/@redocly/openapi-core/lib/errors/yaml-parse-error.js +0 -14
  169. package/.output/server/node_modules/@redocly/openapi-core/lib/format/codeframes.js +0 -177
  170. package/.output/server/node_modules/@redocly/openapi-core/lib/format/format.js +0 -365
  171. package/.output/server/node_modules/@redocly/openapi-core/lib/index.js +0 -49
  172. package/.output/server/node_modules/@redocly/openapi-core/lib/js-yaml/index.js +0 -11
  173. package/.output/server/node_modules/@redocly/openapi-core/lib/lint-entity.js +0 -171
  174. package/.output/server/node_modules/@redocly/openapi-core/lib/lint.js +0 -123
  175. package/.output/server/node_modules/@redocly/openapi-core/lib/logger.js +0 -56
  176. package/.output/server/node_modules/@redocly/openapi-core/lib/oas-types.js +0 -35
  177. package/.output/server/node_modules/@redocly/openapi-core/lib/ref-utils.js +0 -106
  178. package/.output/server/node_modules/@redocly/openapi-core/lib/resolve.js +0 -326
  179. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/ajv.js +0 -106
  180. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/criteria-unique.js +0 -68
  181. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/index.js +0 -52
  182. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/outputs-defined.js +0 -139
  183. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/parameters-unique.js +0 -27
  184. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/requestBody-replacements-unique.js +0 -30
  185. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescription-type.js +0 -19
  186. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-name-unique.js +0 -21
  187. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/sourceDescriptions-not-empty.js +0 -15
  188. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onFailure-unique.js +0 -27
  189. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/step-onSuccess-unique.js +0 -27
  190. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/stepId-unique.js +0 -23
  191. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflow-dependsOn.js +0 -53
  192. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/arazzo/workflowId-unique.js +0 -19
  193. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/channels-kebab-case.js +0 -16
  194. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/index.js +0 -32
  195. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async2/no-channel-trailing-slash.js +0 -13
  196. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/channels-kebab-case.js +0 -16
  197. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/index.js +0 -32
  198. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/async3/no-channel-trailing-slash.js +0 -13
  199. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/catalog-entity/entity-key-valid.js +0 -39
  200. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/asserts.js +0 -269
  201. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/index.js +0 -22
  202. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/assertions/utils.js +0 -215
  203. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-contact.js +0 -14
  204. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license-strict.js +0 -23
  205. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/info-license.js +0 -14
  206. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-ambiguous-paths.js +0 -42
  207. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-duplicated-tag-names.js +0 -21
  208. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-enum-type-mismatch.js +0 -38
  209. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-http-verbs-in-paths.js +0 -31
  210. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-identical-paths.js +0 -21
  211. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-parameter-examples.js +0 -32
  212. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-invalid-schema-examples.js +0 -34
  213. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-path-trailing-slash.js +0 -13
  214. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-required-schema-properties-undefined.js +0 -78
  215. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-schema-type-mismatch.js +0 -19
  216. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/no-unresolved-refs.js +0 -42
  217. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-2xx-response.js +0 -20
  218. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-4xx-response.js +0 -20
  219. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-description.js +0 -9
  220. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-unique.js +0 -17
  221. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId-url-safe.js +0 -15
  222. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-operationId.js +0 -13
  223. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-parameters-unique.js +0 -37
  224. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-singular-tag.js +0 -13
  225. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-summary.js +0 -9
  226. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/operation-tag-defined.js +0 -27
  227. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/parameter-description.js +0 -19
  228. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-declaration-must-exist.js +0 -13
  229. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-http-verbs-order.js +0 -23
  230. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-not-include-query.js +0 -15
  231. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-params-defined.js +0 -125
  232. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/path-segment-plural.js +0 -30
  233. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/paths-kebab-case.js +0 -17
  234. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/required-string-property-missing-min-length.js +0 -34
  235. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/response-contains-header.js +0 -26
  236. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/scalar-property-missing-example.js +0 -39
  237. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/security-defined.js +0 -62
  238. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/spec-strict-refs.js +0 -27
  239. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/struct.js +0 -150
  240. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tag-description.js +0 -9
  241. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/common/tags-alphabetical.js +0 -18
  242. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/boolean-parameter-prefixes.js +0 -19
  243. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/index.js +0 -93
  244. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/request-mime-type.js +0 -14
  245. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-contains-property.js +0 -34
  246. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas2/response-mime-type.js +0 -14
  247. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/array-parameter-serialization.js +0 -26
  248. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/boolean-parameter-prefixes.js +0 -21
  249. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/component-name-unique.js +0 -130
  250. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/index.js +0 -129
  251. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-empty-servers.js +0 -20
  252. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-example-value-and-externalValue.js +0 -13
  253. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-invalid-media-type-examples.js +0 -59
  254. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-example.com.js +0 -15
  255. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-trailing-slash.js +0 -15
  256. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-server-variables-empty-enum.js +0 -58
  257. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-undefined-server-variable.js +0 -28
  258. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/no-unused-components.js +0 -83
  259. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/nullable-type-sibling.js +0 -15
  260. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/operation-4xx-problem-details-rfc7807.js +0 -33
  261. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/request-mime-type.js +0 -28
  262. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-contains-property.js +0 -36
  263. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/response-mime-type.js +0 -28
  264. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-components-invalid-map-name.js +0 -59
  265. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-discriminator-defaultMapping.js +0 -32
  266. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-example-values.js +0 -31
  267. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-encoding-combinations.js +0 -16
  268. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-no-invalid-tag-parents.js +0 -38
  269. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/oas3/spec-querystring-parameters.js +0 -65
  270. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/index.js +0 -20
  271. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/no-unused-components.js +0 -82
  272. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-duplicated-method-params.js +0 -28
  273. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/openrpc/spec-no-required-params-after-optional.js +0 -31
  274. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/other/stats.js +0 -74
  275. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/overlay1/index.js +0 -12
  276. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-criteria-xpath.js +0 -20
  277. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-both-scheme-and-scheme-name.js +0 -30
  278. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/no-x-security-scheme-name-without-openapi.js +0 -25
  279. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/respect-supported-versions.js +0 -18
  280. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-name-reference.js +0 -35
  281. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/respect/x-security-scheme-required-values.js +0 -60
  282. package/.output/server/node_modules/@redocly/openapi-core/lib/rules/utils.js +0 -172
  283. package/.output/server/node_modules/@redocly/openapi-core/lib/types/arazzo.js +0 -482
  284. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi2.js +0 -1157
  285. package/.output/server/node_modules/@redocly/openapi-core/lib/types/asyncapi3.js +0 -511
  286. package/.output/server/node_modules/@redocly/openapi-core/lib/types/entity.js +0 -32
  287. package/.output/server/node_modules/@redocly/openapi-core/lib/types/index.js +0 -90
  288. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-adapter.js +0 -174
  289. package/.output/server/node_modules/@redocly/openapi-core/lib/types/json-schema-draft7.shared.js +0 -101
  290. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas2.js +0 -454
  291. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3.js +0 -828
  292. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_1.js +0 -292
  293. package/.output/server/node_modules/@redocly/openapi-core/lib/types/oas3_2.js +0 -306
  294. package/.output/server/node_modules/@redocly/openapi-core/lib/types/openrpc.js +0 -360
  295. package/.output/server/node_modules/@redocly/openapi-core/lib/types/overlay.js +0 -61
  296. package/.output/server/node_modules/@redocly/openapi-core/lib/types/redocly-yaml.js +0 -555
  297. package/.output/server/node_modules/@redocly/openapi-core/lib/typings/arazzo.js +0 -3
  298. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/assign-config.js +0 -28
  299. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/dequal.js +0 -36
  300. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/does-yaml-file-exist.js +0 -7
  301. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/error.js +0 -3
  302. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-intersection-length.js +0 -11
  303. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-matching-status-code-range.js +0 -4
  304. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/get-own.js +0 -4
  305. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/identity.js +0 -4
  306. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-custom-rule-id.js +0 -4
  307. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-defined.js +0 -4
  308. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-array.js +0 -4
  309. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-empty-object.js +0 -5
  310. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-array.js +0 -4
  311. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-empty-object.js +0 -6
  312. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-not-string.js +0 -5
  313. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-ordered.js +0 -27
  314. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-path-parameter.js +0 -4
  315. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-plain-object.js +0 -4
  316. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-string.js +0 -4
  317. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/is-truthy.js +0 -4
  318. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/keys-of.js +0 -6
  319. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/make-ref-id.js +0 -4
  320. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/next-tick.js +0 -6
  321. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/oas-has-component.js +0 -4
  322. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/omit.js +0 -8
  323. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pause.js +0 -4
  324. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/pluralize.js +0 -8
  325. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/read-file-from-url.js +0 -26
  326. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/regex-from-string.js +0 -5
  327. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/scorecards.js +0 -99
  328. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/slash.js +0 -11
  329. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/split-camel-case-into-words.js +0 -13
  330. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/stack.js +0 -7
  331. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/validate-mime-type.js +0 -31
  332. package/.output/server/node_modules/@redocly/openapi-core/lib/utils/yaml-fs-helper.js +0 -23
  333. package/.output/server/node_modules/@redocly/openapi-core/lib/visitors.js +0 -177
  334. package/.output/server/node_modules/@redocly/openapi-core/lib/walk.js +0 -303
  335. package/.output/server/node_modules/@redocly/openapi-core/package.json +0 -74
  336. package/.output/server/node_modules/ajv-formats/dist/formats.js +0 -208
  337. package/.output/server/node_modules/ajv-formats/dist/index.js +0 -37
  338. package/.output/server/node_modules/ajv-formats/dist/limit.js +0 -69
  339. package/.output/server/node_modules/ajv-formats/package.json +0 -74
  340. package/.output/server/node_modules/colorette/index.js +0 -82
  341. package/.output/server/node_modules/colorette/package.json +0 -39
  342. package/.output/server/node_modules/js-levenshtein/index.js +0 -105
  343. package/.output/server/node_modules/js-levenshtein/package.json +0 -49
  344. package/.output/server/node_modules/picomatch/index.js +0 -17
  345. package/.output/server/node_modules/picomatch/lib/constants.js +0 -180
  346. package/.output/server/node_modules/picomatch/lib/parse.js +0 -1085
  347. package/.output/server/node_modules/picomatch/lib/picomatch.js +0 -341
  348. package/.output/server/node_modules/picomatch/lib/scan.js +0 -391
  349. package/.output/server/node_modules/picomatch/lib/utils.js +0 -72
  350. package/.output/server/node_modules/picomatch/package.json +0 -83
  351. package/.output/server/node_modules/pluralize/package.json +0 -40
  352. package/.output/server/node_modules/pluralize/pluralize.js +0 -503
  353. package/.output/server/node_modules/yaml-ast-parser/dist/src/common.js +0 -45
  354. package/.output/server/node_modules/yaml-ast-parser/dist/src/dumper.js +0 -644
  355. package/.output/server/node_modules/yaml-ast-parser/dist/src/exception.js +0 -40
  356. package/.output/server/node_modules/yaml-ast-parser/dist/src/index.js +0 -22
  357. package/.output/server/node_modules/yaml-ast-parser/dist/src/loader.js +0 -1416
  358. package/.output/server/node_modules/yaml-ast-parser/dist/src/mark.js +0 -62
  359. package/.output/server/node_modules/yaml-ast-parser/dist/src/scalarInference.js +0 -82
  360. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/core.js +0 -8
  361. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_full.js +0 -14
  362. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/default_safe.js +0 -19
  363. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/failsafe.js +0 -10
  364. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema/json.js +0 -14
  365. package/.output/server/node_modules/yaml-ast-parser/dist/src/schema.js +0 -78
  366. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/binary.js +0 -92
  367. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/bool.js +0 -32
  368. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/float.js +0 -95
  369. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/int.js +0 -155
  370. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/regexp.js +0 -64
  371. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/js/undefined.js +0 -22
  372. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/map.js +0 -7
  373. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/merge.js +0 -10
  374. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/null.js +0 -30
  375. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/omap.js +0 -46
  376. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/pairs.js +0 -55
  377. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/seq.js +0 -7
  378. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/set.js +0 -22
  379. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/str.js +0 -7
  380. package/.output/server/node_modules/yaml-ast-parser/dist/src/type/timestamp.js +0 -70
  381. package/.output/server/node_modules/yaml-ast-parser/dist/src/type.js +0 -54
  382. package/.output/server/node_modules/yaml-ast-parser/dist/src/yamlAST.js +0 -82
  383. package/.output/server/node_modules/yaml-ast-parser/package.json +0 -39
@@ -1,482 +0,0 @@
1
- import { listOf, mapOf } from './index.js';
2
- import { Oas3_2Types } from './oas3_2.js';
3
- const Root = {
4
- properties: {
5
- arazzo: {
6
- type: 'string',
7
- description: 'REQUIRED. This string MUST be the version number of the Arazzo Specification that the Arazzo Description uses. The arazzo field MUST be used by tooling to interpret the Arazzo Description.',
8
- },
9
- info: 'Info',
10
- sourceDescriptions: 'SourceDescriptions',
11
- workflows: 'Workflows',
12
- components: 'Components',
13
- },
14
- required: ['arazzo', 'info', 'sourceDescriptions', 'workflows'],
15
- extensionsPrefix: 'x-',
16
- };
17
- const NamedParameters = {
18
- properties: {},
19
- additionalProperties: 'Parameter',
20
- };
21
- const NamedSuccessActions = {
22
- properties: {},
23
- additionalProperties: 'SuccessActionObject',
24
- };
25
- const NamedFailureActions = {
26
- properties: {},
27
- additionalProperties: 'FailureActionObject',
28
- };
29
- const Components = {
30
- properties: {
31
- inputs: 'NamedInputs',
32
- parameters: 'NamedParameters',
33
- successActions: 'NamedSuccessActions',
34
- failureActions: 'NamedFailureActions',
35
- },
36
- extensionsPrefix: 'x-',
37
- };
38
- const NamedInputs = mapOf('Schema');
39
- const Info = {
40
- properties: {
41
- title: {
42
- type: 'string',
43
- description: 'REQUIRED. A human readable title of the Arazzo Description.',
44
- },
45
- description: {
46
- type: 'string',
47
- description: 'A description of the purpose of the workflows defined. CommonMark syntax MAY be used for rich text representation.',
48
- },
49
- summary: {
50
- type: 'string',
51
- description: 'A short summary of the Arazzo Description.',
52
- },
53
- version: {
54
- type: 'string',
55
- description: 'REQUIRED. The version identifier of the Arazzo document (which is distinct from the Arazzo Specification version).',
56
- },
57
- },
58
- required: ['title', 'version'],
59
- extensionsPrefix: 'x-',
60
- description: 'The object provides metadata about API workflows defined in this Arazzo document. The metadata MAY be used by the clients if needed.',
61
- };
62
- const SourceDescriptions = {
63
- properties: {},
64
- items: (value) => {
65
- if (value?.type === 'openapi') {
66
- return 'OpenAPISourceDescription';
67
- }
68
- else {
69
- return 'ArazzoSourceDescription';
70
- }
71
- },
72
- };
73
- const OpenAPISourceDescription = {
74
- properties: {
75
- name: {
76
- type: 'string',
77
- description: `REQUIRED. A unique name for the source description. Tools and libraries MAY use the name to uniquely identify a source description, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`,
78
- },
79
- type: {
80
- type: 'string',
81
- enum: ['openapi'],
82
- description: 'The type of source description. Possible values are "openapi".',
83
- },
84
- url: {
85
- type: 'string',
86
- description: 'REQUIRED. A URL to a source description to be used by a workflow. If a relative reference is used, it MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.2.',
87
- },
88
- 'x-serverUrl': { type: 'string' },
89
- },
90
- required: ['name', 'type', 'url'],
91
- extensionsPrefix: 'x-',
92
- description: 'Describes a source description (such as an OpenAPI description) that will be referenced by one or more workflows described within an Arazzo Description.',
93
- };
94
- const ArazzoSourceDescription = {
95
- properties: {
96
- name: {
97
- type: 'string',
98
- description: `REQUIRED. A unique name for the source description. Tools and libraries MAY use the name to uniquely identify a source description, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`,
99
- },
100
- type: {
101
- type: 'string',
102
- enum: ['arazzo'],
103
- description: 'The type of source description. Possible values are "arazzo".',
104
- },
105
- url: {
106
- type: 'string',
107
- description: 'REQUIRED. A URL to a source description to be used by a workflow. If a relative reference is used, it MUST be in the form of a URI-reference as defined by [RFC3986] Section 4.2.',
108
- },
109
- },
110
- required: ['name', 'type', 'url'],
111
- extensionsPrefix: 'x-',
112
- description: 'Describes a source description (such as an OpenAPI description) that will be referenced by one or more workflows described within an Arazzo Description.',
113
- };
114
- const ReusableObject = {
115
- properties: {
116
- reference: {
117
- type: 'string',
118
- description: 'REQUIRED. A Runtime Expression used to reference the desired object.',
119
- },
120
- value: {}, // any
121
- },
122
- required: ['reference'],
123
- extensionsPrefix: 'x-',
124
- description: 'A simple object to allow referencing of objects contained within the Components Object. It can be used from locations within steps or workflows in the Arazzo Description. Note - Input Objects MUST use standard JSON Schema referencing via the $ref keyword while all non JSON Schema objects use this object and its expression based referencing mechanism.',
125
- };
126
- const Parameter = {
127
- properties: {
128
- in: {
129
- type: 'string',
130
- enum: ['header', 'query', 'path', 'cookie'],
131
- description: 'The location of the parameter. Possible values are "path", "query", "header", or "cookie". When the step in context specifies a workflowId, then all parameters map to workflow inputs. In all other scenarios (e.g., a step specifies an operationId), the in field MUST be specified.',
132
- },
133
- name: {
134
- type: 'string',
135
- description: 'REQUIRED. The name of the parameter. Parameter names are case sensitive.',
136
- },
137
- value: {}, // any
138
- },
139
- required: ['name', 'value'],
140
- extensionsPrefix: 'x-',
141
- description: 'Describes a single step parameter. A unique parameter is defined by the combination of a name and in fields.',
142
- };
143
- const Parameters = {
144
- properties: {},
145
- items: (value) => {
146
- if (value?.reference) {
147
- return 'ReusableObject';
148
- }
149
- else {
150
- return 'Parameter';
151
- }
152
- },
153
- };
154
- const Workflow = {
155
- properties: {
156
- workflowId: {
157
- type: 'string',
158
- description: 'REQUIRED. The unique identifier of the workflow.',
159
- },
160
- summary: {
161
- type: 'string',
162
- description: 'A short summary of what the workflow does.',
163
- },
164
- description: {
165
- type: 'string',
166
- description: 'A verbose explanation of the workflow behavior. CommonMark syntax MAY be used for rich text representation.',
167
- },
168
- parameters: 'Parameters',
169
- dependsOn: {
170
- type: 'array',
171
- items: { type: 'string' },
172
- description: 'A list of workflows that MUST be completed before this workflow can be processed. Each value provided MUST be a workflowId.',
173
- },
174
- inputs: 'Schema',
175
- outputs: 'Outputs',
176
- steps: 'Steps',
177
- successActions: 'OnSuccessActionList',
178
- failureActions: 'OnFailureActionList',
179
- 'x-security': 'ExtendedSecurityList',
180
- },
181
- required: ['workflowId', 'steps'],
182
- extensionsPrefix: 'x-',
183
- description: 'Describes the steps to be taken across one or more APIs to achieve an objective. The workflow object MAY define inputs needed in order to execute workflow steps, where the defined steps represent a call to an API operation or another workflow, and a set of outputs.',
184
- };
185
- const Workflows = listOf('Workflow');
186
- const Steps = listOf('Step');
187
- const Step = {
188
- properties: {
189
- stepId: {
190
- type: 'string',
191
- description: `REQUIRED. Unique string to represent the step. The stepId MUST be unique amongst all steps described in the workflow. The stepId value is case-sensitive. Tools and libraries MAY use the stepId to uniquely identify a workflow step, therefore, it is RECOMMENDED to follow common programming naming conventions. SHOULD conform to the regular expression [A-Za-z0-9_-]+.`,
192
- },
193
- description: {
194
- type: 'string',
195
- description: 'A description of the step. CommonMark syntax MAY be used for rich text representation.',
196
- },
197
- operationId: {
198
- type: 'string',
199
- description: 'The name of an existing, resolvable operation, as defined with a unique operationId and existing within one of the sourceDescriptions. The referenced operation will be invoked by this workflow step. If multiple (non arazzo type) sourceDescriptions are defined, then the operationId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<operationId>) to avoid ambiguity or potential clashes. This field is mutually exclusive of the operationPath and workflowId fields respectively.',
200
- },
201
- operationPath: {
202
- type: 'string',
203
- description: 'A reference to a Source Description Object combined with a JSON Pointer to reference an operation. This field is mutually exclusive of the operationId and workflowId fields respectively. The operation being referenced MUST be described within one of the sourceDescriptions descriptions. A Runtime Expression syntax MUST be used to identify the source description document. If the referenced operation has an operationId defined then the operationId SHOULD be preferred over the operationPath.',
204
- },
205
- workflowId: {
206
- type: 'string',
207
- description: 'The workflowId referencing an existing workflow within the Arazzo Description. If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. The field is mutually exclusive of the operationId and operationPath fields respectively.',
208
- },
209
- parameters: 'Parameters',
210
- successCriteria: listOf('CriterionObject', {
211
- description: 'A list of assertions to determine the success of the step. Each assertion is described using a Criterion Object. All assertions MUST be satisfied for the step to be deemed successful.',
212
- }),
213
- onSuccess: 'OnSuccessActionList',
214
- onFailure: 'OnFailureActionList',
215
- outputs: 'Outputs',
216
- 'x-operation': 'ExtendedOperation',
217
- 'x-security': 'ExtendedSecurityList',
218
- requestBody: 'RequestBody',
219
- },
220
- required: ['stepId'],
221
- requiredOneOf: ['x-operation', 'operationId', 'operationPath', 'workflowId'],
222
- extensionsPrefix: 'x-',
223
- description: 'Describes a single workflow step which MAY be a call to an API operation (OpenAPI Operation Object) or another Workflow Object.',
224
- };
225
- const Outputs = {
226
- properties: {},
227
- additionalProperties: {
228
- type: 'string',
229
- },
230
- description: 'A map between a friendly name and a dynamic output value defined using a Runtime Expression. The name MUST use keys that match the regular expression: ^[a-zA-Z0-9_.-]+$.',
231
- };
232
- const RequestBody = {
233
- properties: {
234
- contentType: {
235
- type: 'string',
236
- description: 'The Content-Type for the request content. If omitted then refer to Content-Type specified at the targeted operation to understand serialization requirements.',
237
- },
238
- payload: {},
239
- replacements: listOf('Replacement', {
240
- description: 'A list of locations and values to set within a payload.',
241
- }),
242
- },
243
- required: ['payload'],
244
- extensionsPrefix: 'x-',
245
- description: 'A single request body describing the Content-Type and request body content to be passed by a step to an operation.',
246
- };
247
- const Replacement = {
248
- properties: {
249
- target: {
250
- type: 'string',
251
- description: 'REQUIRED. A JSON Pointer or XPath Expression which MUST be resolved against the request body. Used to identify the location to inject the value.',
252
- },
253
- value: {},
254
- },
255
- required: ['target', 'value'],
256
- extensionsPrefix: 'x-',
257
- description: 'Describes a location within a payload (e.g., a request body) and a value to set within the location.',
258
- };
259
- const ExtendedSecurity = {
260
- properties: {
261
- schemeName: {
262
- type: 'string',
263
- description: 'REQUIRED. Name of the security scheme from your OpenAPI specification. Use with operationId or operationPath at the step level.',
264
- },
265
- values: {},
266
- scheme: 'SecurityScheme',
267
- },
268
- required: ['values'],
269
- requiredOneOf: ['schemeName', 'scheme'],
270
- description: 'Use the x-security extension to define authorization flows based on OpenAPI security schemes. Respect automatically constructs appropriate authorization headers, queries, or cookies based on your parameters.',
271
- };
272
- const ExtendedOperation = {
273
- properties: {
274
- url: {
275
- type: 'string',
276
- description: 'REQUIRED. A valid url including the protocol (such as http://localhost:4000/my-api or https://example.com/api/my-api).',
277
- },
278
- method: {
279
- enum: [
280
- 'get',
281
- 'post',
282
- 'put',
283
- 'delete',
284
- 'patch',
285
- 'head',
286
- 'options',
287
- 'trace',
288
- 'connect',
289
- 'query',
290
- 'GET',
291
- 'POST',
292
- 'PUT',
293
- 'DELETE',
294
- 'PATCH',
295
- 'OPTIONS',
296
- 'HEAD',
297
- 'TRACE',
298
- 'CONNECT',
299
- 'QUERY',
300
- ],
301
- description: 'REQUIRED. HTTP operation method. Possible values: GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS, CONNECT, TRACE. You can also use their lowercase equivalents.',
302
- },
303
- },
304
- required: ['url', 'method'],
305
- description: 'x-operation enables you to specify a URL and HTTP method for an operation that is not described in the Arazzo sourceDescriptions section. The primary application of the x-operation extension is to facilitate calls to third-party APIs or other endpoints that are needed in a sequence of API calls.',
306
- };
307
- const CriterionObject = {
308
- properties: {
309
- condition: {
310
- type: 'string',
311
- description: 'REQUIRED. The condition to apply. Conditions can be simple (e.g. $statusCode == 200 which applies an operator on a value obtained from a runtime expression), or a regex, or a JSONPath expression. For regex or JSONPath, the type and context MUST be specified.',
312
- },
313
- context: {
314
- type: 'string',
315
- description: 'A Runtime Expression used to set the context for the condition to be applied on. If type is specified, then the context MUST be provided (e.g. $response.body would set the context that a JSONPath query expression could be applied to).',
316
- },
317
- type: (value) => {
318
- if (!value) {
319
- return undefined;
320
- }
321
- else if (typeof value === 'string') {
322
- return {
323
- enum: ['regex', 'jsonpath', 'simple', 'xpath'],
324
- description: 'The type of condition to be applied.',
325
- };
326
- }
327
- else if (value?.type === 'jsonpath') {
328
- return 'JSONPathCriterion';
329
- }
330
- else {
331
- return 'XPathCriterion';
332
- }
333
- },
334
- },
335
- required: ['condition'],
336
- description: 'An object used to specify the context, conditions, and condition types that can be used to prove or satisfy assertions specified in Step Object successCriteria, Success Action Object criteria, and Failure Action Object criteria.',
337
- };
338
- const JSONPathCriterion = {
339
- properties: {
340
- type: { type: 'string', enum: ['jsonpath'] },
341
- version: { type: 'string', enum: ['draft-goessner-dispatch-jsonpath-00'] },
342
- },
343
- };
344
- const XPathCriterion = {
345
- properties: {
346
- type: { type: 'string', enum: ['xpath'] },
347
- version: { type: 'string', enum: ['xpath-30', 'xpath-20', 'xpath-10'] },
348
- },
349
- };
350
- const SuccessActionObject = {
351
- properties: {
352
- name: {
353
- type: 'string',
354
- description: 'REQUIRED. The name of the success action. Names are case sensitive.',
355
- },
356
- type: {
357
- type: 'string',
358
- enum: ['goto', 'end'],
359
- description: 'REQUIRED. The type of action to take. Possible values are "end" or "goto".',
360
- },
361
- stepId: {
362
- type: 'string',
363
- description: 'The stepId to transfer to upon success of the step. This field is only relevant when the type field value is "goto". The referenced stepId MUST be within the current workflow. This field is mutually exclusive to workflowId.',
364
- },
365
- workflowId: {
366
- type: 'string',
367
- description: 'The workflowId referencing an existing workflow within the Arazzo Description to transfer to upon success of the step. This field is only relevant when the type field value is "goto". If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. This field is mutually exclusive to stepId.',
368
- },
369
- criteria: listOf('CriterionObject', {
370
- description: 'A list of assertions to determine if this action SHALL be executed. Each assertion is described using a Criterion Object. All criteria assertions MUST be satisfied for the action to be executed.',
371
- }),
372
- },
373
- required: ['type', 'name'],
374
- description: 'A single success action which describes an action to take upon success of a workflow step.',
375
- };
376
- const OnSuccessActionList = {
377
- properties: {},
378
- items: (value) => {
379
- if (value?.type && value?.name) {
380
- return 'SuccessActionObject';
381
- }
382
- else {
383
- return 'ReusableObject';
384
- }
385
- },
386
- };
387
- const FailureActionObject = {
388
- properties: {
389
- name: {
390
- type: 'string',
391
- description: 'REQUIRED. The name of the failure action. Names are case sensitive.',
392
- },
393
- type: {
394
- type: 'string',
395
- enum: ['goto', 'retry', 'end'],
396
- description: 'REQUIRED. The type of action to take. Possible values are "end", "retry", or "goto".',
397
- },
398
- workflowId: {
399
- type: 'string',
400
- description: 'The workflowId referencing an existing workflow within the Arazzo Description to transfer to upon failure of the step. This field is only relevant when the type field value is "goto" or "retry". If the referenced workflow is contained within an arazzo type sourceDescription, then the workflowId MUST be specified using a Runtime Expression (e.g., $sourceDescriptions.<name>.<workflowId>) to avoid ambiguity or potential clashes. This field is mutually exclusive to stepId. When used with "retry", context transfers back upon completion of the specified workflow.',
401
- },
402
- stepId: {
403
- type: 'string',
404
- description: 'The stepId to transfer to upon failure of the step. This field is only relevant when the type field value is "goto" or "retry". The referenced stepId MUST be within the current workflow. This field is mutually exclusive to workflowId. When used with "retry", context transfers back upon completion of the specified step.',
405
- },
406
- retryAfter: {
407
- type: 'number',
408
- minimum: 0,
409
- description: 'A non-negative decimal indicating the seconds to delay after the step failure before another attempt SHALL be made. Note: if an HTTP Retry-After response header was returned to a step from a targeted operation, then it SHOULD overrule this particular field value. This field only applies when the type field value is "retry".',
410
- },
411
- retryLimit: {
412
- type: 'number',
413
- minimum: 0,
414
- description: 'A non-negative integer indicating how many attempts to retry the step MAY be attempted before failing the overall step. If not specified then a single retry SHALL be attempted. This field only applies when the type field value is "retry". The retryLimit MUST be exhausted prior to executing subsequent failure actions.',
415
- },
416
- criteria: listOf('CriterionObject', {
417
- description: 'A list of assertions to determine if this action SHALL be executed. Each assertion is described using a Criterion Object.',
418
- }),
419
- },
420
- required: ['type', 'name'],
421
- description: 'A single failure action which describes an action to take upon failure of a workflow step.',
422
- };
423
- const OnFailureActionList = {
424
- properties: {},
425
- items: (value) => {
426
- if (value?.type && value?.name) {
427
- return 'FailureActionObject';
428
- }
429
- else {
430
- return 'ReusableObject';
431
- }
432
- },
433
- };
434
- export const Arazzo1Types = {
435
- Root,
436
- Info,
437
- SourceDescriptions,
438
- OpenAPISourceDescription,
439
- ArazzoSourceDescription,
440
- Parameters,
441
- Parameter,
442
- ReusableObject,
443
- Workflows,
444
- Workflow,
445
- Steps,
446
- Step,
447
- RequestBody,
448
- Replacement,
449
- ExtendedOperation,
450
- ExtendedSecurityList: listOf('ExtendedSecurity'),
451
- ExtendedSecurity,
452
- Outputs,
453
- CriterionObject,
454
- XPathCriterion,
455
- JSONPathCriterion,
456
- SuccessActionObject,
457
- OnSuccessActionList,
458
- FailureActionObject,
459
- OnFailureActionList,
460
- Schema: Oas3_2Types.Schema,
461
- NamedSchemas: mapOf('Schema'),
462
- ExternalDocs: Oas3_2Types.ExternalDocs,
463
- DiscriminatorMapping: Oas3_2Types.DiscriminatorMapping,
464
- Discriminator: Oas3_2Types.Discriminator,
465
- DependentRequired: Oas3_2Types.DependentRequired,
466
- SchemaProperties: Oas3_2Types.SchemaProperties,
467
- PatternProperties: Oas3_2Types.SchemaProperties,
468
- Components,
469
- NamedInputs,
470
- NamedParameters,
471
- NamedSuccessActions,
472
- NamedFailureActions,
473
- Xml: Oas3_2Types.Xml,
474
- SecurityScheme: Oas3_2Types.SecurityScheme,
475
- OAuth2Flows: Oas3_2Types.OAuth2Flows,
476
- ImplicitFlow: Oas3_2Types.ImplicitFlow,
477
- PasswordFlow: Oas3_2Types.PasswordFlow,
478
- ClientCredentials: Oas3_2Types.ClientCredentials,
479
- AuthorizationCode: Oas3_2Types.AuthorizationCode,
480
- DeviceAuthorization: Oas3_2Types.DeviceAuthorization,
481
- };
482
- //# sourceMappingURL=arazzo.js.map