OpenAPIInfo extension type
OpenAPI info object used by config and document models.
Constructors
-
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.
factory
-
OpenAPIInfo.fromJson(Map<
String, Object?> json) -
Wraps decoded JSON.
factory
Properties
- contact → OpenAPIContact?
-
Optional contact.
no setter
- description → String?
-
Optional description.
no setter
- license → OpenAPILicense?
-
Optional license.
no setter
- summary → String?
-
Optional summary.
no setter
- termsOfService → String?
-
Optional terms of service URL.
no setter
- title → String
-
API title.
no setter
- version → String
-
API version.
no setter