swagger-typescript-api icon indicating copy to clipboard operation
swagger-typescript-api copied to clipboard

feat: add immutable types

Open J3MPA opened this issue 4 months ago • 14 comments

In a functional codebase consumers of swagger-typescript-api would want to force properties and values to be immutable even if swagger spec does not have readOnly property.

With this change one can simply add --immutable flag or set immutable option to force immutable types.

J3MPA avatar Aug 05 '25 14:08 J3MPA