goapi

command module
v0.0.0-...-5675f61 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2025 License: MIT Imports: 8 Imported by: 0

README

goapi OpenAPI v3.1 Generator

Generate server or client implementations for OpenAPI v3.1 schemas.

Usage

Usage of generate:
      --help                    Show help
  -i, --input string            Input schema (default "./openapi.yml")
  -o, --output string           Output folder (default "./output")
  -t, --template string         Generator template
      --templates-path string   Path to template library
  -v, --verbose                 Turn on verbose messaging

Supported Languages

Server Implementation
Name Description
spec Regenerated spec YAML, with filtered output
go-echo Golang Server interface using the Echo web framework
Client Implementation
Name Description
ts-fetch TypeScript Client interface using native fetch() API

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
This package contains the generate commands to update the examples.
This package contains the generate commands to update the examples.
petstore3-server-go-echo/server
Code generated by goapi.
Code generated by goapi.

Jump to

Keyboard shortcuts

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