Skip to navigation

Test oneOf polymorphism

This tests oneOf schemas.

Query parameters

accountSwitchKeystringOptional

For customers who manage more than one account, this runs the operation from another account. The Identity and Access Management API provides a list of available account switch keys.

Request

This endpoint expects an object.
isOneOfobjectRequired
nestedOneOfobjectOptional

This features alternate oneOf schemas that nest further nested oneOf schemas. It should publish four Beatles and four Stones.

oneOfExcludeobject or anyOptional

Test whether a oneOf item can be excluded. The gummo key should not publish. (Not quite)

oneOfInArraylist of objectsOptional

Array of items, each a oneOf.

schema-poly-alt-nests-allofobjectOptional
schema-poly-alt-nests-allof-inlineobjectOptional

This features alternate oneOf schemas that nest further nested allOf schemas. It should publish four Beatles and four Stones.

schema-poly-singleobjectOptional

This schema specifies a single oneOf item.

Response

Successful response.
isOneOfobject
nestedOneOfobjectOptional

This features alternate oneOf schemas that nest further nested oneOf schemas. It should publish four Beatles and four Stones.

oneOfExcludeobject or anyOptional

Test whether a oneOf item can be excluded. The gummo key should not publish. (Not quite)

oneOfInArraylist of objectsOptional

Array of items, each a oneOf.

schema-poly-alt-nests-allofobjectOptional
schema-poly-alt-nests-allof-inlineobjectOptional

This features alternate oneOf schemas that nest further nested allOf schemas. It should publish four Beatles and four Stones.

schema-poly-singleobjectOptional

This schema specifies a single oneOf item.