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 Details

    • withComponents

      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.