SchemaOpenApi constructor
const
SchemaOpenApi({
- Map? originalJson,
- String? name,
- String? title,
- String? description,
- Object? example,
- TypeOpenApi? type,
- FormatOpenApi? format,
- List<
Object> ? enum$, - RefOr<
SchemaOpenApi> ? items, - Map<
String, RefOr< ? properties,SchemaOpenApi> > - RefOr<
SchemaOpenApi> ? additionalProperties, - List<
RefOr< ? allOf,SchemaOpenApi> > - 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.allOf,
this.required,
this.nullable = false,
this.default$,
this.$original,
this.uniqueItems,
});