api-docs-generator

command
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

README

API Documentation Generator

A Go tool that generates unified API documentation from OpenAPI v3 YAML files for Pyroscope's Connect API.

Usage

go run . [flags]
Flags
  • -input string: Directory containing OpenAPI YAML files (default: api/connect-openapi/gen)
  • -template string: Template file used to generate markdown (default: docs/sources/reference-server-api/index.template)
  • -output string: Output file for generated markdown (default: docs/sources/reference-server-api/index.md)
  • -help: Show help information
Example
# Generate documentation with default paths
go run .

# Generate documentation with custom paths
go run . -input ./openapi-specs -template ./custom.template -output ./api-docs.md

Build

go build -o api-docs-generator .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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