load

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(path string) (*openapi3.Swagger, error)

Load is a convenience function that opens a swagger spec from a URL or a local path based on the format of the path parameter

func LoadPath

func LoadPath(path string) (*openapi3.Swagger, error)

LoadPath opens a swagger spec from a local path

func LoadURI

func LoadURI(path *url.URL) (*openapi3.Swagger, error)

LoadPath opens a swagger spec from a URL

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL