The Swagger Response Schema object
The Response Schema object defines a link to a JSON schema definition.
Required properties
| Property | Type | Description | Merge style |
|---|---|---|---|
items |
Schema items object |
Required if value of If you set the value of the |
N/A |
Optional properties
| Property | Type | Description | Combination style |
|---|---|---|---|
$ref |
string |
Provides a link to the JSON schema definition defined in the file imported as
alias using property
x-gw-schema-import. For
example, suppose that x-gw-schema-import contains the following
key/value pair:
$ref reference string becomes the following string:
In this string, PolicyCenter then uses the referenced schema to drive the serialization and validation of any JSON and XML types returned the API handler method. Use the following format for the string value:
|
N/A |
enum |
anyType[] | Documentation only. The enum values must be valid values of
the type defined by the combination of type,
format, and x-gw-type. |
N/A |
format |
string |
Use only if the The combination of |
N/A |
type |
string |
Specifies the type of the response body. Valid values are:
Only set this property to For any other allowed value, the combination of For example, if |
N/A |
Guidewire extension properties
| Property | Type | Description | Merge style |
|---|---|---|---|
x-gw-export-enumeration |
boolean |
If set to The default is |
N/A |
x-gw-type |
string |
Use only if the The combination of |
N/A |
