@tsed/schema 7.83.3 → 8.0.0-alpha.10

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 (694) hide show
  1. package/lib/browser/schema.umd.min.js +1 -1
  2. package/lib/browser/schema.umd.min.js.map +1 -1
  3. package/lib/esm/components/async-api/channelsMapper.js.map +1 -1
  4. package/lib/esm/components/async-api/generate.js.map +1 -1
  5. package/lib/esm/components/async-api/messageMapper.js.map +1 -1
  6. package/lib/esm/components/async-api/payloadMapper.js.map +1 -1
  7. package/lib/esm/components/async-api/responseMapper.js.map +1 -1
  8. package/lib/esm/components/default/anyMapper.js.map +1 -1
  9. package/lib/esm/components/default/classMapper.js.map +1 -1
  10. package/lib/esm/components/default/genericsMapper.js.map +1 -1
  11. package/lib/esm/components/default/inheritedClassMapper.js.map +1 -1
  12. package/lib/esm/components/default/inlineEnumsMapper.js.map +1 -1
  13. package/lib/esm/components/default/lazyRefMapper.js.map +1 -1
  14. package/lib/esm/components/default/mapMapper.js +1 -1
  15. package/lib/esm/components/default/mapMapper.js.map +1 -1
  16. package/lib/esm/components/default/nullableMapper.js.map +1 -1
  17. package/lib/esm/components/default/objectMapper.js.map +1 -1
  18. package/lib/esm/components/default/ofMapper.js.map +1 -1
  19. package/lib/esm/components/default/propertiesMapper.js.map +1 -1
  20. package/lib/esm/components/default/requiredMapper.js.map +1 -1
  21. package/lib/esm/components/default/schemaMapper.js.map +1 -1
  22. package/lib/esm/components/open-spec/generate.js.map +1 -1
  23. package/lib/esm/components/open-spec/nullableMapper.js.map +1 -1
  24. package/lib/esm/components/open-spec/operationInFilesMapper.js.map +1 -1
  25. package/lib/esm/components/open-spec/operationInParameterMapper.js.map +1 -1
  26. package/lib/esm/components/open-spec/operationInQueryMapper.js.map +1 -1
  27. package/lib/esm/components/open-spec/operationMapper.js.map +1 -1
  28. package/lib/esm/components/open-spec/operationRequestBodyMapper.js.map +1 -1
  29. package/lib/esm/components/open-spec/operationResponseMapper.js.map +1 -1
  30. package/lib/esm/components/open-spec/pathsMapper.js.map +1 -1
  31. package/lib/esm/constants/OperationVerbs.js +0 -4
  32. package/lib/esm/constants/OperationVerbs.js.map +1 -1
  33. package/lib/esm/constants/httpStatusMessages.js +1 -1
  34. package/lib/esm/constants/httpStatusMessages.js.map +1 -1
  35. package/lib/esm/decorators/class/children.js.map +1 -1
  36. package/lib/esm/decorators/class/discriminatorValue.js.map +1 -1
  37. package/lib/esm/decorators/collections/collectionOf.js.map +1 -1
  38. package/lib/esm/decorators/collections/maxItems.js.map +1 -1
  39. package/lib/esm/decorators/collections/maxProperties.js.map +1 -1
  40. package/lib/esm/decorators/collections/minItems.js.map +1 -1
  41. package/lib/esm/decorators/collections/minProperties.js.map +1 -1
  42. package/lib/esm/decorators/common/allow.js.map +1 -1
  43. package/lib/esm/decorators/common/any.js.map +1 -1
  44. package/lib/esm/decorators/common/const.js.map +1 -1
  45. package/lib/esm/decorators/common/defaultMsg.js.map +1 -1
  46. package/lib/esm/decorators/common/description.js.map +1 -1
  47. package/lib/esm/decorators/common/discriminatorKey.js.map +1 -1
  48. package/lib/esm/decorators/common/enum.js.map +1 -1
  49. package/lib/esm/decorators/common/examples.js.map +1 -1
  50. package/lib/esm/decorators/common/format.js.map +1 -1
  51. package/lib/esm/decorators/common/groups.js.map +1 -1
  52. package/lib/esm/decorators/common/ignore.js +2 -1
  53. package/lib/esm/decorators/common/ignore.js.map +1 -1
  54. package/lib/esm/decorators/common/integer.js.map +1 -1
  55. package/lib/esm/decorators/common/jsonEntityFn.js.map +1 -1
  56. package/lib/esm/decorators/common/maxLength.js.map +1 -1
  57. package/lib/esm/decorators/common/minLength.js.map +1 -1
  58. package/lib/esm/decorators/common/multipleOf.js.map +1 -1
  59. package/lib/esm/decorators/common/name.js.map +1 -1
  60. package/lib/esm/decorators/common/nullable.js.map +1 -1
  61. package/lib/esm/decorators/common/optional.js.map +1 -1
  62. package/lib/esm/decorators/common/property.js.map +1 -1
  63. package/lib/esm/decorators/common/requiredGroups.js.map +1 -1
  64. package/lib/esm/decorators/common/typeError.js.map +1 -1
  65. package/lib/esm/decorators/config/jsonEntityComponent.js.map +1 -1
  66. package/lib/esm/decorators/generics/genericOf.js.map +1 -1
  67. package/lib/esm/decorators/operations/acceptMime.js.map +1 -1
  68. package/lib/esm/decorators/operations/consumes.js.map +1 -1
  69. package/lib/esm/decorators/operations/deprecated.js.map +1 -1
  70. package/lib/esm/decorators/operations/header.js.map +1 -1
  71. package/lib/esm/decorators/operations/in.js.map +1 -1
  72. package/lib/esm/decorators/operations/inFile.js +2 -2
  73. package/lib/esm/decorators/operations/inFile.js.map +1 -1
  74. package/lib/esm/decorators/operations/operation.js.map +1 -1
  75. package/lib/esm/decorators/operations/operationId.js.map +1 -1
  76. package/lib/esm/decorators/operations/operationPath.js.map +1 -1
  77. package/lib/esm/decorators/operations/path.js.map +1 -1
  78. package/lib/esm/decorators/operations/produces.js.map +1 -1
  79. package/lib/esm/decorators/operations/redirect.js.map +1 -1
  80. package/lib/esm/decorators/operations/returns.js.map +1 -1
  81. package/lib/esm/decorators/operations/route.js +0 -4
  82. package/lib/esm/decorators/operations/route.js.map +1 -1
  83. package/lib/esm/decorators/operations/security.js.map +1 -1
  84. package/lib/esm/decorators/operations/status.js +1 -2
  85. package/lib/esm/decorators/operations/status.js.map +1 -1
  86. package/lib/esm/decorators/operations/summary.js.map +1 -1
  87. package/lib/esm/decorators/operations/tags.js.map +1 -1
  88. package/lib/esm/domain/DecoratorContext.js.map +1 -1
  89. package/lib/esm/domain/JsonClassStore.js +1 -1
  90. package/lib/esm/domain/JsonClassStore.js.map +1 -1
  91. package/lib/esm/domain/JsonEntityStore.js.map +1 -1
  92. package/lib/esm/domain/JsonLazyRef.js.map +1 -1
  93. package/lib/esm/domain/JsonMap.js.map +1 -1
  94. package/lib/esm/domain/JsonMedia.js.map +1 -1
  95. package/lib/esm/domain/JsonMethodStore.js.map +1 -1
  96. package/lib/esm/domain/JsonOperation.js.map +1 -1
  97. package/lib/esm/domain/JsonOperationRoute.js.map +1 -1
  98. package/lib/esm/domain/JsonParameter.js.map +1 -1
  99. package/lib/esm/domain/JsonParameterStore.js +1 -1
  100. package/lib/esm/domain/JsonParameterStore.js.map +1 -1
  101. package/lib/esm/domain/JsonPropertyStore.js +1 -1
  102. package/lib/esm/domain/JsonPropertyStore.js.map +1 -1
  103. package/lib/esm/domain/JsonRequestBody.js.map +1 -1
  104. package/lib/esm/domain/JsonResponse.js.map +1 -1
  105. package/lib/esm/domain/JsonSchema.js.map +1 -1
  106. package/lib/esm/hooks/alterIgnore.js.map +1 -1
  107. package/lib/esm/hooks/alterOneOf.js.map +1 -1
  108. package/lib/esm/hooks/alterRequiredGroups.js.map +1 -1
  109. package/lib/esm/registries/JsonSchemaMapperContainer.js.map +1 -1
  110. package/lib/esm/utils/concatPath.js.map +1 -1
  111. package/lib/esm/utils/from.js.map +1 -1
  112. package/lib/esm/utils/generateSpec.js.map +1 -1
  113. package/lib/esm/utils/generics.js.map +1 -1
  114. package/lib/esm/utils/getComputedType.js.map +1 -1
  115. package/lib/esm/utils/getInheritedStores.js.map +1 -1
  116. package/lib/esm/utils/getJsonEntityStore.js +3 -3
  117. package/lib/esm/utils/getJsonEntityStore.js.map +1 -1
  118. package/lib/esm/utils/getJsonPathParameters.js.map +1 -1
  119. package/lib/esm/utils/getJsonSchema.js +1 -1
  120. package/lib/esm/utils/getJsonSchema.js.map +1 -1
  121. package/lib/esm/utils/getJsonType.js.map +1 -1
  122. package/lib/esm/utils/getOperationsRoutes.js.map +1 -1
  123. package/lib/esm/utils/getOperationsStores.js.map +1 -1
  124. package/lib/esm/utils/getPropertiesStores.js.map +1 -1
  125. package/lib/esm/utils/getSpec.js.map +1 -1
  126. package/lib/esm/utils/getSpecType.js.map +1 -1
  127. package/lib/esm/utils/mapHeaders.js.map +1 -1
  128. package/lib/esm/utils/mapOpenSpec.js +1 -1
  129. package/lib/esm/utils/mapOpenSpec.js.map +1 -1
  130. package/lib/esm/utils/mapOpenSpec2.js.map +1 -1
  131. package/lib/esm/utils/mapOpenSpec3.js.map +1 -1
  132. package/lib/esm/utils/mapOperationOptions.js.map +1 -1
  133. package/lib/esm/utils/matchGroups.js.map +1 -1
  134. package/lib/esm/utils/mergeSpec.js +1 -1
  135. package/lib/esm/utils/mergeSpec.js.map +1 -1
  136. package/lib/esm/utils/operationIdFormatter.js.map +1 -1
  137. package/lib/esm/utils/ref.js.map +1 -1
  138. package/lib/esm/utils/serializeEnumValues.js.map +1 -1
  139. package/lib/esm/utils/somethingOf.js.map +1 -1
  140. package/lib/esm/utils/transformToOS2.js.map +1 -1
  141. package/lib/esm/utils/withErrorMsg.js.map +1 -1
  142. package/lib/types/constants/OperationVerbs.d.ts +1 -5
  143. package/lib/types/decorators/common/ignore.d.ts +2 -1
  144. package/lib/types/decorators/operations/returns.d.ts +1 -2
  145. package/lib/types/decorators/operations/route.d.ts +0 -5
  146. package/lib/types/decorators/operations/status.d.ts +1 -2
  147. package/lib/types/domain/JsonClassStore.d.ts +1 -1
  148. package/lib/types/domain/JsonPropertyStore.d.ts +1 -1
  149. package/lib/types/utils/getJsonEntityStore.d.ts +3 -3
  150. package/lib/types/utils/getJsonSchema.d.ts +1 -1
  151. package/package.json +24 -20
  152. package/lib/cjs/components/async-api/channelsMapper.js +0 -62
  153. package/lib/cjs/components/async-api/channelsMapper.js.map +0 -1
  154. package/lib/cjs/components/async-api/generate.js +0 -20
  155. package/lib/cjs/components/async-api/generate.js.map +0 -1
  156. package/lib/cjs/components/async-api/messageMapper.js +0 -44
  157. package/lib/cjs/components/async-api/messageMapper.js.map +0 -1
  158. package/lib/cjs/components/async-api/payloadMapper.js +0 -52
  159. package/lib/cjs/components/async-api/payloadMapper.js.map +0 -1
  160. package/lib/cjs/components/async-api/responseMapper.js +0 -58
  161. package/lib/cjs/components/async-api/responseMapper.js.map +0 -1
  162. package/lib/cjs/components/default/anyMapper.js +0 -29
  163. package/lib/cjs/components/default/anyMapper.js.map +0 -1
  164. package/lib/cjs/components/default/classMapper.js +0 -43
  165. package/lib/cjs/components/default/classMapper.js.map +0 -1
  166. package/lib/cjs/components/default/genericsMapper.js +0 -62
  167. package/lib/cjs/components/default/genericsMapper.js.map +0 -1
  168. package/lib/cjs/components/default/inheritedClassMapper.js +0 -22
  169. package/lib/cjs/components/default/inheritedClassMapper.js.map +0 -1
  170. package/lib/cjs/components/default/inlineEnumsMapper.js +0 -16
  171. package/lib/cjs/components/default/inlineEnumsMapper.js.map +0 -1
  172. package/lib/cjs/components/default/itemMapper.js +0 -10
  173. package/lib/cjs/components/default/itemMapper.js.map +0 -1
  174. package/lib/cjs/components/default/lazyRefMapper.js +0 -18
  175. package/lib/cjs/components/default/lazyRefMapper.js.map +0 -1
  176. package/lib/cjs/components/default/mapMapper.js +0 -25
  177. package/lib/cjs/components/default/mapMapper.js.map +0 -1
  178. package/lib/cjs/components/default/nullableMapper.js +0 -54
  179. package/lib/cjs/components/default/nullableMapper.js.map +0 -1
  180. package/lib/cjs/components/default/objectMapper.js +0 -30
  181. package/lib/cjs/components/default/objectMapper.js.map +0 -1
  182. package/lib/cjs/components/default/ofMapper.js +0 -17
  183. package/lib/cjs/components/default/ofMapper.js.map +0 -1
  184. package/lib/cjs/components/default/propertiesMapper.js +0 -25
  185. package/lib/cjs/components/default/propertiesMapper.js.map +0 -1
  186. package/lib/cjs/components/default/requiredMapper.js +0 -56
  187. package/lib/cjs/components/default/requiredMapper.js.map +0 -1
  188. package/lib/cjs/components/default/schemaMapper.js +0 -124
  189. package/lib/cjs/components/default/schemaMapper.js.map +0 -1
  190. package/lib/cjs/components/index.js +0 -37
  191. package/lib/cjs/components/index.js.map +0 -1
  192. package/lib/cjs/components/open-spec/generate.js +0 -24
  193. package/lib/cjs/components/open-spec/generate.js.map +0 -1
  194. package/lib/cjs/components/open-spec/nullableMapper.js +0 -49
  195. package/lib/cjs/components/open-spec/nullableMapper.js.map +0 -1
  196. package/lib/cjs/components/open-spec/operationInFilesMapper.js +0 -28
  197. package/lib/cjs/components/open-spec/operationInFilesMapper.js.map +0 -1
  198. package/lib/cjs/components/open-spec/operationInParameterMapper.js +0 -39
  199. package/lib/cjs/components/open-spec/operationInParameterMapper.js.map +0 -1
  200. package/lib/cjs/components/open-spec/operationInParametersMapper.js +0 -10
  201. package/lib/cjs/components/open-spec/operationInParametersMapper.js.map +0 -1
  202. package/lib/cjs/components/open-spec/operationInQueryMapper.js +0 -61
  203. package/lib/cjs/components/open-spec/operationInQueryMapper.js.map +0 -1
  204. package/lib/cjs/components/open-spec/operationMapper.js +0 -49
  205. package/lib/cjs/components/open-spec/operationMapper.js.map +0 -1
  206. package/lib/cjs/components/open-spec/operationMediaMapper.js +0 -11
  207. package/lib/cjs/components/open-spec/operationMediaMapper.js.map +0 -1
  208. package/lib/cjs/components/open-spec/operationRequestBodyMapper.js +0 -67
  209. package/lib/cjs/components/open-spec/operationRequestBodyMapper.js.map +0 -1
  210. package/lib/cjs/components/open-spec/operationResponseMapper.js +0 -24
  211. package/lib/cjs/components/open-spec/operationResponseMapper.js.map +0 -1
  212. package/lib/cjs/components/open-spec/pathsMapper.js +0 -95
  213. package/lib/cjs/components/open-spec/pathsMapper.js.map +0 -1
  214. package/lib/cjs/constants/OperationVerbs.js +0 -36
  215. package/lib/cjs/constants/OperationVerbs.js.map +0 -1
  216. package/lib/cjs/constants/httpStatusMessages.js +0 -24
  217. package/lib/cjs/constants/httpStatusMessages.js.map +0 -1
  218. package/lib/cjs/constants/jsonSchemaProperties.js +0 -21
  219. package/lib/cjs/constants/jsonSchemaProperties.js.map +0 -1
  220. package/lib/cjs/decorators/class/children.js +0 -24
  221. package/lib/cjs/decorators/class/children.js.map +0 -1
  222. package/lib/cjs/decorators/class/discriminatorValue.js +0 -56
  223. package/lib/cjs/decorators/class/discriminatorValue.js.map +0 -1
  224. package/lib/cjs/decorators/collections/collectionContains.js +0 -29
  225. package/lib/cjs/decorators/collections/collectionContains.js.map +0 -1
  226. package/lib/cjs/decorators/collections/collectionOf.js +0 -102
  227. package/lib/cjs/decorators/collections/collectionOf.js.map +0 -1
  228. package/lib/cjs/decorators/collections/maxItems.js +0 -61
  229. package/lib/cjs/decorators/collections/maxItems.js.map +0 -1
  230. package/lib/cjs/decorators/collections/maxProperties.js +0 -84
  231. package/lib/cjs/decorators/collections/maxProperties.js.map +0 -1
  232. package/lib/cjs/decorators/collections/minItems.js +0 -65
  233. package/lib/cjs/decorators/collections/minItems.js.map +0 -1
  234. package/lib/cjs/decorators/collections/minProperties.js +0 -83
  235. package/lib/cjs/decorators/collections/minProperties.js.map +0 -1
  236. package/lib/cjs/decorators/collections/uniqueItems.js +0 -61
  237. package/lib/cjs/decorators/collections/uniqueItems.js.map +0 -1
  238. package/lib/cjs/decorators/common/additionalProperties.js +0 -20
  239. package/lib/cjs/decorators/common/additionalProperties.js.map +0 -1
  240. package/lib/cjs/decorators/common/allOf.js +0 -22
  241. package/lib/cjs/decorators/common/allOf.js.map +0 -1
  242. package/lib/cjs/decorators/common/allow.js +0 -47
  243. package/lib/cjs/decorators/common/allow.js.map +0 -1
  244. package/lib/cjs/decorators/common/any.js +0 -46
  245. package/lib/cjs/decorators/common/any.js.map +0 -1
  246. package/lib/cjs/decorators/common/anyOf.js +0 -26
  247. package/lib/cjs/decorators/common/anyOf.js.map +0 -1
  248. package/lib/cjs/decorators/common/const.js +0 -70
  249. package/lib/cjs/decorators/common/const.js.map +0 -1
  250. package/lib/cjs/decorators/common/customKey.js +0 -43
  251. package/lib/cjs/decorators/common/customKey.js.map +0 -1
  252. package/lib/cjs/decorators/common/default.js +0 -51
  253. package/lib/cjs/decorators/common/default.js.map +0 -1
  254. package/lib/cjs/decorators/common/defaultMsg.js +0 -41
  255. package/lib/cjs/decorators/common/defaultMsg.js.map +0 -1
  256. package/lib/cjs/decorators/common/description.js +0 -75
  257. package/lib/cjs/decorators/common/description.js.map +0 -1
  258. package/lib/cjs/decorators/common/discriminatorKey.js +0 -13
  259. package/lib/cjs/decorators/common/discriminatorKey.js.map +0 -1
  260. package/lib/cjs/decorators/common/enum.js +0 -109
  261. package/lib/cjs/decorators/common/enum.js.map +0 -1
  262. package/lib/cjs/decorators/common/errorMsg.js +0 -18
  263. package/lib/cjs/decorators/common/errorMsg.js.map +0 -1
  264. package/lib/cjs/decorators/common/example.js +0 -21
  265. package/lib/cjs/decorators/common/example.js.map +0 -1
  266. package/lib/cjs/decorators/common/examples.js +0 -21
  267. package/lib/cjs/decorators/common/examples.js.map +0 -1
  268. package/lib/cjs/decorators/common/exclusiveMaximum.js +0 -78
  269. package/lib/cjs/decorators/common/exclusiveMaximum.js.map +0 -1
  270. package/lib/cjs/decorators/common/exclusiveMinimum.js +0 -78
  271. package/lib/cjs/decorators/common/exclusiveMinimum.js.map +0 -1
  272. package/lib/cjs/decorators/common/format.js +0 -487
  273. package/lib/cjs/decorators/common/format.js.map +0 -1
  274. package/lib/cjs/decorators/common/forwardGroups.js +0 -20
  275. package/lib/cjs/decorators/common/forwardGroups.js.map +0 -1
  276. package/lib/cjs/decorators/common/groups.js +0 -49
  277. package/lib/cjs/decorators/common/groups.js.map +0 -1
  278. package/lib/cjs/decorators/common/hidden.js +0 -40
  279. package/lib/cjs/decorators/common/hidden.js.map +0 -1
  280. package/lib/cjs/decorators/common/ignore.js +0 -68
  281. package/lib/cjs/decorators/common/ignore.js.map +0 -1
  282. package/lib/cjs/decorators/common/integer.js +0 -71
  283. package/lib/cjs/decorators/common/integer.js.map +0 -1
  284. package/lib/cjs/decorators/common/jsonEntityFn.js +0 -32
  285. package/lib/cjs/decorators/common/jsonEntityFn.js.map +0 -1
  286. package/lib/cjs/decorators/common/maxLength.js +0 -90
  287. package/lib/cjs/decorators/common/maxLength.js.map +0 -1
  288. package/lib/cjs/decorators/common/maximum.js +0 -149
  289. package/lib/cjs/decorators/common/maximum.js.map +0 -1
  290. package/lib/cjs/decorators/common/minLength.js +0 -91
  291. package/lib/cjs/decorators/common/minLength.js.map +0 -1
  292. package/lib/cjs/decorators/common/minimum.js +0 -147
  293. package/lib/cjs/decorators/common/minimum.js.map +0 -1
  294. package/lib/cjs/decorators/common/multipleOf.js +0 -82
  295. package/lib/cjs/decorators/common/multipleOf.js.map +0 -1
  296. package/lib/cjs/decorators/common/name.js +0 -52
  297. package/lib/cjs/decorators/common/name.js.map +0 -1
  298. package/lib/cjs/decorators/common/nullable.js +0 -34
  299. package/lib/cjs/decorators/common/nullable.js.map +0 -1
  300. package/lib/cjs/decorators/common/oneOf.js +0 -27
  301. package/lib/cjs/decorators/common/oneOf.js.map +0 -1
  302. package/lib/cjs/decorators/common/optional.js +0 -28
  303. package/lib/cjs/decorators/common/optional.js.map +0 -1
  304. package/lib/cjs/decorators/common/pattern.js +0 -104
  305. package/lib/cjs/decorators/common/pattern.js.map +0 -1
  306. package/lib/cjs/decorators/common/property.js +0 -27
  307. package/lib/cjs/decorators/common/property.js.map +0 -1
  308. package/lib/cjs/decorators/common/readOnly.js +0 -21
  309. package/lib/cjs/decorators/common/readOnly.js.map +0 -1
  310. package/lib/cjs/decorators/common/recordOf.js +0 -63
  311. package/lib/cjs/decorators/common/recordOf.js.map +0 -1
  312. package/lib/cjs/decorators/common/required.js +0 -53
  313. package/lib/cjs/decorators/common/required.js.map +0 -1
  314. package/lib/cjs/decorators/common/requiredGroups.js +0 -26
  315. package/lib/cjs/decorators/common/requiredGroups.js.map +0 -1
  316. package/lib/cjs/decorators/common/schema.js +0 -66
  317. package/lib/cjs/decorators/common/schema.js.map +0 -1
  318. package/lib/cjs/decorators/common/title.js +0 -49
  319. package/lib/cjs/decorators/common/title.js.map +0 -1
  320. package/lib/cjs/decorators/common/typeError.js +0 -18
  321. package/lib/cjs/decorators/common/typeError.js.map +0 -1
  322. package/lib/cjs/decorators/common/writeOnly.js +0 -21
  323. package/lib/cjs/decorators/common/writeOnly.js.map +0 -1
  324. package/lib/cjs/decorators/config/jsonEntityComponent.js +0 -18
  325. package/lib/cjs/decorators/config/jsonEntityComponent.js.map +0 -1
  326. package/lib/cjs/decorators/generics/genericOf.js +0 -99
  327. package/lib/cjs/decorators/generics/genericOf.js.map +0 -1
  328. package/lib/cjs/decorators/generics/generics.js +0 -25
  329. package/lib/cjs/decorators/generics/generics.js.map +0 -1
  330. package/lib/cjs/decorators/operations/acceptMime.js +0 -28
  331. package/lib/cjs/decorators/operations/acceptMime.js.map +0 -1
  332. package/lib/cjs/decorators/operations/consumes.js +0 -39
  333. package/lib/cjs/decorators/operations/consumes.js.map +0 -1
  334. package/lib/cjs/decorators/operations/contentType.js +0 -28
  335. package/lib/cjs/decorators/operations/contentType.js.map +0 -1
  336. package/lib/cjs/decorators/operations/deprecated.js +0 -49
  337. package/lib/cjs/decorators/operations/deprecated.js.map +0 -1
  338. package/lib/cjs/decorators/operations/header.js +0 -63
  339. package/lib/cjs/decorators/operations/header.js.map +0 -1
  340. package/lib/cjs/decorators/operations/in.js +0 -80
  341. package/lib/cjs/decorators/operations/in.js.map +0 -1
  342. package/lib/cjs/decorators/operations/inFile.js +0 -45
  343. package/lib/cjs/decorators/operations/inFile.js.map +0 -1
  344. package/lib/cjs/decorators/operations/location.js +0 -29
  345. package/lib/cjs/decorators/operations/location.js.map +0 -1
  346. package/lib/cjs/decorators/operations/operation.js +0 -48
  347. package/lib/cjs/decorators/operations/operation.js.map +0 -1
  348. package/lib/cjs/decorators/operations/operationId.js +0 -24
  349. package/lib/cjs/decorators/operations/operationId.js.map +0 -1
  350. package/lib/cjs/decorators/operations/operationPath.js +0 -34
  351. package/lib/cjs/decorators/operations/operationPath.js.map +0 -1
  352. package/lib/cjs/decorators/operations/partial.js +0 -18
  353. package/lib/cjs/decorators/operations/partial.js.map +0 -1
  354. package/lib/cjs/decorators/operations/path.js +0 -29
  355. package/lib/cjs/decorators/operations/path.js.map +0 -1
  356. package/lib/cjs/decorators/operations/produces.js +0 -46
  357. package/lib/cjs/decorators/operations/produces.js.map +0 -1
  358. package/lib/cjs/decorators/operations/publish.js +0 -10
  359. package/lib/cjs/decorators/operations/publish.js.map +0 -1
  360. package/lib/cjs/decorators/operations/redirect.js +0 -25
  361. package/lib/cjs/decorators/operations/redirect.js.map +0 -1
  362. package/lib/cjs/decorators/operations/returns.js +0 -293
  363. package/lib/cjs/decorators/operations/returns.js.map +0 -1
  364. package/lib/cjs/decorators/operations/route.js +0 -162
  365. package/lib/cjs/decorators/operations/route.js.map +0 -1
  366. package/lib/cjs/decorators/operations/security.js +0 -31
  367. package/lib/cjs/decorators/operations/security.js.map +0 -1
  368. package/lib/cjs/decorators/operations/status.js +0 -133
  369. package/lib/cjs/decorators/operations/status.js.map +0 -1
  370. package/lib/cjs/decorators/operations/subscribe.js +0 -10
  371. package/lib/cjs/decorators/operations/subscribe.js.map +0 -1
  372. package/lib/cjs/decorators/operations/summary.js +0 -34
  373. package/lib/cjs/decorators/operations/summary.js.map +0 -1
  374. package/lib/cjs/decorators/operations/tags.js +0 -52
  375. package/lib/cjs/decorators/operations/tags.js.map +0 -1
  376. package/lib/cjs/decorators/operations/view.js +0 -31
  377. package/lib/cjs/decorators/operations/view.js.map +0 -1
  378. package/lib/cjs/domain/DecoratorContext.js +0 -88
  379. package/lib/cjs/domain/DecoratorContext.js.map +0 -1
  380. package/lib/cjs/domain/JsonAliasMap.js +0 -15
  381. package/lib/cjs/domain/JsonAliasMap.js.map +0 -1
  382. package/lib/cjs/domain/JsonClassStore.js +0 -37
  383. package/lib/cjs/domain/JsonClassStore.js.map +0 -1
  384. package/lib/cjs/domain/JsonDiscriminator.js +0 -38
  385. package/lib/cjs/domain/JsonDiscriminator.js.map +0 -1
  386. package/lib/cjs/domain/JsonEntityStore.js +0 -158
  387. package/lib/cjs/domain/JsonEntityStore.js.map +0 -1
  388. package/lib/cjs/domain/JsonFormatTypes.js +0 -22
  389. package/lib/cjs/domain/JsonFormatTypes.js.map +0 -1
  390. package/lib/cjs/domain/JsonLazyRef.js +0 -22
  391. package/lib/cjs/domain/JsonLazyRef.js.map +0 -1
  392. package/lib/cjs/domain/JsonMap.js +0 -29
  393. package/lib/cjs/domain/JsonMap.js.map +0 -1
  394. package/lib/cjs/domain/JsonMedia.js +0 -21
  395. package/lib/cjs/domain/JsonMedia.js.map +0 -1
  396. package/lib/cjs/domain/JsonMethodStore.js +0 -147
  397. package/lib/cjs/domain/JsonMethodStore.js.map +0 -1
  398. package/lib/cjs/domain/JsonOperation.js +0 -156
  399. package/lib/cjs/domain/JsonOperation.js.map +0 -1
  400. package/lib/cjs/domain/JsonOperationPathsMap.js +0 -19
  401. package/lib/cjs/domain/JsonOperationPathsMap.js.map +0 -1
  402. package/lib/cjs/domain/JsonOperationRoute.js +0 -54
  403. package/lib/cjs/domain/JsonOperationRoute.js.map +0 -1
  404. package/lib/cjs/domain/JsonParameter.js +0 -50
  405. package/lib/cjs/domain/JsonParameter.js.map +0 -1
  406. package/lib/cjs/domain/JsonParameterStore.js +0 -99
  407. package/lib/cjs/domain/JsonParameterStore.js.map +0 -1
  408. package/lib/cjs/domain/JsonParameterTypes.js +0 -27
  409. package/lib/cjs/domain/JsonParameterTypes.js.map +0 -1
  410. package/lib/cjs/domain/JsonPropertyStore.js +0 -80
  411. package/lib/cjs/domain/JsonPropertyStore.js.map +0 -1
  412. package/lib/cjs/domain/JsonRequestBody.js +0 -34
  413. package/lib/cjs/domain/JsonRequestBody.js.map +0 -1
  414. package/lib/cjs/domain/JsonResponse.js +0 -45
  415. package/lib/cjs/domain/JsonResponse.js.map +0 -1
  416. package/lib/cjs/domain/JsonSchema.js +0 -822
  417. package/lib/cjs/domain/JsonSchema.js.map +0 -1
  418. package/lib/cjs/domain/SpecTypes.js +0 -11
  419. package/lib/cjs/domain/SpecTypes.js.map +0 -1
  420. package/lib/cjs/hooks/alterIgnore.js +0 -24
  421. package/lib/cjs/hooks/alterIgnore.js.map +0 -1
  422. package/lib/cjs/hooks/alterOneOf.js +0 -50
  423. package/lib/cjs/hooks/alterOneOf.js.map +0 -1
  424. package/lib/cjs/hooks/alterRequiredGroups.js +0 -14
  425. package/lib/cjs/hooks/alterRequiredGroups.js.map +0 -1
  426. package/lib/cjs/index.js +0 -186
  427. package/lib/cjs/index.js.map +0 -1
  428. package/lib/cjs/interfaces/IgnoreCallback.js +0 -3
  429. package/lib/cjs/interfaces/IgnoreCallback.js.map +0 -1
  430. package/lib/cjs/interfaces/JsonHookContext.js +0 -3
  431. package/lib/cjs/interfaces/JsonHookContext.js.map +0 -1
  432. package/lib/cjs/interfaces/JsonOpenSpec.js +0 -3
  433. package/lib/cjs/interfaces/JsonOpenSpec.js.map +0 -1
  434. package/lib/cjs/interfaces/JsonSchemaOptions.js +0 -3
  435. package/lib/cjs/interfaces/JsonSchemaOptions.js.map +0 -1
  436. package/lib/cjs/package.json +0 -3
  437. package/lib/cjs/registries/JsonSchemaMapperContainer.js +0 -43
  438. package/lib/cjs/registries/JsonSchemaMapperContainer.js.map +0 -1
  439. package/lib/cjs/registries/enumRegistries.js +0 -5
  440. package/lib/cjs/registries/enumRegistries.js.map +0 -1
  441. package/lib/cjs/utils/buildPath.js +0 -13
  442. package/lib/cjs/utils/buildPath.js.map +0 -1
  443. package/lib/cjs/utils/concatParameters.js +0 -16
  444. package/lib/cjs/utils/concatParameters.js.map +0 -1
  445. package/lib/cjs/utils/concatPath.js +0 -23
  446. package/lib/cjs/utils/concatPath.js.map +0 -1
  447. package/lib/cjs/utils/defineStatusModel.js +0 -13
  448. package/lib/cjs/utils/defineStatusModel.js.map +0 -1
  449. package/lib/cjs/utils/from.js +0 -280
  450. package/lib/cjs/utils/from.js.map +0 -1
  451. package/lib/cjs/utils/generateSpec.js +0 -47
  452. package/lib/cjs/utils/generateSpec.js.map +0 -1
  453. package/lib/cjs/utils/generics.js +0 -40
  454. package/lib/cjs/utils/generics.js.map +0 -1
  455. package/lib/cjs/utils/getComputedType.js +0 -26
  456. package/lib/cjs/utils/getComputedType.js.map +0 -1
  457. package/lib/cjs/utils/getInheritedStores.js +0 -23
  458. package/lib/cjs/utils/getInheritedStores.js.map +0 -1
  459. package/lib/cjs/utils/getJsonEntityStore.js +0 -18
  460. package/lib/cjs/utils/getJsonEntityStore.js.map +0 -1
  461. package/lib/cjs/utils/getJsonPathParameters.js +0 -87
  462. package/lib/cjs/utils/getJsonPathParameters.js.map +0 -1
  463. package/lib/cjs/utils/getJsonSchema.js +0 -59
  464. package/lib/cjs/utils/getJsonSchema.js.map +0 -1
  465. package/lib/cjs/utils/getJsonType.js +0 -40
  466. package/lib/cjs/utils/getJsonType.js.map +0 -1
  467. package/lib/cjs/utils/getOperationsRoutes.js +0 -37
  468. package/lib/cjs/utils/getOperationsRoutes.js.map +0 -1
  469. package/lib/cjs/utils/getOperationsStores.js +0 -33
  470. package/lib/cjs/utils/getOperationsStores.js.map +0 -1
  471. package/lib/cjs/utils/getPropertiesStores.js +0 -45
  472. package/lib/cjs/utils/getPropertiesStores.js.map +0 -1
  473. package/lib/cjs/utils/getSpec.js +0 -79
  474. package/lib/cjs/utils/getSpec.js.map +0 -1
  475. package/lib/cjs/utils/getSpecType.js +0 -21
  476. package/lib/cjs/utils/getSpecType.js.map +0 -1
  477. package/lib/cjs/utils/isSuccessStatus.js +0 -8
  478. package/lib/cjs/utils/isSuccessStatus.js.map +0 -1
  479. package/lib/cjs/utils/mapHeaders.js +0 -29
  480. package/lib/cjs/utils/mapHeaders.js.map +0 -1
  481. package/lib/cjs/utils/mapOpenSpec.js +0 -41
  482. package/lib/cjs/utils/mapOpenSpec.js.map +0 -1
  483. package/lib/cjs/utils/mapOpenSpec2.js +0 -34
  484. package/lib/cjs/utils/mapOpenSpec2.js.map +0 -1
  485. package/lib/cjs/utils/mapOpenSpec3.js +0 -26
  486. package/lib/cjs/utils/mapOpenSpec3.js.map +0 -1
  487. package/lib/cjs/utils/mapOpenSpecInfo.js +0 -21
  488. package/lib/cjs/utils/mapOpenSpecInfo.js.map +0 -1
  489. package/lib/cjs/utils/mapOperationOptions.js +0 -31
  490. package/lib/cjs/utils/mapOperationOptions.js.map +0 -1
  491. package/lib/cjs/utils/matchGroups.js +0 -56
  492. package/lib/cjs/utils/matchGroups.js.map +0 -1
  493. package/lib/cjs/utils/mergeSpec.js +0 -51
  494. package/lib/cjs/utils/mergeSpec.js.map +0 -1
  495. package/lib/cjs/utils/operationIdFormatter.js +0 -41
  496. package/lib/cjs/utils/operationIdFormatter.js.map +0 -1
  497. package/lib/cjs/utils/ref.js +0 -55
  498. package/lib/cjs/utils/ref.js.map +0 -1
  499. package/lib/cjs/utils/removeHiddenOperation.js +0 -8
  500. package/lib/cjs/utils/removeHiddenOperation.js.map +0 -1
  501. package/lib/cjs/utils/serializeEnumValues.js +0 -26
  502. package/lib/cjs/utils/serializeEnumValues.js.map +0 -1
  503. package/lib/cjs/utils/somethingOf.js +0 -16
  504. package/lib/cjs/utils/somethingOf.js.map +0 -1
  505. package/lib/cjs/utils/toJsonMapCollection.js +0 -15
  506. package/lib/cjs/utils/toJsonMapCollection.js.map +0 -1
  507. package/lib/cjs/utils/toJsonRegex.js +0 -12
  508. package/lib/cjs/utils/toJsonRegex.js.map +0 -1
  509. package/lib/cjs/utils/transformToOS2.js +0 -509
  510. package/lib/cjs/utils/transformToOS2.js.map +0 -1
  511. package/lib/cjs/utils/withErrorMsg.js +0 -34
  512. package/lib/cjs/utils/withErrorMsg.js.map +0 -1
  513. package/lib/esm/package.json +0 -3
  514. package/lib/types-esm/components/async-api/channelsMapper.d.ts +0 -2
  515. package/lib/types-esm/components/async-api/generate.d.ts +0 -1
  516. package/lib/types-esm/components/async-api/messageMapper.d.ts +0 -6
  517. package/lib/types-esm/components/async-api/payloadMapper.d.ts +0 -4
  518. package/lib/types-esm/components/async-api/responseMapper.d.ts +0 -6
  519. package/lib/types-esm/components/default/anyMapper.d.ts +0 -2
  520. package/lib/types-esm/components/default/classMapper.d.ts +0 -3
  521. package/lib/types-esm/components/default/genericsMapper.d.ts +0 -5
  522. package/lib/types-esm/components/default/inheritedClassMapper.d.ts +0 -5
  523. package/lib/types-esm/components/default/inlineEnumsMapper.d.ts +0 -3
  524. package/lib/types-esm/components/default/itemMapper.d.ts +0 -2
  525. package/lib/types-esm/components/default/lazyRefMapper.d.ts +0 -3
  526. package/lib/types-esm/components/default/mapMapper.d.ts +0 -9
  527. package/lib/types-esm/components/default/nullableMapper.d.ts +0 -2
  528. package/lib/types-esm/components/default/objectMapper.d.ts +0 -8
  529. package/lib/types-esm/components/default/ofMapper.d.ts +0 -3
  530. package/lib/types-esm/components/default/propertiesMapper.d.ts +0 -3
  531. package/lib/types-esm/components/default/requiredMapper.d.ts +0 -3
  532. package/lib/types-esm/components/default/schemaMapper.d.ts +0 -3
  533. package/lib/types-esm/components/index.d.ts +0 -33
  534. package/lib/types-esm/components/open-spec/generate.d.ts +0 -1
  535. package/lib/types-esm/components/open-spec/nullableMapper.d.ts +0 -2
  536. package/lib/types-esm/components/open-spec/operationInFilesMapper.d.ts +0 -2
  537. package/lib/types-esm/components/open-spec/operationInParameterMapper.d.ts +0 -10
  538. package/lib/types-esm/components/open-spec/operationInParametersMapper.d.ts +0 -3
  539. package/lib/types-esm/components/open-spec/operationInQueryMapper.d.ts +0 -2
  540. package/lib/types-esm/components/open-spec/operationMapper.d.ts +0 -3
  541. package/lib/types-esm/components/open-spec/operationMediaMapper.d.ts +0 -3
  542. package/lib/types-esm/components/open-spec/operationRequestBodyMapper.d.ts +0 -3
  543. package/lib/types-esm/components/open-spec/operationResponseMapper.d.ts +0 -3
  544. package/lib/types-esm/components/open-spec/pathsMapper.d.ts +0 -2
  545. package/lib/types-esm/constants/OperationVerbs.d.ts +0 -20
  546. package/lib/types-esm/constants/httpStatusMessages.d.ts +0 -11
  547. package/lib/types-esm/constants/jsonSchemaProperties.d.ts +0 -7
  548. package/lib/types-esm/decorators/class/children.d.ts +0 -11
  549. package/lib/types-esm/decorators/class/discriminatorValue.d.ts +0 -42
  550. package/lib/types-esm/decorators/collections/collectionContains.d.ts +0 -21
  551. package/lib/types-esm/decorators/collections/collectionOf.d.ts +0 -101
  552. package/lib/types-esm/decorators/collections/maxItems.d.ts +0 -48
  553. package/lib/types-esm/decorators/collections/maxProperties.d.ts +0 -71
  554. package/lib/types-esm/decorators/collections/minItems.d.ts +0 -52
  555. package/lib/types-esm/decorators/collections/minProperties.d.ts +0 -70
  556. package/lib/types-esm/decorators/collections/uniqueItems.d.ts +0 -51
  557. package/lib/types-esm/decorators/common/additionalProperties.d.ts +0 -11
  558. package/lib/types-esm/decorators/common/allOf.d.ts +0 -13
  559. package/lib/types-esm/decorators/common/allow.d.ts +0 -28
  560. package/lib/types-esm/decorators/common/any.d.ts +0 -38
  561. package/lib/types-esm/decorators/common/anyOf.d.ts +0 -17
  562. package/lib/types-esm/decorators/common/const.d.ts +0 -61
  563. package/lib/types-esm/decorators/common/customKey.d.ts +0 -26
  564. package/lib/types-esm/decorators/common/default.d.ts +0 -41
  565. package/lib/types-esm/decorators/common/defaultMsg.d.ts +0 -32
  566. package/lib/types-esm/decorators/common/description.d.ts +0 -53
  567. package/lib/types-esm/decorators/common/discriminatorKey.d.ts +0 -1
  568. package/lib/types-esm/decorators/common/enum.d.ts +0 -101
  569. package/lib/types-esm/decorators/common/errorMsg.d.ts +0 -6
  570. package/lib/types-esm/decorators/common/example.d.ts +0 -11
  571. package/lib/types-esm/decorators/common/examples.d.ts +0 -12
  572. package/lib/types-esm/decorators/common/exclusiveMaximum.d.ts +0 -70
  573. package/lib/types-esm/decorators/common/exclusiveMinimum.d.ts +0 -70
  574. package/lib/types-esm/decorators/common/format.d.ts +0 -466
  575. package/lib/types-esm/decorators/common/forwardGroups.d.ts +0 -10
  576. package/lib/types-esm/decorators/common/groups.d.ts +0 -12
  577. package/lib/types-esm/decorators/common/hidden.d.ts +0 -32
  578. package/lib/types-esm/decorators/common/ignore.d.ts +0 -59
  579. package/lib/types-esm/decorators/common/integer.d.ts +0 -61
  580. package/lib/types-esm/decorators/common/jsonEntityFn.d.ts +0 -21
  581. package/lib/types-esm/decorators/common/maxLength.d.ts +0 -77
  582. package/lib/types-esm/decorators/common/maximum.d.ts +0 -139
  583. package/lib/types-esm/decorators/common/minLength.d.ts +0 -78
  584. package/lib/types-esm/decorators/common/minimum.d.ts +0 -137
  585. package/lib/types-esm/decorators/common/multipleOf.d.ts +0 -69
  586. package/lib/types-esm/decorators/common/name.d.ts +0 -32
  587. package/lib/types-esm/decorators/common/nullable.d.ts +0 -25
  588. package/lib/types-esm/decorators/common/oneOf.d.ts +0 -17
  589. package/lib/types-esm/decorators/common/optional.d.ts +0 -10
  590. package/lib/types-esm/decorators/common/pattern.d.ts +0 -94
  591. package/lib/types-esm/decorators/common/property.d.ts +0 -11
  592. package/lib/types-esm/decorators/common/readOnly.d.ts +0 -11
  593. package/lib/types-esm/decorators/common/recordOf.d.ts +0 -46
  594. package/lib/types-esm/decorators/common/required.d.ts +0 -44
  595. package/lib/types-esm/decorators/common/requiredGroups.d.ts +0 -10
  596. package/lib/types-esm/decorators/common/schema.d.ts +0 -53
  597. package/lib/types-esm/decorators/common/title.d.ts +0 -39
  598. package/lib/types-esm/decorators/common/typeError.d.ts +0 -8
  599. package/lib/types-esm/decorators/common/writeOnly.d.ts +0 -11
  600. package/lib/types-esm/decorators/config/jsonEntityComponent.d.ts +0 -10
  601. package/lib/types-esm/decorators/generics/genericOf.d.ts +0 -76
  602. package/lib/types-esm/decorators/generics/generics.d.ts +0 -14
  603. package/lib/types-esm/decorators/operations/acceptMime.d.ts +0 -19
  604. package/lib/types-esm/decorators/operations/consumes.d.ts +0 -19
  605. package/lib/types-esm/decorators/operations/contentType.d.ts +0 -20
  606. package/lib/types-esm/decorators/operations/deprecated.d.ts +0 -23
  607. package/lib/types-esm/decorators/operations/header.d.ts +0 -49
  608. package/lib/types-esm/decorators/operations/in.d.ts +0 -64
  609. package/lib/types-esm/decorators/operations/inFile.d.ts +0 -25
  610. package/lib/types-esm/decorators/operations/location.d.ts +0 -22
  611. package/lib/types-esm/decorators/operations/operation.d.ts +0 -60
  612. package/lib/types-esm/decorators/operations/operationId.d.ts +0 -10
  613. package/lib/types-esm/decorators/operations/operationPath.d.ts +0 -21
  614. package/lib/types-esm/decorators/operations/partial.d.ts +0 -10
  615. package/lib/types-esm/decorators/operations/path.d.ts +0 -15
  616. package/lib/types-esm/decorators/operations/produces.d.ts +0 -26
  617. package/lib/types-esm/decorators/operations/publish.d.ts +0 -1
  618. package/lib/types-esm/decorators/operations/redirect.d.ts +0 -52
  619. package/lib/types-esm/decorators/operations/returns.d.ts +0 -267
  620. package/lib/types-esm/decorators/operations/route.d.ts +0 -133
  621. package/lib/types-esm/decorators/operations/security.d.ts +0 -56
  622. package/lib/types-esm/decorators/operations/status.d.ts +0 -127
  623. package/lib/types-esm/decorators/operations/subscribe.d.ts +0 -1
  624. package/lib/types-esm/decorators/operations/summary.d.ts +0 -20
  625. package/lib/types-esm/decorators/operations/tags.d.ts +0 -23
  626. package/lib/types-esm/decorators/operations/view.d.ts +0 -23
  627. package/lib/types-esm/domain/DecoratorContext.d.ts +0 -28
  628. package/lib/types-esm/domain/JsonAliasMap.d.ts +0 -12
  629. package/lib/types-esm/domain/JsonClassStore.d.ts +0 -12
  630. package/lib/types-esm/domain/JsonDiscriminator.d.ts +0 -18
  631. package/lib/types-esm/domain/JsonEntityStore.d.ts +0 -110
  632. package/lib/types-esm/domain/JsonFormatTypes.d.ts +0 -17
  633. package/lib/types-esm/domain/JsonLazyRef.d.ts +0 -9
  634. package/lib/types-esm/domain/JsonMap.d.ts +0 -9
  635. package/lib/types-esm/domain/JsonMedia.d.ts +0 -11
  636. package/lib/types-esm/domain/JsonMethodStore.d.ts +0 -92
  637. package/lib/types-esm/domain/JsonOperation.d.ts +0 -51
  638. package/lib/types-esm/domain/JsonOperationPathsMap.d.ts +0 -7
  639. package/lib/types-esm/domain/JsonOperationRoute.d.ts +0 -25
  640. package/lib/types-esm/domain/JsonParameter.d.ts +0 -22
  641. package/lib/types-esm/domain/JsonParameterStore.d.ts +0 -52
  642. package/lib/types-esm/domain/JsonParameterTypes.d.ts +0 -16
  643. package/lib/types-esm/domain/JsonPropertyStore.d.ts +0 -32
  644. package/lib/types-esm/domain/JsonRequestBody.d.ts +0 -12
  645. package/lib/types-esm/domain/JsonResponse.d.ts +0 -18
  646. package/lib/types-esm/domain/JsonSchema.d.ts +0 -340
  647. package/lib/types-esm/domain/SpecTypes.d.ts +0 -6
  648. package/lib/types-esm/hooks/alterIgnore.d.ts +0 -10
  649. package/lib/types-esm/hooks/alterOneOf.d.ts +0 -3
  650. package/lib/types-esm/hooks/alterRequiredGroups.d.ts +0 -6
  651. package/lib/types-esm/index.d.ts +0 -182
  652. package/lib/types-esm/interfaces/IgnoreCallback.d.ts +0 -4
  653. package/lib/types-esm/interfaces/JsonHookContext.d.ts +0 -17
  654. package/lib/types-esm/interfaces/JsonOpenSpec.d.ts +0 -9
  655. package/lib/types-esm/interfaces/JsonSchemaOptions.d.ts +0 -30
  656. package/lib/types-esm/registries/JsonSchemaMapperContainer.d.ts +0 -21
  657. package/lib/types-esm/registries/enumRegistries.d.ts +0 -2
  658. package/lib/types-esm/utils/buildPath.d.ts +0 -6
  659. package/lib/types-esm/utils/concatParameters.d.ts +0 -4
  660. package/lib/types-esm/utils/concatPath.d.ts +0 -1
  661. package/lib/types-esm/utils/defineStatusModel.d.ts +0 -3
  662. package/lib/types-esm/utils/from.d.ts +0 -190
  663. package/lib/types-esm/utils/generateSpec.d.ts +0 -16
  664. package/lib/types-esm/utils/generics.d.ts +0 -50
  665. package/lib/types-esm/utils/getComputedType.d.ts +0 -5
  666. package/lib/types-esm/utils/getInheritedStores.d.ts +0 -8
  667. package/lib/types-esm/utils/getJsonEntityStore.d.ts +0 -15
  668. package/lib/types-esm/utils/getJsonPathParameters.d.ts +0 -7
  669. package/lib/types-esm/utils/getJsonSchema.d.ts +0 -4
  670. package/lib/types-esm/utils/getJsonType.d.ts +0 -5
  671. package/lib/types-esm/utils/getOperationsRoutes.d.ts +0 -10
  672. package/lib/types-esm/utils/getOperationsStores.d.ts +0 -6
  673. package/lib/types-esm/utils/getPropertiesStores.d.ts +0 -20
  674. package/lib/types-esm/utils/getSpec.d.ts +0 -34
  675. package/lib/types-esm/utils/getSpecType.d.ts +0 -12
  676. package/lib/types-esm/utils/isSuccessStatus.d.ts +0 -2
  677. package/lib/types-esm/utils/mapHeaders.d.ts +0 -9
  678. package/lib/types-esm/utils/mapOpenSpec.d.ts +0 -10
  679. package/lib/types-esm/utils/mapOpenSpec2.d.ts +0 -9
  680. package/lib/types-esm/utils/mapOpenSpec3.d.ts +0 -8
  681. package/lib/types-esm/utils/mapOpenSpecInfo.d.ts +0 -6
  682. package/lib/types-esm/utils/mapOperationOptions.d.ts +0 -5
  683. package/lib/types-esm/utils/matchGroups.d.ts +0 -4
  684. package/lib/types-esm/utils/mergeSpec.d.ts +0 -23
  685. package/lib/types-esm/utils/operationIdFormatter.d.ts +0 -6
  686. package/lib/types-esm/utils/ref.d.ts +0 -14
  687. package/lib/types-esm/utils/removeHiddenOperation.d.ts +0 -2
  688. package/lib/types-esm/utils/serializeEnumValues.d.ts +0 -5
  689. package/lib/types-esm/utils/somethingOf.d.ts +0 -1
  690. package/lib/types-esm/utils/toJsonMapCollection.d.ts +0 -7
  691. package/lib/types-esm/utils/toJsonRegex.d.ts +0 -5
  692. package/lib/types-esm/utils/transformToOS2.d.ts +0 -25
  693. package/lib/types-esm/utils/withErrorMsg.d.ts +0 -6
  694. /package/{webpack.config.js → webpack.config.cjs} +0 -0
