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 Details

    • withDefinitions

      SchemaContract.DefinitionStages.WithCreate withDefinitions(Object definitions)
      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.