Skip to content

Readonly/Writeonly properties #10

Description

@chriskapp

At a TypeAPI spec it is often the case that we describe a complete type returned by a GET operation. Most times the same type is also used to create a new entity. In most cases the POST operation does not need all properties defined by the type i.e. an id property which is generated by the backend. In this case it would be convenient if we could mark such properties as readonly or in the other case also as writeonly if the property is only needed for write operations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions