Interface SchemaContract.DefinitionStages.WithValue
- All Known Subinterfaces:
SchemaContract.Definition,SchemaContract.DefinitionStages.WithCreate
- Enclosing interface:
SchemaContract.DefinitionStages
public static interface SchemaContract.DefinitionStages.WithValue
The stage of the SchemaContract definition allowing to specify value.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the value property: Json escaped string defining the document representing the Schema.
-
Method Details
-
withValue
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.
-