@@ -1,52 +0,0 @@
1
- import { Type } from "@tsed/core";
2
- import { JsonEntityStore, JsonEntityStoreOptions } from "./JsonEntityStore.js";
3
- import type { JsonMethodStore } from "./JsonMethodStore.js";
4
- import { JsonParameter } from "./JsonParameter.js";
5
- import { JsonSchema } from "./JsonSchema.js";
6
- export interface JsonParameterStoreOptions extends JsonEntityStoreOptions {
7
- dataPath?: string;
8
- paramType?: string;
9
- expression?: string;
10
- }
11
- export interface PipeMethods<T = any, R = any> {
12
- transform(value: T, metadata: JsonParameterStore): R;
13
- }
14
- export declare class JsonParameterStore extends JsonEntityStore {
15
- paramType: string;
16
- expression: string;
17
- dataPath: string;
18
- /**
19
- * Define pipes can be called by the framework to transform input parameter
20
- */
21
- pipes: Type<PipeMethods>[];
22
- /**
23
- * Ref to JsonParameter when the decorated object is a parameter.
24
- */
25
- readonly parameter: JsonParameter;
26
- readonly parent: JsonMethodStore;
27
- constructor(options: JsonParameterStoreOptions);
28
- get nestedGenerics(): Type<any>[][];
29
- set nestedGenerics(nestedGenerics: Type<any>[][]);
30
- /**
31
- * Return the required state.
32
- * @returns {boolean}
33
- */
34
- get required(): boolean;
35
- set required(value: boolean);
36
- get allowedRequiredValues(): any[];
37
- static getParams<T extends JsonParameterStore = JsonParameterStore>(target: Type<any>, propertyKey: string | symbol): T[];
38
- static get(target: Type<any>, propertyKey: string | symbol, index: number): JsonParameterStore;
39
- /**
40
- * Check precondition between value, required and allowedRequiredValues to know if the entity is required.
41
- * @param value
42
- * @returns {boolean}
43
- */
44
- isRequired(value: any): boolean;
45
- protected getSchema(type: any): JsonSchema;
46
- protected build(): void;
47
- }
48
- /**
49
- * @alias JsonParameterStore
50
- */
51
- export type ParamMetadata = JsonParameterStore;
52
- export declare const ParamMetadata: typeof JsonParameterStore;
@@ -1,16 +0,0 @@
1
- export declare enum JsonParameterTypes {
2
- BODY = "body",
3
- PATH = "path",
4
- QUERY = "query",
5
- HEADER = "header",
6
- COOKIES = "cookie",
7
- FILES = "files"
8
- }
9
- /**
10
- * @ignore
11
- */
12
- export declare function formatParameterType(type: any): any;
13
- /**
14
- * @ignore
15
- */
16
- export declare function isParameterType(type: string): boolean;
@@ -1,32 +0,0 @@
1
- import { Type } from "@tsed/core";
2
- import { JsonEntityStore } from "./JsonEntityStore.js";
3
- import type { JsonClassStore } from "./JsonClassStore.js";
4
- export declare class JsonPropertyStore extends JsonEntityStore {
5
- readonly parent: JsonClassStore;
6
- /**
7
- * Return the required state.
8
- * @returns {boolean}
9
- */
10
- get required(): boolean;
11
- /**
12
- * Change the state of the required data.
13
- * @param value
14
- */
15
- set required(value: boolean);
16
- get allowedRequiredValues(): any[];
17
- discriminatorKey(): this;
18
- isDiscriminatorKey(): boolean;
19
- /**
20
- * Check precondition between value, required and allowedRequiredValues to know if the entity is required.
21
- * @param value
22
- * @returns {boolean}
23
- */
24
- isRequired(value: any): boolean;
25
- protected build(): void;
26
- static get(target: Type<any>, propertyKey: string | symbol): JsonPropertyStore;
27
- }
28
- /**
29
- * @alias JsonPropertyStore
30
- */
31
- export type PropertyMetadata = JsonPropertyStore;
32
- export declare const PropertyMetadata: typeof JsonPropertyStore;
@@ -1,12 +0,0 @@
1
- import { OpenSpecHash, OS3MediaType, OS3RequestBody } from "@tsed/openspec";
2
- import { JsonMap } from "./JsonMap.js";
3
- import { JsonSchema } from "./JsonSchema.js";
4
- export type JsonRequestBodyOptions = OS3RequestBody<JsonSchema>;
5
- export declare class JsonRequestBody extends JsonMap<JsonRequestBodyOptions> {
6
- $kind: string;
7
- constructor(obj?: Partial<JsonRequestBodyOptions>);
8
- description(description: string): this;
9
- content(content: OpenSpecHash<OS3MediaType<JsonSchema>>): this;
10
- addContent(mediaType: string, schema: JsonSchema, examples?: any): this;
11
- required(required: boolean): this;
12
- }
@@ -1,18 +0,0 @@
1
- import { OS3MediaType, OS3Response } from "@tsed/openspec";
2
- import { JsonHeader } from "../interfaces/JsonOpenSpec.js";
3
- import { JsonMap } from "./JsonMap.js";
4
- import { JsonMedia } from "./JsonMedia.js";
5
- import { JsonSchema } from "./JsonSchema.js";
6
- export type JsonResponseOptions = OS3Response<JsonSchema, string | JsonHeader>;
7
- export declare class JsonResponse extends JsonMap<JsonResponseOptions> {
8
- $kind: string;
9
- status: number;
10
- constructor(obj?: Partial<JsonResponseOptions>);
11
- description(description: string): this;
12
- headers(headers: Record<string, string | JsonHeader>): this;
13
- content(content: Record<string, OS3MediaType<JsonSchema>>): this;
14
- getContent(): JsonMap<JsonMedia>;
15
- getMedia(mediaType: string, create?: boolean): JsonMedia;
16
- addMedia(mediaType: string): this;
17
- isBinary(): boolean;
18
- }
@@ -1,340 +0,0 @@
1
- import { Hooks, Type, ValueOf } from "@tsed/core";
2
- import type { JSONSchema6, JSONSchema6Definition, JSONSchema6Type, JSONSchema6TypeName, JSONSchema6Version } from "json-schema";
3
- import { IgnoreCallback } from "../interfaces/IgnoreCallback.js";
4
- import { JsonSchemaOptions } from "../interfaces/JsonSchemaOptions.js";
5
- import { NestedGenerics } from "../utils/generics.js";
6
- import { AliasMap, AliasType } from "./JsonAliasMap.js";
7
- import { Discriminator } from "./JsonDiscriminator.js";
8
- import { JsonFormatTypes } from "./JsonFormatTypes.js";
9
- import { JsonLazyRef } from "./JsonLazyRef.js";
10
- export interface JsonSchemaObject extends JSONSchema6, Record<string, any> {
11
- type: (any | JSONSchema6TypeName) | (any | JSONSchema6TypeName)[];
12
- additionalProperties?: boolean | JSONSchema6 | any;
13
- propertyNames?: boolean | JSONSchema6 | any;
14
- items?: (any | JSONSchema6Definition) | (any | JSONSchema6Definition)[];
15
- }
16
- export type AnyJsonSchema = Partial<JsonSchemaObject> | JsonSchema | JsonLazyRef | any;
17
- export declare class JsonSchema extends Map<string, any> implements NestedGenerics {
18
- #private;
19
- readonly $kind: string;
20
- readonly $isJsonDocument = true;
21
- readonly $hooks: Hooks;
22
- readonly $required: Set<string>;
23
- readonly $allow: any[];
24
- $selfRequired: boolean;
25
- $forwardGroups: boolean;
26
- $ignore: boolean | IgnoreCallback;
27
- isDiscriminatorKey: boolean;
28
- isDiscriminator: boolean;
29
- constructor(obj?: JsonSchema | Partial<JsonSchemaObject>);
30
- get alias(): AliasMap;
31
- get nestedGenerics(): any[];
32
- set nestedGenerics(value: any[]);
33
- get genericLabels(): string[];
34
- set genericLabels(value: string[]);
35
- get isClass(): boolean;
36
- /**
37
- * Current schema is a collection
38
- */
39
- get isCollection(): boolean;
40
- /**
41
- * Current schema is a generic
42
- */
43
- get isGeneric(): boolean;
44
- get discriminatorAncestor(): any;
45
- /**
46
- * Current schema has generics items
47
- */
48
- get hasGenerics(): boolean;
49
- get genericType(): string;
50
- get class(): any;
51
- get canRef(): boolean;
52
- get isNullable(): boolean;
53
- get isReadOnly(): any;
54
- get isWriteOnly(): any;
55
- get hasDiscriminator(): boolean;
56
- static from(obj?: Partial<JsonSchemaObject>): JsonSchema;
57
- nullable(value: boolean): void;
58
- itemSchema(obj?: AnyJsonSchema): JsonSchema;
59
- getAliasOf(property: AliasType): AliasType | undefined;
60
- addAlias(property: AliasType, alias: AliasType): this;
61
- removeAlias(property: AliasType): this;
62
- $id($id: string): this;
63
- $ref($ref: string): this;
64
- $schema($schema: JSONSchema6Version): this;
65
- /**
66
- * Create a ref and use name to sharing schema
67
- * @param name
68
- */
69
- label(name: string): this;
70
- name(name: string): this;
71
- ignore(cb: boolean | IgnoreCallback): this;
72
- /**
73
- * This keyword can be used to supply a default JSON value associated with a particular schema.
74
- * It is RECOMMENDED that a default value be valid against the associated schema.
75
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.3
76
- */
77
- default(value: JSONSchema6Type): this;
78
- /**
79
- * More readible form of a one-element "enum"
80
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.24
81
- */
82
- const(value: JSONSchema6Type): this;
83
- /**
84
- * This attribute is a string that provides a full description of the of purpose the instance property.
85
- *
86
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2
87
- */
88
- description(description: string): this;
89
- discriminator(): Discriminator;
90
- discriminatorKey(propertyName: string): this;
91
- discriminatorValue(...values: string[]): this;
92
- /**
93
- * This keyword determines how child instances validate for arrays, and does not directly validate the immediate instance itself.
94
- * If "items" is an array of schemas, validation succeeds if every instance element
95
- * at a position greater than the size of "items" validates against "additionalItems".
96
- * Otherwise, "additionalItems" MUST be ignored, as the "items" schema
97
- * (possibly the default value of an empty schema) is applied to all elements.
98
- * Omitting this keyword has the same behavior as an empty schema.
99
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.10
100
- */
101
- additionalItems(additionalItems: boolean | AnyJsonSchema): this;
102
- /**
103
- * An array instance is valid against "contains" if at least one of its elements is valid against the given schema.
104
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.14
105
- */
106
- contains(contains: JSONSchema6Definition): this;
107
- /**
108
- * Array of examples with no validation effect the value of "default" is usable as an example without repeating it under this keyword
109
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.4
110
- */
111
- examples(examples: JSONSchema6Type[]): this;
112
- /**
113
- * Array of examples with no validation effect the value of "default" is usable as an example without repeating it under this keyword
114
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.4
115
- */
116
- example(...examples: JSONSchema6Type[]): this;
117
- /**
118
- * This keyword determines how child instances validate for arrays, and does not directly validate the immediate instance itself.
119
- * Omitting this keyword has the same behavior as an empty schema.
120
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.9
121
- */
122
- items(items: AnyJsonSchema | AnyJsonSchema[]): this;
123
- /**
124
- * Must be a non-negative integer.
125
- * An array instance is valid against "maxItems" if its size is less than, or equal to, the value of this keyword.
126
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.11
127
- */
128
- maxItems(maxItems: number): this;
129
- /**
130
- * Must be a non-negative integer.
131
- * An array instance is valid against "maxItems" if its size is greater than, or equal to, the value of this keyword.
132
- * Omitting this keyword has the same behavior as a value of 0.
133
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.12
134
- */
135
- minItems(minItems: number): this;
136
- /**
137
- * If this keyword has boolean value false, the instance validates successfully.
138
- * If it has boolean value true, the instance validates successfully if all of its elements are unique.
139
- * Omitting this keyword has the same behavior as a value of false.
140
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.13
141
- */
142
- uniqueItems(uniqueItems: boolean): this;
143
- /**
144
- * Must be a non-negative integer.
145
- * An object instance is valid against "maxProperties" if its number of properties is less than, or equal to, the value of this keyword.
146
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.15
147
- */
148
- maxProperties(maxProperties: number): this;
149
- /**
150
- * Must be a non-negative integer.
151
- * An object instance is valid against "maxProperties" if its number of properties is greater than,
152
- * or equal to, the value of this keyword.
153
- * Omitting this keyword has the same behavior as a value of 0.
154
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.16
155
- */
156
- minProperties(minProperties: number): this;
157
- allow(...allow: any[]): this;
158
- /**
159
- * Elements of this array must be unique.
160
- * An object instance is valid against this keyword if every item in the array is the name of a property in the instance.
161
- * Omitting this keyword has the same behavior as an empty array.
162
- *
163
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.17
164
- */
165
- required(required?: boolean | string[]): JsonSchema;
166
- addRequired(property: string): this;
167
- removeRequired(property: string): this;
168
- isRequired(property: string): boolean;
169
- /**
170
- * This keyword determines how child instances validate for objects, and does not directly validate the immediate instance itself.
171
- * Validation succeeds if, for each name that appears in both the instance and as a name within this keyword's value,
172
- * the child instance for that name successfully validates against the corresponding schema.
173
- * Omitting this keyword has the same behavior as an empty object.
174
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.18
175
- */
176
- properties(properties: AnyJsonSchema | Record<string, AnyJsonSchema>): this;
177
- addProperty(key: string, schema: AnyJsonSchema): this;
178
- /**
179
- * This attribute is an object that defines the schema for a set of property names of an object instance.
180
- * The name of each property of this attribute's object is a regular expression pattern in the ECMA 262, while the value is a schema.
181
- * If the pattern matches the name of a property on the instance object, the value of the instance's property
182
- * MUST be valid against the pattern name's schema value.
183
- * Omitting this keyword has the same behavior as an empty object.
184
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.19
185
- */
186
- patternProperties(patternProperties: Record<string, AnyJsonSchema>): this;
187
- /**
188
- * This attribute defines a schema for all properties that are not explicitly defined in an object type definition.
189
- * If specified, the value MUST be a schema or a boolean.
190
- * If false is provided, no additional properties are allowed beyond the properties defined in the schema.
191
- * The default value is an empty schema which allows any value for additional properties.
192
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.20
193
- */
194
- additionalProperties(additionalProperties: boolean | AnyJsonSchema): this;
195
- /**
196
- * This attribute defines a schema for all properties that are not explicitly defined in an object type definition.
197
- * If specified, the value MUST be a schema or a boolean.
198
- * If false is provided, no additional properties are allowed beyond the properties defined in the schema.
199
- * The default value is an empty schema which allows any value for additional properties.
200
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.20
201
- * @alias additionalProperties
202
- * @param unknown
203
- */
204
- unknown(unknown?: boolean): this;
205
- /**
206
- * This keyword specifies rules that are evaluated if the instance is an object and contains a certain property.
207
- * Each property specifies a dependency.
208
- * If the dependency value is an array, each element in the array must be unique.
209
- * Omitting this keyword has the same behavior as an empty object.
210
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.21
211
- */
212
- dependencies(dependencies: {
213
- [p: string]: JSONSchema6Definition | JsonSchema | string[];
214
- }): this;
215
- /**
216
- * Takes a schema which validates the names of all properties rather than their values.
217
- * Note the property name that the schema is testing will always be a string.
218
- * Omitting this keyword has the same behavior as an empty schema.
219
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.22
220
- */
221
- propertyNames(propertyNames: JSONSchema6Definition | JsonSchema): this;
222
- /**
223
- * This provides an enumeration of all possible values that are valid
224
- * for the instance property. This MUST be an array, and each item in
225
- * the array represents a possible value for the instance value. If
226
- * this attribute is defined, the instance value MUST be one of the
227
- * values in the array in order for the schema to be valid.
228
- *
229
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.23
230
- */
231
- enum(...enumValues: any[]): this;
232
- enum(enumSchema: JsonSchema): this;
233
- /**
234
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.1
235
- */
236
- definitions(definitions: Record<string, AnyJsonSchema>): this;
237
- /**
238
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.26
239
- */
240
- allOf(allOf: AnyJsonSchema[]): this;
241
- /**
242
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.27
243
- */
244
- anyOf(anyOf: AnyJsonSchema[]): this;
245
- oneOf(oneOf: AnyJsonSchema[]): this;
246
- /**
247
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.29
248
- */
249
- not(not: AnyJsonSchema): this;
250
- /**
251
- * Must be strictly greater than 0.
252
- * A numeric instance is valid only if division by this keyword's value results in an integer.
253
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.1
254
- */
255
- multipleOf(multipleOf: number): this;
256
- /**
257
- * Representing an inclusive upper limit for a numeric instance.
258
- * This keyword validates only if the instance is less than or exactly equal to "maximum".
259
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.2
260
- */
261
- maximum(maximum: number): this;
262
- /**
263
- * Representing an exclusive upper limit for a numeric instance.
264
- * This keyword validates only if the instance is strictly less than (not equal to) to "exclusiveMaximum".
265
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.3
266
- */
267
- exclusiveMaximum(exclusiveMaximum: number): this;
268
- /**
269
- * Representing an inclusive lower limit for a numeric instance.
270
- * This keyword validates only if the instance is greater than or exactly equal to "minimum".
271
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.4
272
- */
273
- minimum(minimum: number): this;
274
- /**
275
- * Representing an exclusive lower limit for a numeric instance.
276
- * This keyword validates only if the instance is strictly greater than (not equal to) to "exclusiveMinimum".
277
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.5
278
- */
279
- exclusiveMinimum(exclusiveMinimum: number): this;
280
- /**
281
- * Must be a non-negative integer.
282
- * A string instance is valid against this keyword if its length is less than, or equal to, the value of this keyword.
283
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.6
284
- */
285
- maxLength(maxLength: number): this;
286
- /**
287
- * Must be a non-negative integer.
288
- * A string instance is valid against this keyword if its length is greater than, or equal to, the value of this keyword.
289
- * Omitting this keyword has the same behavior as a value of 0.
290
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.7
291
- */
292
- minLength(minLength: number): this;
293
- /**
294
- * Should be a valid regular expression, according to the ECMA 262 regular expression dialect.
295
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.8
296
- */
297
- pattern(pattern: string | RegExp): this;
298
- /**
299
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-8
300
- */
301
- format(format: JsonFormatTypes | ValueOf<JsonFormatTypes>): this;
302
- /**
303
- * A single type, or a union of simple types
304
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-6.25
305
- */
306
- type(type: any | JSONSchema6TypeName | JSONSchema6TypeName[]): this;
307
- any(...types: any[]): this;
308
- integer(): this;
309
- /**
310
- * This attribute is a string that provides a short description of the instance property.
311
- *
312
- * @see https://tools.ietf.org/html/draft-wright-json-schema-validation-01#section-7.2
313
- */
314
- title(title: string): this;
315
- readOnly(readOnly: boolean): this;
316
- writeOnly(readOnly: boolean): this;
317
- customKey(key: string, value: any): this;
318
- toObject(options?: JsonSchemaOptions): any;
319
- toJSON(options?: JsonSchemaOptions): any;
320
- assign(obj?: JsonSchema | Partial<JsonSchemaObject>): this;
321
- set(key: string, value: any): this;
322
- /**
323
- * Return the itemSchema computed type.
324
- * If the type is a function used for recursive model,
325
- * the function will be called to get the right type.
326
- */
327
- getComputedType(): any;
328
- getComputedItemType(): any;
329
- /**
330
- * Return the Json type as string
331
- */
332
- getJsonType(): string | string[];
333
- getTarget(): Type<any>;
334
- /**
335
- * Get the symbolic name of the entity
336
- */
337
- getName(): any;
338
- clone(): JsonSchema;
339
- protected setManyOf(keyword: "oneOf" | "anyOf" | "allOf", value: AnyJsonSchema[]): this | undefined;
340
- }
@@ -1,6 +0,0 @@
1
- export declare enum SpecTypes {
2
- JSON = "jsonschema",
3
- SWAGGER = "swagger2",
4
- OPENAPI = "openapi3",
5
- ASYNCAPI = "asyncapi2"
6
- }
@@ -1,10 +0,0 @@
1
- import { Hooks } from "@tsed/core";
2
- /**
3
- * @ignore
4
- * @param schema
5
- * @param options
6
- */
7
- export declare function alterIgnore(schema: {
8
- $hooks: Hooks;
9
- $ignore: boolean | Function;
10
- }, options: any): boolean;
@@ -1,3 +0,0 @@
1
- import type { JsonSchema } from "../domain/JsonSchema.js";
2
- import type { JsonSchemaOptions } from "../interfaces/JsonSchemaOptions.js";
3
- export declare function alterOneOf(obj: any, schema: JsonSchema, options: JsonSchemaOptions): any;
@@ -1,6 +0,0 @@
1
- import type { JsonSchema } from "../domain/JsonSchema.js";
2
- import type { JsonSchemaOptions } from "../interfaces/JsonSchemaOptions.js";
3
- /**
4
- * @ignore
5
- */
6
- export declare function alterRequiredGroups(required: string[], schema: JsonSchema, options: JsonSchemaOptions): string[];