gen-api-surface

command
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2026 License: Unlicense Imports: 10 Imported by: 0

Documentation

Overview

Command gen-api-surface emits a machine-readable snapshot of the public API of github.com/hra42/openrouter-go to docs/api-surface.json.

The snapshot is intended for AI coding agents and doc tooling that want to answer "does this SDK have X?" with a single file read instead of grepping.

Run from the repo root:

go run ./cmd/gen-api-surface

CI should run this and fail if the result differs from the committed file.

Jump to

Keyboard shortcuts

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