version property Null safety
read / write
This string MUST be the semantic version number of the OpenAPI Specification version that the OpenAPI document uses.
REQUIRED. The openapi field SHOULD be used by tooling specifications and clients to interpret the OpenAPI document. This is not related to the API info.version string.
Implementation
String version = "3.0.0";