Skip to content

Support for readOnly properties #304

@kompasbank-niels

Description

@kompasbank-niels

May I suggest a small improvement. When swagger defines a property with "readOnly":true, then the generated property should also be marked as readonly.
This will help type-checking what is passed to an api, when the same type is used for input and response.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions