SchemaContract.DefinitionStages.WithValue Interface

public static interface SchemaContract.DefinitionStages.WithValue

The stage of the SchemaContract definition allowing to specify value.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withValue(String value)

Specifies the value property: Json escaped string defining the document representing the Schema.

Method Details

withValue

public abstract SchemaContract.DefinitionStages.WithCreate withValue(String value)

Specifies the value property: Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI..

Parameters:

value - Json escaped string defining the document representing the Schema. Used for schemas other than Swagger/OpenAPI.

Returns:

the next definition stage.

Applies to