swagger

package
v0.5.26 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generator

func Generator(schema_to_generate string, apiAlias *string, apiPackage *string, apiUrl *string, packageName *string, output *string, include *[]string, skip *[]string)

Main function

Types

type Component

type Component struct {
	JsonName      string
	SnakeCaseName string
	Name          string
	Description   string
	Properties    []Property
}

type Property

type Property struct {
	JsonName      string
	SnakeCaseName string
	Name          string
	Description   string
	Type          string
	Format        string
	Ref           string
	ItemType      string
}

type SchemaData

type SchemaData struct {
	ApiPackageAlias string
	ApiPackage      string
	Package         string
	Components      []Component
}

Jump to

Keyboard shortcuts

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