Skip to content

feat: implement support for readOnly and writeOnly properties#98

Open
christoph-fricke wants to merge 6 commits intomainfrom
feat/read-write-markers
Open

feat: implement support for readOnly and writeOnly properties#98
christoph-fricke wants to merge 6 commits intomainfrom
feat/read-write-markers

Conversation

@christoph-fricke
Copy link
Owner

@christoph-fricke christoph-fricke commented Feb 11, 2026

OpenAPI-TS added support for readOnly and writeOnly properties (release notes).

This PR adds support for the OpenAPI-TS feature to OpenAPI-MSW:

  • readOnly properties are stripped from request typings.
  • writeOnly properties are stripped from response typings.

Open Issues

  • This change causes a type error in response-resolver.ts...

@changeset-bot
Copy link

changeset-bot bot commented Feb 11, 2026

🦋 Changeset detected

Latest commit: 58f09d4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
openapi-msw Minor

Not sure what this means? Click here to learn what changesets are.

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

@christoph-fricke christoph-fricke marked this pull request as ready for review February 12, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant