SchemaOpenApi constructor
const
SchemaOpenApi({
- Map? originalJson,
- String? name,
- String? title,
- String? description,
- Object? example,
- TypeOpenApi? type,
- FormatOpenApi? format,
- List<
Object> ? enum$, - SchemaOrRef? items,
- Map<
String, SchemaOrRef> ? properties, - SchemaOrRef? additionalProperties,
- SchemaOrRef? propertyNames,
- List<
SchemaOrRef> ? allOf, - List<
String> ? required, - bool nullable = false,
- Object? default$,
- Object? $original,
- bool? uniqueItems,
Implementation
const SchemaOpenApi({
super.originalJson,
this.name,
this.title,
this.description,
this.example,
this.type,
this.format,
this.enum$,
this.items,
this.properties,
this.additionalProperties,
this.propertyNames,
this.allOf,
this.required,
this.nullable = false,
this.default$,
this.$original,
this.uniqueItems,
});