@bfra.me/api-core 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (602) hide show
  1. package/package.json +6 -1
  2. package/CHANGELOG.md +0 -11
  3. package/dist/chunk-7NM3WYHE.js.map +0 -1
  4. package/dist/chunk-7QVYU63E.js.map +0 -1
  5. package/dist/chunk-HKKQOEV3.js.map +0 -1
  6. package/dist/errors/fetchError.js.map +0 -1
  7. package/dist/index.js.map +0 -1
  8. package/dist/lib/index.js.map +0 -1
  9. package/dist/types.js.map +0 -1
  10. package/eslint.config.ts +0 -25
  11. package/test-utils/CHANGELOG.md +0 -11
  12. package/test-utils/datasets/real-world-apis.json +0 -8507
  13. package/test-utils/datasets/refresh-dataset +0 -336
  14. package/test-utils/definitions/alby.json +0 -5391
  15. package/test-utils/definitions/auth-quirks.json +0 -62
  16. package/test-utils/definitions/basiq.json +0 -104
  17. package/test-utils/definitions/metrotransit.json +0 -318
  18. package/test-utils/definitions/nested-defaults.json +0 -107
  19. package/test-utils/definitions/operationid-quirks.json +0 -36
  20. package/test-utils/definitions/optional-payload.json +0 -57
  21. package/test-utils/definitions/payloads.json +0 -58
  22. package/test-utils/definitions/response-title-quirks.json +0 -77
  23. package/test-utils/definitions/simple.json +0 -291
  24. package/test-utils/fetch-mock.ts +0 -81
  25. package/test-utils/fixtures/hello.jp.txt +0 -1
  26. package/test-utils/fixtures/hello.txt +0 -1
  27. package/test-utils/fixtures/owlbert-shrub.png +0 -0
  28. package/test-utils/fixtures/owlbert.png +0 -0
  29. package/test-utils/index.ts +0 -2
  30. package/test-utils/load-spec.ts +0 -8
  31. package/test-utils/node_modules/.bin/tsc +0 -17
  32. package/test-utils/node_modules/.bin/tsserver +0 -17
  33. package/test-utils/package.json +0 -20
  34. package/test-utils/sdks/README.md +0 -3
  35. package/test-utils/sdks/alby/README.md +0 -23
  36. package/test-utils/sdks/alby/package.json +0 -55
  37. package/test-utils/sdks/alby/src/index.ts +0 -18
  38. package/test-utils/sdks/alby/src/schemas/AmqpExternalRulePatch.ts +0 -92
  39. package/test-utils/sdks/alby/src/schemas/AmqpExternalRulePost.ts +0 -93
  40. package/test-utils/sdks/alby/src/schemas/AmqpExternalRuleResponse.ts +0 -143
  41. package/test-utils/sdks/alby/src/schemas/AmqpRulePatch.ts +0 -76
  42. package/test-utils/sdks/alby/src/schemas/AmqpRulePost.ts +0 -85
  43. package/test-utils/sdks/alby/src/schemas/AmqpRuleResponse.ts +0 -124
  44. package/test-utils/sdks/alby/src/schemas/AppPatch.ts +0 -68
  45. package/test-utils/sdks/alby/src/schemas/AppPkcs12.ts +0 -22
  46. package/test-utils/sdks/alby/src/schemas/AppPost.ts +0 -71
  47. package/test-utils/sdks/alby/src/schemas/AppResponse.ts +0 -69
  48. package/test-utils/sdks/alby/src/schemas/AwsAccessKeys.ts +0 -28
  49. package/test-utils/sdks/alby/src/schemas/AwsAccessKeysResponse.ts +0 -20
  50. package/test-utils/sdks/alby/src/schemas/AwsAssumeRole.ts +0 -23
  51. package/test-utils/sdks/alby/src/schemas/AwsKinesisRulePatch.ts +0 -90
  52. package/test-utils/sdks/alby/src/schemas/AwsKinesisRulePost.ts +0 -103
  53. package/test-utils/sdks/alby/src/schemas/AwsKinesisRuleResponse.ts +0 -142
  54. package/test-utils/sdks/alby/src/schemas/AwsLambdaRulePatch.ts +0 -90
  55. package/test-utils/sdks/alby/src/schemas/AwsLambdaRulePost.ts +0 -90
  56. package/test-utils/sdks/alby/src/schemas/AwsLambdaRuleResponse.ts +0 -132
  57. package/test-utils/sdks/alby/src/schemas/AwsSqsRulePatch.ts +0 -86
  58. package/test-utils/sdks/alby/src/schemas/AwsSqsRulePost.ts +0 -98
  59. package/test-utils/sdks/alby/src/schemas/AwsSqsRuleResponse.ts +0 -137
  60. package/test-utils/sdks/alby/src/schemas/AzureFunctionRulePatch.ts +0 -96
  61. package/test-utils/sdks/alby/src/schemas/AzureFunctionRulePost.ts +0 -106
  62. package/test-utils/sdks/alby/src/schemas/AzureFunctionRuleResponse.ts +0 -145
  63. package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRulePatch.ts +0 -74
  64. package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRulePost.ts +0 -83
  65. package/test-utils/sdks/alby/src/schemas/CloudflareWorkerRuleResponse.ts +0 -125
  66. package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdNamespacesNamespaceId.ts +0 -26
  67. package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdQueuesQueueId.ts +0 -26
  68. package/test-utils/sdks/alby/src/schemas/DeleteAppsAppIdRulesRuleId.ts +0 -26
  69. package/test-utils/sdks/alby/src/schemas/DeleteAppsId.ts +0 -20
  70. package/test-utils/sdks/alby/src/schemas/Error.ts +0 -39
  71. package/test-utils/sdks/alby/src/schemas/GetAccountsAccountIdApps.ts +0 -29
  72. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdKeys.ts +0 -29
  73. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdNamespaces.ts +0 -29
  74. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdQueues.ts +0 -29
  75. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdRules.ts +0 -29
  76. package/test-utils/sdks/alby/src/schemas/GetAppsAppIdRulesRuleId.ts +0 -26
  77. package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRulePatch.ts +0 -100
  78. package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRulePost.ts +0 -100
  79. package/test-utils/sdks/alby/src/schemas/GoogleCloudFunctionRuleResponse.ts +0 -150
  80. package/test-utils/sdks/alby/src/schemas/HttpRulePatch.ts +0 -89
  81. package/test-utils/sdks/alby/src/schemas/HttpRulePost.ts +0 -100
  82. package/test-utils/sdks/alby/src/schemas/HttpRuleResponse.ts +0 -138
  83. package/test-utils/sdks/alby/src/schemas/IftttRulePatch.ts +0 -59
  84. package/test-utils/sdks/alby/src/schemas/IftttRulePost.ts +0 -62
  85. package/test-utils/sdks/alby/src/schemas/IftttRuleResponse.ts +0 -101
  86. package/test-utils/sdks/alby/src/schemas/KeyPatch.ts +0 -34
  87. package/test-utils/sdks/alby/src/schemas/KeyPost.ts +0 -39
  88. package/test-utils/sdks/alby/src/schemas/KeyResponse.ts +0 -63
  89. package/test-utils/sdks/alby/src/schemas/Me.ts +0 -98
  90. package/test-utils/sdks/alby/src/schemas/NamespacePatch.ts +0 -49
  91. package/test-utils/sdks/alby/src/schemas/NamespacePost.ts +0 -59
  92. package/test-utils/sdks/alby/src/schemas/NamespaceResponse.ts +0 -70
  93. package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdKeysKeyId.ts +0 -26
  94. package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdNamespacesNamespaceId.ts +0 -26
  95. package/test-utils/sdks/alby/src/schemas/PatchAppsAppIdRulesRuleId.ts +0 -26
  96. package/test-utils/sdks/alby/src/schemas/PatchAppsId.ts +0 -20
  97. package/test-utils/sdks/alby/src/schemas/PostAccountsAccountIdApps.ts +0 -20
  98. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdKeys.ts +0 -20
  99. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdKeysKeyIdRevoke.ts +0 -26
  100. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdNamespaces.ts +0 -20
  101. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdQueues.ts +0 -20
  102. package/test-utils/sdks/alby/src/schemas/PostAppsAppIdRules.ts +0 -20
  103. package/test-utils/sdks/alby/src/schemas/PostAppsIdPkcs12.ts +0 -20
  104. package/test-utils/sdks/alby/src/schemas/Queue.ts +0 -43
  105. package/test-utils/sdks/alby/src/schemas/QueueResponse.ts +0 -185
  106. package/test-utils/sdks/alby/src/schemas/RulePatch.ts +0 -46
  107. package/test-utils/sdks/alby/src/schemas/RulePost.ts +0 -49
  108. package/test-utils/sdks/alby/src/schemas/RuleResponse.ts +0 -46
  109. package/test-utils/sdks/alby/src/schemas/RuleSource.ts +0 -30
  110. package/test-utils/sdks/alby/src/schemas/UnsupportedRuleResponse.ts +0 -98
  111. package/test-utils/sdks/alby/src/schemas/ZapierRulePatch.ts +0 -74
  112. package/test-utils/sdks/alby/src/schemas/ZapierRulePost.ts +0 -83
  113. package/test-utils/sdks/alby/src/schemas/ZapierRuleResponse.ts +0 -122
  114. package/test-utils/sdks/alby/src/schemas.ts +0 -77
  115. package/test-utils/sdks/alby/src/sdk.ts +0 -381
  116. package/test-utils/sdks/alby/src/types.ts +0 -84
  117. package/test-utils/sdks/alby/tsconfig.json +0 -12
  118. package/test-utils/sdks/metrotransit/README.md +0 -22
  119. package/test-utils/sdks/metrotransit/package.json +0 -55
  120. package/test-utils/sdks/metrotransit/src/index.ts +0 -12
  121. package/test-utils/sdks/metrotransit/src/schemas/Agency.ts +0 -19
  122. package/test-utils/sdks/metrotransit/src/schemas/AlertMessage.ts +0 -18
  123. package/test-utils/sdks/metrotransit/src/schemas/Departure.ts +0 -78
  124. package/test-utils/sdks/metrotransit/src/schemas/Direction.ts +0 -19
  125. package/test-utils/sdks/metrotransit/src/schemas/GetNextripAgencies.ts +0 -12
  126. package/test-utils/sdks/metrotransit/src/schemas/GetNextripDirectionsRouteId.ts +0 -28
  127. package/test-utils/sdks/metrotransit/src/schemas/GetNextripRouteIdDirectionIdPlaceCode.ts +0 -30
  128. package/test-utils/sdks/metrotransit/src/schemas/GetNextripRoutes.ts +0 -12
  129. package/test-utils/sdks/metrotransit/src/schemas/GetNextripStopId.ts +0 -20
  130. package/test-utils/sdks/metrotransit/src/schemas/GetNextripStopsRouteIdDirectionId.ts +0 -34
  131. package/test-utils/sdks/metrotransit/src/schemas/GetNextripVehiclesRouteId.ts +0 -28
  132. package/test-utils/sdks/metrotransit/src/schemas/NexTripResult.ts +0 -34
  133. package/test-utils/sdks/metrotransit/src/schemas/Place.ts +0 -21
  134. package/test-utils/sdks/metrotransit/src/schemas/ProblemDetails.ts +0 -40
  135. package/test-utils/sdks/metrotransit/src/schemas/Route.ts +0 -25
  136. package/test-utils/sdks/metrotransit/src/schemas/Stop.ts +0 -27
  137. package/test-utils/sdks/metrotransit/src/schemas/Vehicle.ts +0 -61
  138. package/test-utils/sdks/metrotransit/src/schemas.ts +0 -18
  139. package/test-utils/sdks/metrotransit/src/sdk.ts +0 -107
  140. package/test-utils/sdks/metrotransit/src/types.ts +0 -23
  141. package/test-utils/sdks/metrotransit/tsconfig.json +0 -12
  142. package/test-utils/sdks/operationid-quirks/README.md +0 -22
  143. package/test-utils/sdks/operationid-quirks/package.json +0 -50
  144. package/test-utils/sdks/operationid-quirks/src/index.ts +0 -9
  145. package/test-utils/sdks/operationid-quirks/src/sdk.ts +0 -107
  146. package/test-utils/sdks/operationid-quirks/tsconfig.json +0 -12
  147. package/test-utils/sdks/optional-payload/README.md +0 -14
  148. package/test-utils/sdks/optional-payload/package.json +0 -55
  149. package/test-utils/sdks/optional-payload/src/index.ts +0 -9
  150. package/test-utils/sdks/optional-payload/src/schemas/UpdatePetWithForm.ts +0 -35
  151. package/test-utils/sdks/optional-payload/src/schemas.ts +0 -2
  152. package/test-utils/sdks/optional-payload/src/sdk.ts +0 -82
  153. package/test-utils/sdks/optional-payload/src/types.ts +0 -5
  154. package/test-utils/sdks/optional-payload/tsconfig.json +0 -12
  155. package/test-utils/sdks/petstore/LICENSE +0 -97
  156. package/test-utils/sdks/petstore/README.md +0 -23
  157. package/test-utils/sdks/petstore/package.json +0 -56
  158. package/test-utils/sdks/petstore/src/index.ts +0 -17
  159. package/test-utils/sdks/petstore/src/schemas/ApiResponse.ts +0 -18
  160. package/test-utils/sdks/petstore/src/schemas/Category.ts +0 -15
  161. package/test-utils/sdks/petstore/src/schemas/CreateUsersWithArrayInput.ts +0 -10
  162. package/test-utils/sdks/petstore/src/schemas/CreateUsersWithListInput.ts +0 -10
  163. package/test-utils/sdks/petstore/src/schemas/DeleteOrder.ts +0 -22
  164. package/test-utils/sdks/petstore/src/schemas/DeletePet.ts +0 -31
  165. package/test-utils/sdks/petstore/src/schemas/DeleteUser.ts +0 -20
  166. package/test-utils/sdks/petstore/src/schemas/FindPetsByStatus.ts +0 -38
  167. package/test-utils/sdks/petstore/src/schemas/FindPetsByTags.ts +0 -32
  168. package/test-utils/sdks/petstore/src/schemas/GetInventory.ts +0 -13
  169. package/test-utils/sdks/petstore/src/schemas/GetOrderById.ts +0 -23
  170. package/test-utils/sdks/petstore/src/schemas/GetPetById.ts +0 -21
  171. package/test-utils/sdks/petstore/src/schemas/GetUserByName.ts +0 -20
  172. package/test-utils/sdks/petstore/src/schemas/LoginUser.ts +0 -32
  173. package/test-utils/sdks/petstore/src/schemas/Order.ts +0 -37
  174. package/test-utils/sdks/petstore/src/schemas/Pet.ts +0 -53
  175. package/test-utils/sdks/petstore/src/schemas/Tag.ts +0 -15
  176. package/test-utils/sdks/petstore/src/schemas/UpdatePetWithForm.ts +0 -35
  177. package/test-utils/sdks/petstore/src/schemas/UpdateUser.ts +0 -20
  178. package/test-utils/sdks/petstore/src/schemas/UploadFile.ts +0 -36
  179. package/test-utils/sdks/petstore/src/schemas/User.ts +0 -35
  180. package/test-utils/sdks/petstore/src/schemas.ts +0 -22
  181. package/test-utils/sdks/petstore/src/sdk.ts +0 -248
  182. package/test-utils/sdks/petstore/src/types.ts +0 -29
  183. package/test-utils/sdks/petstore/tsconfig.json +0 -12
  184. package/test-utils/sdks/readme/README.md +0 -23
  185. package/test-utils/sdks/readme/package.json +0 -55
  186. package/test-utils/sdks/readme/src/index.ts +0 -13
  187. package/test-utils/sdks/readme/src/schemas/Apply.ts +0 -61
  188. package/test-utils/sdks/readme/src/schemas/Category.ts +0 -24
  189. package/test-utils/sdks/readme/src/schemas/Changelog.ts +0 -36
  190. package/test-utils/sdks/readme/src/schemas/CondensedProjectData.ts +0 -25
  191. package/test-utils/sdks/readme/src/schemas/CreateCategory.ts +0 -21
  192. package/test-utils/sdks/readme/src/schemas/CreateCustomPage.ts +0 -22
  193. package/test-utils/sdks/readme/src/schemas/CreateDoc.ts +0 -40
  194. package/test-utils/sdks/readme/src/schemas/CreateVersion.ts +0 -33
  195. package/test-utils/sdks/readme/src/schemas/CustomPage.ts +0 -33
  196. package/test-utils/sdks/readme/src/schemas/DeleteApiSpecification.ts +0 -39
  197. package/test-utils/sdks/readme/src/schemas/DeleteCategory.ts +0 -37
  198. package/test-utils/sdks/readme/src/schemas/DeleteChangelog.ts +0 -20
  199. package/test-utils/sdks/readme/src/schemas/DeleteCustomPage.ts +0 -39
  200. package/test-utils/sdks/readme/src/schemas/DeleteDoc.ts +0 -53
  201. package/test-utils/sdks/readme/src/schemas/DeleteVersion.ts +0 -42
  202. package/test-utils/sdks/readme/src/schemas/DocSchemaPost.ts +0 -135
  203. package/test-utils/sdks/readme/src/schemas/DocSchemaPut.ts +0 -62
  204. package/test-utils/sdks/readme/src/schemas/DocSchemaResponse.ts +0 -54
  205. package/test-utils/sdks/readme/src/schemas/ErrorApikeyEmpty.ts +0 -49
  206. package/test-utils/sdks/readme/src/schemas/ErrorApikeyMismatch.ts +0 -49
  207. package/test-utils/sdks/readme/src/schemas/ErrorApikeyNotfound.ts +0 -49
  208. package/test-utils/sdks/readme/src/schemas/ErrorCategoryInvalid.ts +0 -49
  209. package/test-utils/sdks/readme/src/schemas/ErrorCategoryNotfound.ts +0 -49
  210. package/test-utils/sdks/readme/src/schemas/ErrorCustompageInvalid.ts +0 -49
  211. package/test-utils/sdks/readme/src/schemas/ErrorCustompageNotfound.ts +0 -49
  212. package/test-utils/sdks/readme/src/schemas/ErrorDocInvalid.ts +0 -49
  213. package/test-utils/sdks/readme/src/schemas/ErrorDocNotfound.ts +0 -49
  214. package/test-utils/sdks/readme/src/schemas/ErrorRegistryNotfound.ts +0 -49
  215. package/test-utils/sdks/readme/src/schemas/ErrorSpecFileEmpty.ts +0 -49
  216. package/test-utils/sdks/readme/src/schemas/ErrorSpecIdDuplicate.ts +0 -49
  217. package/test-utils/sdks/readme/src/schemas/ErrorSpecIdInvalid.ts +0 -49
  218. package/test-utils/sdks/readme/src/schemas/ErrorSpecInvalid.ts +0 -49
  219. package/test-utils/sdks/readme/src/schemas/ErrorSpecInvalidSchema.ts +0 -49
  220. package/test-utils/sdks/readme/src/schemas/ErrorSpecNotfound.ts +0 -49
  221. package/test-utils/sdks/readme/src/schemas/ErrorSpecTimeout.ts +0 -49
  222. package/test-utils/sdks/readme/src/schemas/ErrorSpecVersionNotfound.ts +0 -49
  223. package/test-utils/sdks/readme/src/schemas/ErrorVersionCantDemoteStable.ts +0 -49
  224. package/test-utils/sdks/readme/src/schemas/ErrorVersionCantRemoveStable.ts +0 -49
  225. package/test-utils/sdks/readme/src/schemas/ErrorVersionDuplicate.ts +0 -49
  226. package/test-utils/sdks/readme/src/schemas/ErrorVersionEmpty.ts +0 -49
  227. package/test-utils/sdks/readme/src/schemas/ErrorVersionForkEmpty.ts +0 -49
  228. package/test-utils/sdks/readme/src/schemas/ErrorVersionForkNotfound.ts +0 -49
  229. package/test-utils/sdks/readme/src/schemas/ErrorVersionNotfound.ts +0 -49
  230. package/test-utils/sdks/readme/src/schemas/GetApiRegistry.ts +0 -27
  231. package/test-utils/sdks/readme/src/schemas/GetApiSchema.ts +0 -10
  232. package/test-utils/sdks/readme/src/schemas/GetApiSpecification.ts +0 -74
  233. package/test-utils/sdks/readme/src/schemas/GetCategories.ts +0 -57
  234. package/test-utils/sdks/readme/src/schemas/GetCategory.ts +0 -37
  235. package/test-utils/sdks/readme/src/schemas/GetCategoryDocs.ts +0 -37
  236. package/test-utils/sdks/readme/src/schemas/GetChangelog.ts +0 -20
  237. package/test-utils/sdks/readme/src/schemas/GetChangelogs.ts +0 -43
  238. package/test-utils/sdks/readme/src/schemas/GetCustomPage.ts +0 -39
  239. package/test-utils/sdks/readme/src/schemas/GetCustomPages.ts +0 -60
  240. package/test-utils/sdks/readme/src/schemas/GetDoc.ts +0 -53
  241. package/test-utils/sdks/readme/src/schemas/GetOpenRoles.ts +0 -12
  242. package/test-utils/sdks/readme/src/schemas/GetProductionDoc.ts +0 -53
  243. package/test-utils/sdks/readme/src/schemas/GetProject.ts +0 -22
  244. package/test-utils/sdks/readme/src/schemas/GetVersion.ts +0 -42
  245. package/test-utils/sdks/readme/src/schemas/GetVersions.ts +0 -22
  246. package/test-utils/sdks/readme/src/schemas/JobOpening.ts +0 -52
  247. package/test-utils/sdks/readme/src/schemas/SearchDocs.ts +0 -53
  248. package/test-utils/sdks/readme/src/schemas/UpdateApiSpecification.ts +0 -67
  249. package/test-utils/sdks/readme/src/schemas/UpdateCategory.ts +0 -37
  250. package/test-utils/sdks/readme/src/schemas/UpdateChangelog.ts +0 -20
  251. package/test-utils/sdks/readme/src/schemas/UpdateCustomPage.ts +0 -39
  252. package/test-utils/sdks/readme/src/schemas/UpdateDoc.ts +0 -53
  253. package/test-utils/sdks/readme/src/schemas/UpdateVersion.ts +0 -42
  254. package/test-utils/sdks/readme/src/schemas/UploadApiSpecification.ts +0 -64
  255. package/test-utils/sdks/readme/src/schemas/Version.ts +0 -40
  256. package/test-utils/sdks/readme/src/schemas.ts +0 -70
  257. package/test-utils/sdks/readme/src/sdk.ts +0 -477
  258. package/test-utils/sdks/readme/src/types.ts +0 -120
  259. package/test-utils/sdks/readme/tsconfig.json +0 -12
  260. package/test-utils/sdks/response-title-quirks/README.md +0 -14
  261. package/test-utils/sdks/response-title-quirks/package.json +0 -55
  262. package/test-utils/sdks/response-title-quirks/src/index.ts +0 -9
  263. package/test-utils/sdks/response-title-quirks/src/schemas/GetAnything.ts +0 -60
  264. package/test-utils/sdks/response-title-quirks/src/schemas.ts +0 -2
  265. package/test-utils/sdks/response-title-quirks/src/sdk.ts +0 -76
  266. package/test-utils/sdks/response-title-quirks/src/types.ts +0 -5
  267. package/test-utils/sdks/response-title-quirks/tsconfig.json +0 -12
  268. package/test-utils/sdks/simple/README.md +0 -14
  269. package/test-utils/sdks/simple/package.json +0 -55
  270. package/test-utils/sdks/simple/src/index.ts +0 -10
  271. package/test-utils/sdks/simple/src/schemas/Category.ts +0 -15
  272. package/test-utils/sdks/simple/src/schemas/FindPetsByStatus.ts +0 -38
  273. package/test-utils/sdks/simple/src/schemas/Pet.ts +0 -53
  274. package/test-utils/sdks/simple/src/schemas/Tag.ts +0 -15
  275. package/test-utils/sdks/simple/src/schemas.ts +0 -5
  276. package/test-utils/sdks/simple/src/sdk.ts +0 -81
  277. package/test-utils/sdks/simple/src/types.ts +0 -8
  278. package/test-utils/sdks/simple/tsconfig.json +0 -12
  279. package/test-utils/sdks/star-trek/README.md +0 -22
  280. package/test-utils/sdks/star-trek/package.json +0 -55
  281. package/test-utils/sdks/star-trek/src/index.ts +0 -9
  282. package/test-utils/sdks/star-trek/src/schemas/AnimalBase.ts +0 -41
  283. package/test-utils/sdks/star-trek/src/schemas/AnimalBaseResponse.ts +0 -20
  284. package/test-utils/sdks/star-trek/src/schemas/AnimalFull.ts +0 -41
  285. package/test-utils/sdks/star-trek/src/schemas/AnimalFullResponse.ts +0 -12
  286. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectBase.ts +0 -27
  287. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectBaseResponse.ts +0 -20
  288. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectFull.ts +0 -32
  289. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectFullResponse.ts +0 -12
  290. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectHeader.ts +0 -21
  291. package/test-utils/sdks/star-trek/src/schemas/AstronomicalObjectType.ts +0 -36
  292. package/test-utils/sdks/star-trek/src/schemas/BloodType.ts +0 -12
  293. package/test-utils/sdks/star-trek/src/schemas/BookBase.ts +0 -120
  294. package/test-utils/sdks/star-trek/src/schemas/BookBaseResponse.ts +0 -20
  295. package/test-utils/sdks/star-trek/src/schemas/BookCollectionBase.ts +0 -51
  296. package/test-utils/sdks/star-trek/src/schemas/BookCollectionBaseResponse.ts +0 -20
  297. package/test-utils/sdks/star-trek/src/schemas/BookCollectionFull.ts +0 -98
  298. package/test-utils/sdks/star-trek/src/schemas/BookCollectionFullResponse.ts +0 -12
  299. package/test-utils/sdks/star-trek/src/schemas/BookFull.ts +0 -182
  300. package/test-utils/sdks/star-trek/src/schemas/BookFullResponse.ts +0 -12
  301. package/test-utils/sdks/star-trek/src/schemas/BookSeriesBase.ts +0 -57
  302. package/test-utils/sdks/star-trek/src/schemas/BookSeriesBaseResponse.ts +0 -20
  303. package/test-utils/sdks/star-trek/src/schemas/BookSeriesFull.ts +0 -81
  304. package/test-utils/sdks/star-trek/src/schemas/BookSeriesFullResponse.ts +0 -12
  305. package/test-utils/sdks/star-trek/src/schemas/CharacterBase.ts +0 -104
  306. package/test-utils/sdks/star-trek/src/schemas/CharacterBaseResponse.ts +0 -20
  307. package/test-utils/sdks/star-trek/src/schemas/CharacterFull.ts +0 -152
  308. package/test-utils/sdks/star-trek/src/schemas/CharacterFullResponse.ts +0 -12
  309. package/test-utils/sdks/star-trek/src/schemas/CharacterHeader.ts +0 -21
  310. package/test-utils/sdks/star-trek/src/schemas/CharacterRelation.ts +0 -17
  311. package/test-utils/sdks/star-trek/src/schemas/CharacterSpecies.ts +0 -25
  312. package/test-utils/sdks/star-trek/src/schemas/ComicCollectionBase.ts +0 -71
  313. package/test-utils/sdks/star-trek/src/schemas/ComicCollectionBaseResponse.ts +0 -20
  314. package/test-utils/sdks/star-trek/src/schemas/ComicCollectionFull.ts +0 -123
  315. package/test-utils/sdks/star-trek/src/schemas/ComicCollectionFullResponse.ts +0 -12
  316. package/test-utils/sdks/star-trek/src/schemas/ComicSeriesBase.ts +0 -75
  317. package/test-utils/sdks/star-trek/src/schemas/ComicSeriesBaseResponse.ts +0 -20
  318. package/test-utils/sdks/star-trek/src/schemas/ComicSeriesFull.ts +0 -99
  319. package/test-utils/sdks/star-trek/src/schemas/ComicSeriesFullResponse.ts +0 -12
  320. package/test-utils/sdks/star-trek/src/schemas/ComicStripBase.ts +0 -61
  321. package/test-utils/sdks/star-trek/src/schemas/ComicStripBaseResponse.ts +0 -20
  322. package/test-utils/sdks/star-trek/src/schemas/ComicStripFull.ts +0 -85
  323. package/test-utils/sdks/star-trek/src/schemas/ComicStripFullResponse.ts +0 -12
  324. package/test-utils/sdks/star-trek/src/schemas/ComicsBase.ts +0 -75
  325. package/test-utils/sdks/star-trek/src/schemas/ComicsBaseResponse.ts +0 -20
  326. package/test-utils/sdks/star-trek/src/schemas/ComicsFull.ts +0 -127
  327. package/test-utils/sdks/star-trek/src/schemas/ComicsFullResponse.ts +0 -12
  328. package/test-utils/sdks/star-trek/src/schemas/CompanyBase.ts +0 -89
  329. package/test-utils/sdks/star-trek/src/schemas/CompanyBaseResponse.ts +0 -20
  330. package/test-utils/sdks/star-trek/src/schemas/CompanyFull.ts +0 -89
  331. package/test-utils/sdks/star-trek/src/schemas/CompanyFullResponse.ts +0 -12
  332. package/test-utils/sdks/star-trek/src/schemas/CompanyHeader.ts +0 -21
  333. package/test-utils/sdks/star-trek/src/schemas/ConflictBase.ts +0 -49
  334. package/test-utils/sdks/star-trek/src/schemas/ConflictBaseResponse.ts +0 -20
  335. package/test-utils/sdks/star-trek/src/schemas/ConflictFull.ts +0 -78
  336. package/test-utils/sdks/star-trek/src/schemas/ConflictFullResponse.ts +0 -12
  337. package/test-utils/sdks/star-trek/src/schemas/ContentLanguage.ts +0 -21
  338. package/test-utils/sdks/star-trek/src/schemas/ContentRating.ts +0 -20
  339. package/test-utils/sdks/star-trek/src/schemas/ContentRatingSystem.ts +0 -35
  340. package/test-utils/sdks/star-trek/src/schemas/Country.ts +0 -21
  341. package/test-utils/sdks/star-trek/src/schemas/ElementBase.ts +0 -61
  342. package/test-utils/sdks/star-trek/src/schemas/ElementBaseResponse.ts +0 -20
  343. package/test-utils/sdks/star-trek/src/schemas/ElementFull.ts +0 -61
  344. package/test-utils/sdks/star-trek/src/schemas/ElementFullResponse.ts +0 -12
  345. package/test-utils/sdks/star-trek/src/schemas/EpisodeBase.ts +0 -82
  346. package/test-utils/sdks/star-trek/src/schemas/EpisodeBaseResponse.ts +0 -20
  347. package/test-utils/sdks/star-trek/src/schemas/EpisodeFull.ts +0 -125
  348. package/test-utils/sdks/star-trek/src/schemas/EpisodeFullResponse.ts +0 -12
  349. package/test-utils/sdks/star-trek/src/schemas/Error.ts +0 -17
  350. package/test-utils/sdks/star-trek/src/schemas/FoodBase.ts +0 -61
  351. package/test-utils/sdks/star-trek/src/schemas/FoodBaseResponse.ts +0 -20
  352. package/test-utils/sdks/star-trek/src/schemas/FoodFull.ts +0 -61
  353. package/test-utils/sdks/star-trek/src/schemas/FoodFullResponse.ts +0 -12
  354. package/test-utils/sdks/star-trek/src/schemas/Gender.ts +0 -11
  355. package/test-utils/sdks/star-trek/src/schemas/Genre.ts +0 -17
  356. package/test-utils/sdks/star-trek/src/schemas/GetAnimal.ts +0 -25
  357. package/test-utils/sdks/star-trek/src/schemas/GetAnimalSearch.ts +0 -30
  358. package/test-utils/sdks/star-trek/src/schemas/GetAstronomicalobject.ts +0 -25
  359. package/test-utils/sdks/star-trek/src/schemas/GetAstronomicalobjectSearch.ts +0 -30
  360. package/test-utils/sdks/star-trek/src/schemas/GetBook.ts +0 -25
  361. package/test-utils/sdks/star-trek/src/schemas/GetBookSearch.ts +0 -30
  362. package/test-utils/sdks/star-trek/src/schemas/GetBookcollection.ts +0 -25
  363. package/test-utils/sdks/star-trek/src/schemas/GetBookcollectionSearch.ts +0 -30
  364. package/test-utils/sdks/star-trek/src/schemas/GetBookseries.ts +0 -25
  365. package/test-utils/sdks/star-trek/src/schemas/GetBookseriesSearch.ts +0 -30
  366. package/test-utils/sdks/star-trek/src/schemas/GetCharacter.ts +0 -25
  367. package/test-utils/sdks/star-trek/src/schemas/GetCharacterSearch.ts +0 -30
  368. package/test-utils/sdks/star-trek/src/schemas/GetComiccollection.ts +0 -25
  369. package/test-utils/sdks/star-trek/src/schemas/GetComiccollectionSearch.ts +0 -30
  370. package/test-utils/sdks/star-trek/src/schemas/GetComics.ts +0 -25
  371. package/test-utils/sdks/star-trek/src/schemas/GetComicsSearch.ts +0 -30
  372. package/test-utils/sdks/star-trek/src/schemas/GetComicseries.ts +0 -25
  373. package/test-utils/sdks/star-trek/src/schemas/GetComicseriesSearch.ts +0 -30
  374. package/test-utils/sdks/star-trek/src/schemas/GetComicstrip.ts +0 -25
  375. package/test-utils/sdks/star-trek/src/schemas/GetComicstripSearch.ts +0 -30
  376. package/test-utils/sdks/star-trek/src/schemas/GetCompany.ts +0 -25
  377. package/test-utils/sdks/star-trek/src/schemas/GetCompanySearch.ts +0 -30
  378. package/test-utils/sdks/star-trek/src/schemas/GetConflict.ts +0 -25
  379. package/test-utils/sdks/star-trek/src/schemas/GetConflictSearch.ts +0 -30
  380. package/test-utils/sdks/star-trek/src/schemas/GetElement.ts +0 -25
  381. package/test-utils/sdks/star-trek/src/schemas/GetElementSearch.ts +0 -30
  382. package/test-utils/sdks/star-trek/src/schemas/GetEpisode.ts +0 -25
  383. package/test-utils/sdks/star-trek/src/schemas/GetEpisodeSearch.ts +0 -30
  384. package/test-utils/sdks/star-trek/src/schemas/GetFood.ts +0 -25
  385. package/test-utils/sdks/star-trek/src/schemas/GetFoodSearch.ts +0 -30
  386. package/test-utils/sdks/star-trek/src/schemas/GetLiterature.ts +0 -25
  387. package/test-utils/sdks/star-trek/src/schemas/GetLiteratureSearch.ts +0 -30
  388. package/test-utils/sdks/star-trek/src/schemas/GetLocation.ts +0 -25
  389. package/test-utils/sdks/star-trek/src/schemas/GetLocationSearch.ts +0 -30
  390. package/test-utils/sdks/star-trek/src/schemas/GetMagazine.ts +0 -25
  391. package/test-utils/sdks/star-trek/src/schemas/GetMagazineSearch.ts +0 -30
  392. package/test-utils/sdks/star-trek/src/schemas/GetMagazineseries.ts +0 -25
  393. package/test-utils/sdks/star-trek/src/schemas/GetMagazineseriesSearch.ts +0 -30
  394. package/test-utils/sdks/star-trek/src/schemas/GetMaterial.ts +0 -25
  395. package/test-utils/sdks/star-trek/src/schemas/GetMaterialSearch.ts +0 -30
  396. package/test-utils/sdks/star-trek/src/schemas/GetMedicalcondition.ts +0 -25
  397. package/test-utils/sdks/star-trek/src/schemas/GetMedicalconditionSearch.ts +0 -30
  398. package/test-utils/sdks/star-trek/src/schemas/GetMovie.ts +0 -25
  399. package/test-utils/sdks/star-trek/src/schemas/GetMovieSearch.ts +0 -30
  400. package/test-utils/sdks/star-trek/src/schemas/GetOccupation.ts +0 -25
  401. package/test-utils/sdks/star-trek/src/schemas/GetOccupationSearch.ts +0 -30
  402. package/test-utils/sdks/star-trek/src/schemas/GetOrganization.ts +0 -25
  403. package/test-utils/sdks/star-trek/src/schemas/GetOrganizationSearch.ts +0 -30
  404. package/test-utils/sdks/star-trek/src/schemas/GetPerformer.ts +0 -25
  405. package/test-utils/sdks/star-trek/src/schemas/GetPerformerSearch.ts +0 -30
  406. package/test-utils/sdks/star-trek/src/schemas/GetSeason.ts +0 -25
  407. package/test-utils/sdks/star-trek/src/schemas/GetSeasonSearch.ts +0 -30
  408. package/test-utils/sdks/star-trek/src/schemas/GetSeries.ts +0 -25
  409. package/test-utils/sdks/star-trek/src/schemas/GetSeriesSearch.ts +0 -30
  410. package/test-utils/sdks/star-trek/src/schemas/GetSoundtrack.ts +0 -25
  411. package/test-utils/sdks/star-trek/src/schemas/GetSoundtrackSearch.ts +0 -30
  412. package/test-utils/sdks/star-trek/src/schemas/GetSpacecraft.ts +0 -25
  413. package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftSearch.ts +0 -30
  414. package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftclass.ts +0 -25
  415. package/test-utils/sdks/star-trek/src/schemas/GetSpacecraftclassSearch.ts +0 -30
  416. package/test-utils/sdks/star-trek/src/schemas/GetSpecies.ts +0 -25
  417. package/test-utils/sdks/star-trek/src/schemas/GetSpeciesSearch.ts +0 -30
  418. package/test-utils/sdks/star-trek/src/schemas/GetStaff.ts +0 -25
  419. package/test-utils/sdks/star-trek/src/schemas/GetStaffSearch.ts +0 -30
  420. package/test-utils/sdks/star-trek/src/schemas/GetTechnology.ts +0 -25
  421. package/test-utils/sdks/star-trek/src/schemas/GetTechnologySearch.ts +0 -30
  422. package/test-utils/sdks/star-trek/src/schemas/GetTitle.ts +0 -25
  423. package/test-utils/sdks/star-trek/src/schemas/GetTitleSearch.ts +0 -30
  424. package/test-utils/sdks/star-trek/src/schemas/GetTradingcard.ts +0 -25
  425. package/test-utils/sdks/star-trek/src/schemas/GetTradingcardSearch.ts +0 -30
  426. package/test-utils/sdks/star-trek/src/schemas/GetTradingcarddeck.ts +0 -25
  427. package/test-utils/sdks/star-trek/src/schemas/GetTradingcarddeckSearch.ts +0 -30
  428. package/test-utils/sdks/star-trek/src/schemas/GetTradingcardset.ts +0 -25
  429. package/test-utils/sdks/star-trek/src/schemas/GetTradingcardsetSearch.ts +0 -30
  430. package/test-utils/sdks/star-trek/src/schemas/GetVideogame.ts +0 -25
  431. package/test-utils/sdks/star-trek/src/schemas/GetVideogameSearch.ts +0 -30
  432. package/test-utils/sdks/star-trek/src/schemas/GetVideorelease.ts +0 -25
  433. package/test-utils/sdks/star-trek/src/schemas/GetVideoreleaseSearch.ts +0 -30
  434. package/test-utils/sdks/star-trek/src/schemas/GetWeapon.ts +0 -25
  435. package/test-utils/sdks/star-trek/src/schemas/GetWeaponSearch.ts +0 -30
  436. package/test-utils/sdks/star-trek/src/schemas/LiteratureBase.ts +0 -45
  437. package/test-utils/sdks/star-trek/src/schemas/LiteratureBaseResponse.ts +0 -20
  438. package/test-utils/sdks/star-trek/src/schemas/LiteratureFull.ts +0 -45
  439. package/test-utils/sdks/star-trek/src/schemas/LiteratureFullResponse.ts +0 -12
  440. package/test-utils/sdks/star-trek/src/schemas/LocationBase.ts +0 -113
  441. package/test-utils/sdks/star-trek/src/schemas/LocationBaseResponse.ts +0 -20
  442. package/test-utils/sdks/star-trek/src/schemas/LocationFull.ts +0 -113
  443. package/test-utils/sdks/star-trek/src/schemas/LocationFullResponse.ts +0 -12
  444. package/test-utils/sdks/star-trek/src/schemas/MagazineBase.ts +0 -53
  445. package/test-utils/sdks/star-trek/src/schemas/MagazineBaseResponse.ts +0 -20
  446. package/test-utils/sdks/star-trek/src/schemas/MagazineFull.ts +0 -72
  447. package/test-utils/sdks/star-trek/src/schemas/MagazineFullResponse.ts +0 -12
  448. package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesBase.ts +0 -41
  449. package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesBaseResponse.ts +0 -20
  450. package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesFull.ts +0 -60
  451. package/test-utils/sdks/star-trek/src/schemas/MagazineSeriesFullResponse.ts +0 -12
  452. package/test-utils/sdks/star-trek/src/schemas/MaritalStatus.ts +0 -17
  453. package/test-utils/sdks/star-trek/src/schemas/MaterialBase.ts +0 -61
  454. package/test-utils/sdks/star-trek/src/schemas/MaterialBaseResponse.ts +0 -20
  455. package/test-utils/sdks/star-trek/src/schemas/MaterialFull.ts +0 -61
  456. package/test-utils/sdks/star-trek/src/schemas/MaterialFullResponse.ts +0 -12
  457. package/test-utils/sdks/star-trek/src/schemas/MedicalConditionBase.ts +0 -25
  458. package/test-utils/sdks/star-trek/src/schemas/MedicalConditionBaseResponse.ts +0 -20
  459. package/test-utils/sdks/star-trek/src/schemas/MedicalConditionFull.ts +0 -25
  460. package/test-utils/sdks/star-trek/src/schemas/MedicalConditionFullResponse.ts +0 -12
  461. package/test-utils/sdks/star-trek/src/schemas/MovieBase.ts +0 -87
  462. package/test-utils/sdks/star-trek/src/schemas/MovieBaseResponse.ts +0 -20
  463. package/test-utils/sdks/star-trek/src/schemas/MovieFull.ts +0 -139
  464. package/test-utils/sdks/star-trek/src/schemas/MovieFullResponse.ts +0 -12
  465. package/test-utils/sdks/star-trek/src/schemas/OccupationBase.ts +0 -33
  466. package/test-utils/sdks/star-trek/src/schemas/OccupationBaseResponse.ts +0 -20
  467. package/test-utils/sdks/star-trek/src/schemas/OccupationFull.ts +0 -40
  468. package/test-utils/sdks/star-trek/src/schemas/OccupationFullResponse.ts +0 -12
  469. package/test-utils/sdks/star-trek/src/schemas/OrganizationBase.ts +0 -69
  470. package/test-utils/sdks/star-trek/src/schemas/OrganizationBaseResponse.ts +0 -20
  471. package/test-utils/sdks/star-trek/src/schemas/OrganizationFull.ts +0 -76
  472. package/test-utils/sdks/star-trek/src/schemas/OrganizationFullResponse.ts +0 -12
  473. package/test-utils/sdks/star-trek/src/schemas/OrganizationHeader.ts +0 -21
  474. package/test-utils/sdks/star-trek/src/schemas/PerformerBase.ts +0 -98
  475. package/test-utils/sdks/star-trek/src/schemas/PerformerBaseResponse.ts +0 -20
  476. package/test-utils/sdks/star-trek/src/schemas/PerformerFull.ts +0 -136
  477. package/test-utils/sdks/star-trek/src/schemas/PerformerFullResponse.ts +0 -12
  478. package/test-utils/sdks/star-trek/src/schemas/Platform.ts +0 -17
  479. package/test-utils/sdks/star-trek/src/schemas/PostAnimalSearch.ts +0 -65
  480. package/test-utils/sdks/star-trek/src/schemas/PostAstronomicalobjectSearch.ts +0 -53
  481. package/test-utils/sdks/star-trek/src/schemas/PostBookSearch.ts +0 -141
  482. package/test-utils/sdks/star-trek/src/schemas/PostBookcollectionSearch.ts +0 -85
  483. package/test-utils/sdks/star-trek/src/schemas/PostBookseriesSearch.ts +0 -83
  484. package/test-utils/sdks/star-trek/src/schemas/PostCharacterSearch.ts +0 -69
  485. package/test-utils/sdks/star-trek/src/schemas/PostComiccollectionSearch.ts +0 -89
  486. package/test-utils/sdks/star-trek/src/schemas/PostComicsSearch.ts +0 -93
  487. package/test-utils/sdks/star-trek/src/schemas/PostComicseriesSearch.ts +0 -93
  488. package/test-utils/sdks/star-trek/src/schemas/PostComicstripSearch.ts +0 -75
  489. package/test-utils/sdks/star-trek/src/schemas/PostCompanySearch.ts +0 -113
  490. package/test-utils/sdks/star-trek/src/schemas/PostConflictSearch.ts +0 -75
  491. package/test-utils/sdks/star-trek/src/schemas/PostElementSearch.ts +0 -77
  492. package/test-utils/sdks/star-trek/src/schemas/PostEpisodeSearch.ts +0 -113
  493. package/test-utils/sdks/star-trek/src/schemas/PostFoodSearch.ts +0 -85
  494. package/test-utils/sdks/star-trek/src/schemas/PostLiteratureSearch.ts +0 -69
  495. package/test-utils/sdks/star-trek/src/schemas/PostLocationSearch.ts +0 -137
  496. package/test-utils/sdks/star-trek/src/schemas/PostMagazineSearch.ts +0 -65
  497. package/test-utils/sdks/star-trek/src/schemas/PostMagazineseriesSearch.ts +0 -65
  498. package/test-utils/sdks/star-trek/src/schemas/PostMaterialSearch.ts +0 -85
  499. package/test-utils/sdks/star-trek/src/schemas/PostMedicalconditionSearch.ts +0 -49
  500. package/test-utils/sdks/star-trek/src/schemas/PostMovieSearch.ts +0 -75
  501. package/test-utils/sdks/star-trek/src/schemas/PostOccupationSearch.ts +0 -57
  502. package/test-utils/sdks/star-trek/src/schemas/PostOrganizationSearch.ts +0 -93
  503. package/test-utils/sdks/star-trek/src/schemas/PostPerformerSearch.ts +0 -133
  504. package/test-utils/sdks/star-trek/src/schemas/PostSeasonSearch.ts +0 -65
  505. package/test-utils/sdks/star-trek/src/schemas/PostSeriesSearch.ts +0 -89
  506. package/test-utils/sdks/star-trek/src/schemas/PostSoundtrackSearch.ts +0 -65
  507. package/test-utils/sdks/star-trek/src/schemas/PostSpacecraftSearch.ts +0 -45
  508. package/test-utils/sdks/star-trek/src/schemas/PostSpacecraftclassSearch.ts +0 -53
  509. package/test-utils/sdks/star-trek/src/schemas/PostSpeciesSearch.ts +0 -93
  510. package/test-utils/sdks/star-trek/src/schemas/PostStaffSearch.ts +0 -301
  511. package/test-utils/sdks/star-trek/src/schemas/PostTechnologySearch.ts +0 -125
  512. package/test-utils/sdks/star-trek/src/schemas/PostTitleSearch.ts +0 -65
  513. package/test-utils/sdks/star-trek/src/schemas/PostTradingcardSearch.ts +0 -53
  514. package/test-utils/sdks/star-trek/src/schemas/PostTradingcarddeckSearch.ts +0 -49
  515. package/test-utils/sdks/star-trek/src/schemas/PostTradingcardsetSearch.ts +0 -119
  516. package/test-utils/sdks/star-trek/src/schemas/PostVideogameSearch.ts +0 -55
  517. package/test-utils/sdks/star-trek/src/schemas/PostVideoreleaseSearch.ts +0 -65
  518. package/test-utils/sdks/star-trek/src/schemas/PostWeaponSearch.ts +0 -73
  519. package/test-utils/sdks/star-trek/src/schemas/ProductionRunUnit.ts +0 -11
  520. package/test-utils/sdks/star-trek/src/schemas/Reference.ts +0 -20
  521. package/test-utils/sdks/star-trek/src/schemas/ReferenceType.ts +0 -11
  522. package/test-utils/sdks/star-trek/src/schemas/ResponsePage.ts +0 -42
  523. package/test-utils/sdks/star-trek/src/schemas/ResponseSort.ts +0 -16
  524. package/test-utils/sdks/star-trek/src/schemas/ResponseSortClause.ts +0 -25
  525. package/test-utils/sdks/star-trek/src/schemas/ResponseSortDirection.ts +0 -11
  526. package/test-utils/sdks/star-trek/src/schemas/SeasonBase.ts +0 -32
  527. package/test-utils/sdks/star-trek/src/schemas/SeasonBaseResponse.ts +0 -20
  528. package/test-utils/sdks/star-trek/src/schemas/SeasonFull.ts +0 -38
  529. package/test-utils/sdks/star-trek/src/schemas/SeasonFullResponse.ts +0 -12
  530. package/test-utils/sdks/star-trek/src/schemas/SeasonHeader.ts +0 -21
  531. package/test-utils/sdks/star-trek/src/schemas/SeriesBase.ts +0 -60
  532. package/test-utils/sdks/star-trek/src/schemas/SeriesBaseResponse.ts +0 -20
  533. package/test-utils/sdks/star-trek/src/schemas/SeriesFull.ts +0 -72
  534. package/test-utils/sdks/star-trek/src/schemas/SeriesFullResponse.ts +0 -12
  535. package/test-utils/sdks/star-trek/src/schemas/SeriesHeader.ts +0 -21
  536. package/test-utils/sdks/star-trek/src/schemas/SoundtrackBase.ts +0 -30
  537. package/test-utils/sdks/star-trek/src/schemas/SoundtrackBaseResponse.ts +0 -20
  538. package/test-utils/sdks/star-trek/src/schemas/SoundtrackFull.ts +0 -59
  539. package/test-utils/sdks/star-trek/src/schemas/SoundtrackFullResponse.ts +0 -12
  540. package/test-utils/sdks/star-trek/src/schemas/SpacecraftBase.ts +0 -39
  541. package/test-utils/sdks/star-trek/src/schemas/SpacecraftBaseResponse.ts +0 -20
  542. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassBase.ts +0 -48
  543. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassBaseResponse.ts +0 -20
  544. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassFull.ts +0 -60
  545. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassFullResponse.ts +0 -12
  546. package/test-utils/sdks/star-trek/src/schemas/SpacecraftClassHeader.ts +0 -21
  547. package/test-utils/sdks/star-trek/src/schemas/SpacecraftFull.ts +0 -45
  548. package/test-utils/sdks/star-trek/src/schemas/SpacecraftFullResponse.ts +0 -12
  549. package/test-utils/sdks/star-trek/src/schemas/SpacecraftType.ts +0 -17
  550. package/test-utils/sdks/star-trek/src/schemas/SpeciesBase.ts +0 -73
  551. package/test-utils/sdks/star-trek/src/schemas/SpeciesBaseResponse.ts +0 -20
  552. package/test-utils/sdks/star-trek/src/schemas/SpeciesFull.ts +0 -79
  553. package/test-utils/sdks/star-trek/src/schemas/SpeciesFullResponse.ts +0 -12
  554. package/test-utils/sdks/star-trek/src/schemas/SpeciesHeader.ts +0 -21
  555. package/test-utils/sdks/star-trek/src/schemas/StaffBase.ts +0 -266
  556. package/test-utils/sdks/star-trek/src/schemas/StaffBaseResponse.ts +0 -20
  557. package/test-utils/sdks/star-trek/src/schemas/StaffFull.ts +0 -323
  558. package/test-utils/sdks/star-trek/src/schemas/StaffFullResponse.ts +0 -12
  559. package/test-utils/sdks/star-trek/src/schemas/StaffHeader.ts +0 -21
  560. package/test-utils/sdks/star-trek/src/schemas/TechnologyBase.ts +0 -101
  561. package/test-utils/sdks/star-trek/src/schemas/TechnologyBaseResponse.ts +0 -20
  562. package/test-utils/sdks/star-trek/src/schemas/TechnologyFull.ts +0 -101
  563. package/test-utils/sdks/star-trek/src/schemas/TechnologyFullResponse.ts +0 -12
  564. package/test-utils/sdks/star-trek/src/schemas/TitleBase.ts +0 -41
  565. package/test-utils/sdks/star-trek/src/schemas/TitleBaseResponse.ts +0 -20
  566. package/test-utils/sdks/star-trek/src/schemas/TitleFull.ts +0 -48
  567. package/test-utils/sdks/star-trek/src/schemas/TitleFullResponse.ts +0 -12
  568. package/test-utils/sdks/star-trek/src/schemas/TradingCardBase.ts +0 -38
  569. package/test-utils/sdks/star-trek/src/schemas/TradingCardBaseResponse.ts +0 -20
  570. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckBase.ts +0 -28
  571. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckBaseResponse.ts +0 -20
  572. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckFull.ts +0 -34
  573. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckFullResponse.ts +0 -12
  574. package/test-utils/sdks/star-trek/src/schemas/TradingCardDeckHeader.ts +0 -21
  575. package/test-utils/sdks/star-trek/src/schemas/TradingCardFull.ts +0 -38
  576. package/test-utils/sdks/star-trek/src/schemas/TradingCardFullResponse.ts +0 -12
  577. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetBase.ts +0 -62
  578. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetBaseResponse.ts +0 -20
  579. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetFull.ts +0 -86
  580. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetFullResponse.ts +0 -12
  581. package/test-utils/sdks/star-trek/src/schemas/TradingCardSetHeader.ts +0 -21
  582. package/test-utils/sdks/star-trek/src/schemas/VideoGameBase.ts +0 -48
  583. package/test-utils/sdks/star-trek/src/schemas/VideoGameBaseResponse.ts +0 -20
  584. package/test-utils/sdks/star-trek/src/schemas/VideoGameFull.ts +0 -84
  585. package/test-utils/sdks/star-trek/src/schemas/VideoGameFullResponse.ts +0 -12
  586. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseBase.ts +0 -127
  587. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseBaseResponse.ts +0 -20
  588. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFormat.ts +0 -23
  589. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFull.ts +0 -155
  590. package/test-utils/sdks/star-trek/src/schemas/VideoReleaseFullResponse.ts +0 -12
  591. package/test-utils/sdks/star-trek/src/schemas/WeaponBase.ts +0 -49
  592. package/test-utils/sdks/star-trek/src/schemas/WeaponBaseResponse.ts +0 -20
  593. package/test-utils/sdks/star-trek/src/schemas/WeaponFull.ts +0 -49
  594. package/test-utils/sdks/star-trek/src/schemas/WeaponFullResponse.ts +0 -12
  595. package/test-utils/sdks/star-trek/src/schemas.ts +0 -314
  596. package/test-utils/sdks/star-trek/src/sdk.ts +0 -1032
  597. package/test-utils/sdks/star-trek/src/types.ts +0 -490
  598. package/test-utils/sdks/star-trek/tsconfig.json +0 -12
  599. package/test-utils/tsconfig.json +0 -9
  600. package/tsconfig.eslint.json +0 -8
  601. package/tsconfig.json +0 -9
  602. package/tsup.config.ts +0 -31
