Swagger constructor
const
Swagger({
- required String id,
- String openapi = '3.0.3',
- required SwaggerInfo info,
- required List<
SwaggerServer> servers, - List<
SwaggerTag> tags = const [], - Map<
String, List< paths = const {},SwaggerPath> > - SwaggerComponent? components,
Implementation
const Swagger({
required this.id,
this.openapi = '3.0.3',
required this.info,
required this.servers,
this.tags = const [],
this.paths = const {},
this.components,
});