openapi

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetOperation added in v0.9.0

func GetOperation(pathItem *openapi3.PathItem, method string) *openapi3.Operation

func Load

func Load(uStr, username, password string) (*openapi3.T, error)

func LoadFile

func LoadFile(path string) (*openapi3.T, error)

func Merge

func Merge(base, toMerge *openapi3.T) *openapi3.T

Merge 将toMerge合并到base中,注意,本方法并不对base进行拷贝,所有操作会反馈到base的传入对象中 因为用于独立的merge命令,因此暂不考虑复制base,且暂时只是拷贝paths

func Save

func Save(def *openapi3.T, path string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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