upload

package
v0.6.16 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command() *cobra.Command

Types

type DiscoveryInfo added in v0.5.9

type DiscoveryInfo struct {
	Name        string `yaml:"name"`
	Title       string `yaml:"title"`
	Version     string `yaml:"version"`
	Description string `yaml:"description"`
}

A subset of the discovery document useful for adding an API to the registry

type PartialOpenAPIDocument added in v0.5.9

type PartialOpenAPIDocument struct {
	Swagger string             `yaml:"swagger"`
	OpenAPI string             `yaml:"openapi"`
	Info    PartialOpenAPIInfo `yaml:"info"`
}

A subset of the OpenAPI document useful for adding an API to the registry

type PartialOpenAPIInfo added in v0.5.9

type PartialOpenAPIInfo struct {
	Title string `yaml:"title"`
}

A subset of the OpenAPI info structure useful for adding an API to the registry

type ServiceConfig added in v0.5.9

type ServiceConfig struct {
	Type          string `yaml:"type"`
	Name          string `yaml:"name"`
	Title         string `yaml:"title"`
	Documentation struct {
		Summary string `yaml:"summary"`
	} `yaml:"documentation"`
}

The API Service Configuration contains important API properties.

Jump to

Keyboard shortcuts

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