Share via


OpenApiSchema.WriteOnly Property

Definition

Relevant only for Schema "properties" definitions. Declares the property as "write only". Therefore, it MAY be sent as part of a request but SHOULD NOT be sent as part of the response. If the property is marked as writeOnly being true and is in the required list, the required will take effect on the request only. A property MUST NOT be marked as both readOnly and writeOnly being true. Default value is false.

public bool WriteOnly { get; set; }
member this.WriteOnly : bool with get, set
Public Property WriteOnly As Boolean

Property Value

Applies to