@@ -1,55 +0,0 @@
1
- {
2
- "name": "@api/response-title-quirks",
3
- "version": "1.0.0",
4
- "type": "module",
5
- "main": "dist/index.cjs",
6
- "types": "dist/index.d.cts",
7
- "module": "dist/index.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/index.js",
11
- "require": "./dist/index.cjs"
12
- },
13
- "./sdk": {
14
- "import": "./dist/sdk.js",
15
- "require": "./dist/sdk.cjs"
16
- },
17
- "./types": {
18
- "import": "./dist/types.js",
19
- "require": "./dist/types.cjs"
20
- },
21
- "./package.json": "./package.json"
22
- },
23
- "files": [
24
- "dist",
25
- "openapi.json"
26
- ],
27
- "scripts": {
28
- "lint": "tsc --noEmit"
29
- },
30
- "dependencies": {
31
- "@readme/api-core": "file:../../../../../core"
32
- },
33
- "devDependencies": {
34
- "tsup": "^7.2.0",
35
- "typescript": "^5.2.2"
36
- },
37
- "tsup": {
38
- "cjsInterop": true,
39
- "clean": true,
40
- "dts": true,
41
- "entry": [
42
- "./src/index.ts",
43
- "./src/sdk.ts",
44
- "./src/types.ts"
45
- ],
46
- "format": [
47
- "esm",
48
- "cjs"
49
- ],
50
- "minify": false,
51
- "shims": true,
52
- "sourcemap": true,
53
- "splitting": true
54
- }
55
- }
@@ -1,9 +0,0 @@
1
- import SDK from './sdk.js';
2
-
3
- /**
4
- * Testing an OAS that has response `title` props that start with a number
5
- *
6
- */
7
- const createSDK = (() => { return new SDK(); })();
8
-
9
- export default createSDK;
@@ -1,60 +0,0 @@
1
- const GetAnything = {
2
- "metadata": {
3
- "allOf": [
4
- {
5
- "type": "object",
6
- "properties": {
7
- "status": {
8
- "type": "array",
9
- "items": {
10
- "type": "string",
11
- "enum": [
12
- "available",
13
- "pending",
14
- "sold"
15
- ],
16
- "default": "available"
17
- },
18
- "$schema": "https://json-schema.org/draft/2020-12/schema#",
19
- "description": "Status values that need to be considered for filter"
20
- }
21
- },
22
- "required": [
23
- "status"
24
- ]
25
- }
26
- ]
27
- },
28
- "response": {
29
- "2XX": {
30
- "oneOf": [
31
- {
32
- "title": "260 Created (token)",
33
- "type": "object",
34
- "properties": {
35
- "id": {
36
- "type": "string",
37
- "examples": [
38
- "e450ec69-dac2-4858-b4c9-6d3af44bb5f8"
39
- ]
40
- }
41
- }
42
- },
43
- {
44
- "title": "260 Created",
45
- "type": "object",
46
- "properties": {
47
- "id": {
48
- "type": "string",
49
- "examples": [
50
- "e450ec69-dac2-4858-b4c9-6d3af44bb5f8"
51
- ]
52
- }
53
- }
54
- }
55
- ],
56
- "$schema": "https://json-schema.org/draft/2020-12/schema#"
57
- }
58
- }
59
- } as const;
60
- export default GetAnything
@@ -1,2 +0,0 @@
1
- import GetAnything from './schemas/GetAnything.js';
2
- export { GetAnything }
@@ -1,76 +0,0 @@
1
- import type * as types from './types.js';
2
- import type { ConfigOptions, FetchResponse, HTTPMethodRange } from '@readme/api-core/types';
3
- import APICore from '@readme/api-core';
4
- import definition from '@api/test-utils/definitions/response-title-quirks.json';
5
-
6
- export default class SDK {
7
- core: APICore;
8
-
9
- constructor() {
10
- this.core = new APICore(definition, 'response-title-quirks/1.0.0 (api/7.0.0-mock)');
11
- }
12
-
13
- /**
14
- * Optionally configure various options that the SDK allows.
15
- *
16
- * @param config Object of supported SDK options and toggles.
17
- * @param config.timeout Override the default `fetch` request timeout of 30 seconds. This number
18
- * should be represented in milliseconds.
19
- */
20
- config(config: ConfigOptions) {
21
- this.core.setConfig(config);
22
- }
23
-
24
- /**
25
- * If the API you're using requires authentication you can supply the required credentials
26
- * through this method and the library will magically determine how they should be used
27
- * within your API request.
28
- *
29
- * With the exception of OpenID and MutualTLS, it supports all forms of authentication
30
- * supported by the OpenAPI specification.
31
- *
32
- * @example <caption>HTTP Basic auth</caption>
33
- * sdk.auth('username', 'password');
34
- *
35
- * @example <caption>Bearer tokens (HTTP or OAuth 2)</caption>
36
- * sdk.auth('myBearerToken');
37
- *
38
- * @example <caption>API Keys</caption>
39
- * sdk.auth('myApiKey');
40
- *
41
- * @see {@link https://spec.openapis.org/oas/v3.0.3#fixed-fields-22}
42
- * @see {@link https://spec.openapis.org/oas/v3.1.0#fixed-fields-22}
43
- * @param values Your auth credentials for the API; can specify up to two strings or numbers.
44
- */
45
- auth(...values: string[] | number[]) {
46
- this.core.setAuth(...values);
47
- return this;
48
- }
49
-
50
- /**
51
- * If the API you're using offers alternate server URLs, and server variables, you can tell
52
- * the SDK which one to use with this method. To use it you can supply either one of the
53
- * server URLs that are contained within the OpenAPI definition (along with any server
54
- * variables), or you can pass it a fully qualified URL to use (that may or may not exist
55
- * within the OpenAPI definition).
56
- *
57
- * @example <caption>Server URL with server variables</caption>
58
- * sdk.server('https://{region}.api.example.com/{basePath}', {
59
- * name: 'eu',
60
- * basePath: 'v14',
61
- * });
62
- *
63
- * @example <caption>Fully qualified server URL</caption>
64
- * sdk.server('https://eu.api.example.com/v14');
65
- *
66
- * @param url Server URL
67
- * @param variables An object of variables to replace into the server URL.
68
- */
69
- server(url: string, variables = {}) {
70
- this.core.setServer(url, variables);
71
- }
72
-
73
- getAnything(metadata: types.GetAnythingMetadataParam): Promise<FetchResponse<HTTPMethodRange<200, 299>, types.GetAnythingResponse2XX>> {
74
- return this.core.fetch('/anything', 'get', metadata);
75
- }
76
- }
@@ -1,5 +0,0 @@
1
- import type { FromSchema } from '@readme/api-core/types';
2
- import type * as schemas from './schemas.js';
3
-
4
- export type GetAnythingMetadataParam = FromSchema<typeof schemas.GetAnything.metadata>;
5
- export type GetAnythingResponse2XX = FromSchema<typeof schemas.GetAnything.response['2XX']>;
@@ -1,12 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "esModuleInterop": true,
4
- "module": "ESNext",
5
- "moduleResolution": "Bundler",
6
- "resolveJsonModule": true,
7
- "strict": true
8
- },
9
- "include": [
10
- "./src/**/*"
11
- ]
12
- }
@@ -1,14 +0,0 @@
1
- # `@api/simple`
2
-
3
- This SDK was autogenerated by the [`api` SDK generator](https://api.readme.dev), powered by [ReadMe](https://readme.com) 🦉
4
-
5
- Add SDK setup information and usage examples here so your users get started in a jiffy! 🚀
6
-
7
- <!---
8
-
9
- Here's some additional info about the generated SDK:
10
-
11
- `api` version: 7.0.0-mock
12
- Generated at 2023-10-25T00:00:00.000Z
13
-
14
- --->
@@ -1,55 +0,0 @@
1
- {
2
- "name": "@api/simple",
3
- "version": "1.0.0",
4
- "type": "module",
5
- "main": "dist/index.cjs",
6
- "types": "dist/index.d.cts",
7
- "module": "dist/index.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/index.js",
11
- "require": "./dist/index.cjs"
12
- },
13
- "./sdk": {
14
- "import": "./dist/sdk.js",
15
- "require": "./dist/sdk.cjs"
16
- },
17
- "./types": {
18
- "import": "./dist/types.js",
19
- "require": "./dist/types.cjs"
20
- },
21
- "./package.json": "./package.json"
22
- },
23
- "files": [
24
- "dist",
25
- "openapi.json"
26
- ],
27
- "scripts": {
28
- "lint": "tsc --noEmit"
29
- },
30
- "dependencies": {
31
- "@readme/api-core": "file:../../../../../core"
32
- },
33
- "devDependencies": {
34
- "tsup": "^7.2.0",
35
- "typescript": "^5.2.2"
36
- },
37
- "tsup": {
38
- "cjsInterop": true,
39
- "clean": true,
40
- "dts": true,
41
- "entry": [
42
- "./src/index.ts",
43
- "./src/sdk.ts",
44
- "./src/types.ts"
45
- ],
46
- "format": [
47
- "esm",
48
- "cjs"
49
- ],
50
- "minify": false,
51
- "shims": true,
52
- "sourcemap": true,
53
- "splitting": true
54
- }
55
- }
@@ -1,10 +0,0 @@
1
- import SDK from './sdk.js';
2
-
3
- /**
4
- * Swagger Petstore
5
- *
6
- * @author API Support <support@example.com>
7
- */
8
- const createSDK = (() => { return new SDK(); })();
9
-
10
- export default createSDK;
@@ -1,15 +0,0 @@
1
- const Category = {
2
- "type": "object",
3
- "properties": {
4
- "id": {
5
- "type": "integer",
6
- "format": "int64"
7
- },
8
- "name": {
9
- "type": "string"
10
- }
11
- },
12
- "title": "Category",
13
- "x-readme-ref-name": "Category"
14
- } as const;
15
- export default Category
@@ -1,38 +0,0 @@
1
- import Pet from './Pet.js';
2
-
3
- const FindPetsByStatus = {
4
- "metadata": {
5
- "allOf": [
6
- {
7
- "type": "object",
8
- "properties": {
9
- "status": {
10
- "type": "array",
11
- "items": {
12
- "type": "string",
13
- "enum": [
14
- "available",
15
- "pending",
16
- "sold"
17
- ],
18
- "default": "available"
19
- },
20
- "$schema": "http://json-schema.org/draft-04/schema#",
21
- "description": "Status values that need to be considered for filter"
22
- }
23
- },
24
- "required": [
25
- "status"
26
- ]
27
- }
28
- ]
29
- },
30
- "response": {
31
- "200": {
32
- "type": "array",
33
- "items": Pet,
34
- "$schema": "http://json-schema.org/draft-04/schema#"
35
- }
36
- }
37
- } as const;
38
- export default FindPetsByStatus
@@ -1,53 +0,0 @@
1
- import Category from './Category.js';
2
- import Tag from './Tag.js';
3
-
4
- const Pet = {
5
- "type": "object",
6
- "required": [
7
- "name",
8
- "photoUrls"
9
- ],
10
- "properties": {
11
- "id": {
12
- "type": "integer",
13
- "format": "int64",
14
- "readOnly": true,
15
- "default": 40,
16
- "examples": [
17
- 25
18
- ]
19
- },
20
- "category": Category,
21
- "name": {
22
- "type": "string",
23
- "examples": [
24
- "doggie"
25
- ]
26
- },
27
- "photoUrls": {
28
- "type": "array",
29
- "items": {
30
- "type": "string",
31
- "examples": [
32
- "https://example.com/photo.png"
33
- ]
34
- }
35
- },
36
- "tags": {
37
- "type": "array",
38
- "items": Tag
39
- },
40
- "status": {
41
- "type": "string",
42
- "description": "pet status in the store\n\n`available` `pending` `sold`",
43
- "enum": [
44
- "available",
45
- "pending",
46
- "sold"
47
- ]
48
- }
49
- },
50
- "title": "Pet",
51
- "x-readme-ref-name": "Pet"
52
- } as const;
53
- export default Pet
@@ -1,15 +0,0 @@
1
- const Tag = {
2
- "type": "object",
3
- "properties": {
4
- "id": {
5
- "type": "integer",
6
- "format": "int64"
7
- },
8
- "name": {
9
- "type": "string"
10
- }
11
- },
12
- "title": "Tag",
13
- "x-readme-ref-name": "Tag"
14
- } as const;
15
- export default Tag
@@ -1,5 +0,0 @@
1
- import Category from './schemas/Category.js';
2
- import FindPetsByStatus from './schemas/FindPetsByStatus.js';
3
- import Pet from './schemas/Pet.js';
4
- import Tag from './schemas/Tag.js';
5
- export { Category, FindPetsByStatus, Pet, Tag }
@@ -1,81 +0,0 @@
1
- import type * as types from './types.js';
2
- import type { ConfigOptions, FetchResponse } from '@readme/api-core/types';
3
- import APICore from '@readme/api-core';
4
- import definition from '@api/test-utils/definitions/simple.json';
5
-
6
- export default class SDK {
7
- core: APICore;
8
-
9
- constructor() {
10
- this.core = new APICore(definition, 'simple/1.0.0 (api/7.0.0-mock)');
11
- }
12
-
13
- /**
14
- * Optionally configure various options that the SDK allows.
15
- *
16
- * @param config Object of supported SDK options and toggles.
17
- * @param config.timeout Override the default `fetch` request timeout of 30 seconds. This number
18
- * should be represented in milliseconds.
19
- */
20
- config(config: ConfigOptions) {
21
- this.core.setConfig(config);
22
- }
23
-
24
- /**
25
- * If the API you're using requires authentication you can supply the required credentials
26
- * through this method and the library will magically determine how they should be used
27
- * within your API request.
28
- *
29
- * With the exception of OpenID and MutualTLS, it supports all forms of authentication
30
- * supported by the OpenAPI specification.
31
- *
32
- * @example <caption>HTTP Basic auth</caption>
33
- * sdk.auth('username', 'password');
34
- *
35
- * @example <caption>Bearer tokens (HTTP or OAuth 2)</caption>
36
- * sdk.auth('myBearerToken');
37
- *
38
- * @example <caption>API Keys</caption>
39
- * sdk.auth('myApiKey');
40
- *
41
- * @see {@link https://spec.openapis.org/oas/v3.0.3#fixed-fields-22}
42
- * @see {@link https://spec.openapis.org/oas/v3.1.0#fixed-fields-22}
43
- * @param values Your auth credentials for the API; can specify up to two strings or numbers.
44
- */
45
- auth(...values: string[] | number[]) {
46
- this.core.setAuth(...values);
47
- return this;
48
- }
49
-
50
- /**
51
- * If the API you're using offers alternate server URLs, and server variables, you can tell
52
- * the SDK which one to use with this method. To use it you can supply either one of the
53
- * server URLs that are contained within the OpenAPI definition (along with any server
54
- * variables), or you can pass it a fully qualified URL to use (that may or may not exist
55
- * within the OpenAPI definition).
56
- *
57
- * @example <caption>Server URL with server variables</caption>
58
- * sdk.server('https://{region}.api.example.com/{basePath}', {
59
- * name: 'eu',
60
- * basePath: 'v14',
61
- * });
62
- *
63
- * @example <caption>Fully qualified server URL</caption>
64
- * sdk.server('https://eu.api.example.com/v14');
65
- *
66
- * @param url Server URL
67
- * @param variables An object of variables to replace into the server URL.
68
- */
69
- server(url: string, variables = {}) {
70
- this.core.setServer(url, variables);
71
- }
72
-
73
- /**
74
- * Multiple status values can be provided with comma separated strings
75
- *
76
- * @summary Finds Pets by status
77
- */
78
- findPetsByStatus(metadata: types.FindPetsByStatusMetadataParam): Promise<FetchResponse<200, types.FindPetsByStatusResponse200>> {
79
- return this.core.fetch('/pet/findByStatus', 'get', metadata);
80
- }
81
- }
@@ -1,8 +0,0 @@
1
- import type { FromSchema } from '@readme/api-core/types';
2
- import type * as schemas from './schemas.js';
3
-
4
- export type Category = FromSchema<typeof schemas.Category>;
5
- export type FindPetsByStatusMetadataParam = FromSchema<typeof schemas.FindPetsByStatus.metadata>;
6
- export type FindPetsByStatusResponse200 = FromSchema<typeof schemas.FindPetsByStatus.response['200']>;
7
- export type Pet = FromSchema<typeof schemas.Pet>;
8
- export type Tag = FromSchema<typeof schemas.Tag>;
@@ -1,12 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "esModuleInterop": true,
4
- "module": "ESNext",
5
- "moduleResolution": "Bundler",
6
- "resolveJsonModule": true,
7
- "strict": true
8
- },
9
- "include": [
10
- "./src/**/*"
11
- ]
12
- }
@@ -1,22 +0,0 @@
1
- # `@api/star-trek`
2
-
3
- This SDK was autogenerated by the [`api` SDK generator](https://api.readme.dev), powered by [ReadMe](https://readme.com) 🦉
4
-
5
- ## Example Usage 🚀
6
-
7
- ```js
8
- import starTrek from '@api/star-trek';
9
-
10
- starTrek.getAnimalSearch()
11
- .then(({ data }) => console.log(data))
12
- .catch(err => console.error(err));
13
- ```
14
-
15
- <!---
16
-
17
- Here's some additional info about the generated SDK:
18
-
19
- `api` version: 7.0.0-mock
20
- Generated at 2023-10-25T00:00:00.000Z
21
-
22
- --->
@@ -1,55 +0,0 @@
1
- {
2
- "name": "@api/star-trek",
3
- "version": "1.0.0",
4
- "type": "module",
5
- "main": "dist/index.cjs",
6
- "types": "dist/index.d.cts",
7
- "module": "dist/index.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/index.js",
11
- "require": "./dist/index.cjs"
12
- },
13
- "./sdk": {
14
- "import": "./dist/sdk.js",
15
- "require": "./dist/sdk.cjs"
16
- },
17
- "./types": {
18
- "import": "./dist/types.js",
19
- "require": "./dist/types.cjs"
20
- },
21
- "./package.json": "./package.json"
22
- },
23
- "files": [
24
- "dist",
25
- "openapi.json"
26
- ],
27
- "scripts": {
28
- "lint": "tsc --noEmit"
29
- },
30
- "dependencies": {
31
- "@readme/api-core": "file:../../../../../core"
32
- },
33
- "devDependencies": {
34
- "tsup": "^7.2.0",
35
- "typescript": "^5.2.2"
36
- },
37
- "tsup": {
38
- "cjsInterop": true,
39
- "clean": true,
40
- "dts": true,
41
- "entry": [
42
- "./src/index.ts",
43
- "./src/sdk.ts",
44
- "./src/types.ts"
45
- ],
46
- "format": [
47
- "esm",
48
- "cjs"
49
- ],
50
- "minify": false,
51
- "shims": true,
52
- "sourcemap": true,
53
- "splitting": true
54
- }
55
- }
@@ -1,9 +0,0 @@
1
- import SDK from './sdk.js';
2
-
3
- /**
4
- * STAPI
5
- *
6
- */
7
- const createSDK = (() => { return new SDK(); })();
8
-
9
- export default createSDK;
@@ -1,41 +0,0 @@
1
- const AnimalBase = {
2
- "type": "object",
3
- "description": "Base animal, returned in search results",
4
- "properties": {
5
- "uid": {
6
- "type": "string",
7
- "description": "Animal unique ID"
8
- },
9
- "name": {
10
- "type": "string",
11
- "description": "Animal name"
12
- },
13
- "earthAnimal": {
14
- "type": "boolean",
15
- "description": "Whether it's an earth animal"
16
- },
17
- "earthInsect": {
18
- "type": "boolean",
19
- "description": "Whether it's an earth insect"
20
- },
21
- "avian": {
22
- "type": "boolean",
23
- "description": "Whether it's an avian"
24
- },
25
- "canine": {
26
- "type": "boolean",
27
- "description": "Whether it's a canine"
28
- },
29
- "feline": {
30
- "type": "boolean",
31
- "description": "Whether it's a feline"
32
- }
33
- },
34
- "required": [
35
- "uid",
36
- "name"
37
- ],
38
- "title": "AnimalBase",
39
- "x-readme-ref-name": "AnimalBase"
40
- } as const;
41
- export default AnimalBase