package conversions
import "github.com/google/gnostic/conversions"
Index ¶
- func OpenAPIv2(api *discovery.Document) (*openapi2.Document, error)
- func OpenAPIv3(api *discovery.Document) (*openapi3.Document, error)
Functions ¶
func OpenAPIv2 ¶
OpenAPIv2 returns an OpenAPI v2 representation of this Discovery document
func OpenAPIv3 ¶
OpenAPIv3 returns an OpenAPI v3 representation of a Discovery document
Source Files ¶
- Version
- v0.7.0 (latest)
- Published
- Aug 25, 2023
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 9 hours ago –
Tools for package owners.