The Swagger Path Item object

The Path Item object describes the operations available on a single path. Guidewire does not support the following property on the Swagger Path Item object:
  • $ref
Property Type Description Combination style
delete Operations object The specified operation that responds to the DELETE HTTP method. Merge
get Operations object The specified operation that responds to the GET HTTP method. Merge
head Operations object Overrides the default HEAD method implementation Merge
options Operations object Overrides the default OPTIONS method implementation Merge
parameters Parameters object[]

PolicyCenter assumes all parameters in the array list apply to all operations by default.

It is possible to override these parameter definitions for individual operations by re-specifying a parameter with the same name and location

Merge by logical ID, which is $ref, if specified, otherwise, it is name + in.
patch Operations object The specified operation that responds to the PATCH HTTP method. Merge
post Operations object The specified operation that responds to the POST HTTP method. Merge
put Operations object The specified operation that responds to the PUT HTTP method. Merge

Guidewire extension properties

Property Type Description Combination style
x-gw-cors-policy string

Property specifies the CORS policy for all operations on this path, overriding any value set for the x-gw-cors-policy property on the document root.

The string value must be the name of a CORS policy defined by the x-gw-policies property on the root document.

First non-null