Interface SchemaContract.DefinitionStages.WithComponents
-
- All Known Subinterfaces:
SchemaContract.Definition
,SchemaContract.DefinitionStages.WithCreate
- Enclosing interface:
- SchemaContract.DefinitionStages
public static interface SchemaContract.DefinitionStages.WithComponents
The stage of the SchemaContract definition allowing to specify components.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchemaContract.DefinitionStages.WithCreate
withComponents(Object components)
Specifies the components property: Types definitions.
-
-
-
Method Detail
-
withComponents
SchemaContract.DefinitionStages.WithCreate withComponents(Object components)
Specifies the components property: Types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise..- Parameters:
components
- Types definitions. Used for Swagger/OpenAPI v2/v3 schemas only, null otherwise.- Returns:
- the next definition stage.
-
-