Help us shape the future of Go! Take the 2026 Go Developer Survey

gosdk

package
v0.41.7 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 21 Imported by: 0

Documentation

Overview

Package gosdk emits an idiomatic, resource-oriented Go SDK from a prepared OpenAPI client contract.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(document *highv3.Document, options Options) (*sdk.Result, error)

Generate prepares an OpenAPI document and emits a Go SDK without workflows. Call sdk.Prepare, sdk.PrepareArazzo, and GenerateContract when generating finite Arazzo workflow helpers.

func GenerateContract

func GenerateContract(contract *sdk.Contract, options Options) (*sdk.Result, error)

GenerateContract emits a Go SDK from a prepared contract.

Types

type Options

type Options struct {
	PackageName string
	Prepare     sdk.PrepareOptions
	Workflows   []*sdk.Workflow
	Models      []modelgen.Option
}

Options configures Go SDK generation.

Jump to

Keyboard shortcuts

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