SchemaContract.DefinitionStages.WithDefinitions Interface

public static interface SchemaContract.DefinitionStages.WithDefinitions

The stage of the SchemaContract definition allowing to specify definitions.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withDefinitions(Object definitions)

Specifies the definitions property: Types definitions.

Method Details

withDefinitions

public abstract SchemaContract.DefinitionStages.WithCreate withDefinitions(Object definitions)

Specifies the definitions property: Types definitions. Used for Swagger/OpenAPI v1 schemas only, null otherwise..

Parameters:

definitions - Types definitions. Used for Swagger/OpenAPI v1 schemas only, null otherwise.

Returns:

the next definition stage.

Applies to