utils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonMarshal

func JsonMarshal(swagger *openapi3.Swagger) ([]byte, error)

func Marshal

func Marshal(fileName string, swagger *openapi3.Swagger) ([]byte, error)

func YamlMarshal

func YamlMarshal(swagger *openapi3.Swagger) ([]byte, error)

Types

type MarshalType

type MarshalType string
var Json MarshalType = "json"
var Yaml MarshalType = "yaml"

func FindEx

func FindEx(fileName string) MarshalType

Jump to

Keyboard shortcuts

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