openapi-generator

command
v1.0.0-alpha Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: MIT Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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