package conversions

import "github.com/google/gnostic/conversions"

Index

Functions

func OpenAPIv2

func OpenAPIv2(api *discovery.Document) (*openapi2.Document, error)

OpenAPIv2 returns an OpenAPI v2 representation of this Discovery document

func OpenAPIv3

func OpenAPIv3(api *discovery.Document) (*openapi3.Document, error)

OpenAPIv3 returns an OpenAPI v3 representation of a Discovery document

Source Files

openapiv2.go openapiv3.go

Version
v0.7.0 (latest)
Published
Aug 25, 2023
Platform
linux/amd64
Imports
6 packages
Last checked
9 hours ago

Tools for package owners.