modulepackage
0.0.0-20241108172809-6984fb3c98d2
Repository: https://github.com/hexiosec/goapi.git
Documentation: pkg.go.dev
# 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 |
# Variables
go:embed templates/*.