Skip to content

feat(api): tag operations for client codegen grouping#1

Merged
jeff-arn merged 1 commit into
mainfrom
claude/typed-openapi-wrappers-gz7OG
May 3, 2026
Merged

feat(api): tag operations for client codegen grouping#1
jeff-arn merged 1 commit into
mainfrom
claude/typed-openapi-wrappers-gz7OG

Conversation

@jeff-arn

@jeff-arn jeff-arn commented May 3, 2026

Copy link
Copy Markdown
Contributor

Add tags = ["Health" | "Catalog" | "Validation" | "Decks"] to every
#[utoipa::path] and declare matching tag descriptions on ApiDoc. The
tags drive operation grouping in generated clients (e.g. namespaced
sub-clients in TS, separate protocols in Swift). Without them the
generators emit a single flat client.

Document the consumer-side codegen flow in .claude/rules/api-contract.md:
each consumer pins a backend SHA in .api-version, fetches openapi.json
from raw.githubusercontent.com at that SHA, and commits the generated
artifact. The backend publishes no typed packages of its own.

Add tags = ["Health" | "Catalog" | "Validation" | "Decks"] to every
#[utoipa::path] and declare matching tag descriptions on ApiDoc. The
tags drive operation grouping in generated clients (e.g. namespaced
sub-clients in TS, separate protocols in Swift). Without them the
generators emit a single flat client.

Document the consumer-side codegen flow in .claude/rules/api-contract.md:
each consumer pins a backend SHA in .api-version, fetches openapi.json
from raw.githubusercontent.com at that SHA, and commits the generated
artifact. The backend publishes no typed packages of its own.
@jeff-arn jeff-arn merged commit e37afe8 into main May 3, 2026
1 check passed
@jeff-arn jeff-arn deleted the claude/typed-openapi-wrappers-gz7OG branch May 10, 2026 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants