openapi

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const LanguageRef = "openapi"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Compact bool `yaml:"compact"`
	// contains filtered or unexported fields
}

func (Config) MergeWithGlobal

func (config Config) MergeWithGlobal(global languages.Config) Config

type Language

type Language struct {
	// contains filtered or unexported fields
}

func New

func New(config Config) *Language

func (*Language) CompilerPasses

func (language *Language) CompilerPasses() compiler.Passes

func (*Language) Jennies

func (language *Language) Jennies(globalConfig languages.Config) *codejen.JennyList[languages.Context]

func (*Language) Name

func (language *Language) Name() string

type Schema

type Schema struct {
	Config Config
}

func (Schema) Generate

func (jenny Schema) Generate(context languages.Context) (codejen.Files, error)

func (Schema) JennyName

func (jenny Schema) JennyName() string

Jump to

Keyboard shortcuts

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