Fredx87 / openapi-io-ts

OpenAPI code generation tool with validation powered by io-ts
MIT License
36 stars 9 forks source link

Reference all operation responses in typedef #25

Closed anulman closed 6 months ago

anulman commented 7 months ago

When defining a request response that directly references a #/components/response, the returnType does not return the expected type. I think we are looking for generatedItems.responses.operationResponses.

changeset-bot[bot] commented 7 months ago

⚠️ No Changeset found

Latest commit: df2cc90662684f669d55e7369ef6e8e6b84c24b5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR