Categorygithub.com/hexiosec/goapi
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

NameDescription
specRegenerated spec YAML, with filtered output
go-echoGolang Server interface using the Echo web framework

Client Implementation

NameDescription
ts-fetchTypeScript Client interface using native fetch() API

# Packages

This package contains the generate commands to update the examples.
No description provided by the author
No description provided by the author

# Variables

go:embed templates/*.