Package openapiv2 produces OpenAPI Specification 2.0 (https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md) for the HTTP endpoints.
Package openapiv3 contains the algorithms and data structures used to
generate OpenAPI v3 specifications from Goa designs.