Interface SchemaContract.DefinitionStages.WithDefinitions
- All Known Subinterfaces:
SchemaContract.Definition,SchemaContract.DefinitionStages.WithCreate
- Enclosing interface:
SchemaContract.DefinitionStages
public static interface SchemaContract.DefinitionStages.WithDefinitions
The stage of the SchemaContract definition allowing to specify definitions.
-
Method Summary
Modifier and TypeMethodDescriptionwithDefinitions(Object definitions) Specifies the definitions property: Types definitions.
-
Method Details
-
withDefinitions
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.
-