OpenAPIInfo constructor
OpenAPIInfo({
- required String title,
- required String version,
- String? summary,
- String? description,
- String? termsOfService,
- OpenAPIContact? contact,
- OpenAPILicense? license,
- Map<
String, Object?> ? extensions,
Creates an OpenAPI info object.
Implementation
factory OpenAPIInfo({
required String title,
required String version,
String? summary,
String? description,
String? termsOfService,
OpenAPIContact? contact,
OpenAPILicense? license,
Map<String, Object?>? extensions,
}) => OpenAPIInfo._({
'title': title,
'version': version,
'summary': ?summary,
'description': ?description,
'termsOfService': ?termsOfService,
'contact': ?contact,
'license': ?license,
...?prefixExtensions(extensions),
});