OpenApi constructor
const
OpenApi({
- required String openapi,
- required InfoOpenApi info,
- List<
ServerOpenApi> servers = const [], - required Map<
String, ItemPathOpenApi> paths, - ComponentsOpenApi components = const ComponentsOpenApi(),
- List<
TagOpenApi> tags = const [],
Implementation
const OpenApi({
required this.openapi,
required this.info,
this.servers = const [],
required this.paths,
this.components = const ComponentsOpenApi(),
this.tags = const [],
});