SCHEMA
{
  user: {
    type      : "object",
    properties: {
      id       : { type: "string", readOnly: true },
      name     : { type: "string" },
      password : { type: "string", writeOnly: true}
    }
  }
}
ATTRIBUTES
schema-hide-read-only
By default
  • If a schema is used in Request all the read-only properties are hidden
  • If a schema is used in Response all the write-only properties are hidden
  • In Case of WEBHOOKS and CALLBACKS the behavior is opposite
  • You may use the attributes on the left to define alternative behavior
schema-hide-write-only