openapi-generator

command
v1.0.0-alpha.44 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package main generates a complete OpenAPI 3.0 specification for SemStreams.

This tool generates the OpenAPI spec from three sources:

  1. Component configuration schemas from component.Registration
  2. API response schemas generated via reflection from ResponseTypes
  3. Service endpoint paths from the OpenAPI service registry

Output:

  • schemas/*.v1.json - JSON Schema files per component type
  • specs/openapi.v3.yaml - Complete OpenAPI 3.0 specification

Usage:

task schema:generate

Or directly:

go run ./cmd/openapi-generator -out ./schemas -openapi ./specs/openapi.v3.yaml

Package main provides a command-line tool for generating OpenAPI specifications.

Jump to

Keyboard shortcuts

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