Skip to content

docs(openapi): describe the schema fields in the spec - #152

Open
ariel-formance wants to merge 2 commits into
mainfrom
docs/openapi-schema-descriptions
Open

docs(openapi): describe the schema fields in the spec#152
ariel-formance wants to merge 2 commits into
mainfrom
docs/openapi-schema-descriptions

Conversation

@ariel-formance

Copy link
Copy Markdown

Why

The Auth OpenAPI spec declares its schema types without saying what any of the fields mean. Everything downstream inherits that silence: the generated SDKs ship structs with bare field names, and the API reference renders a name and a type with no explanation.

What

Adds description to the fields of the client, secret, and scope schemas — what a field holds, and where it is non-obvious, why you would set it. No structural changes: no fields added or removed, no types or required-ness touched, so the generated clients keep the same shape and only pick up doc comments.

Part of a sweep doing the same across the module specs.

The Auth spec declared its schema types without saying what any of the
fields mean, so the generated SDKs and the API reference showed bare
names and types. Add descriptions to the client, secret, and scope
schemas so the meaning travels with the spec.
@ariel-formance
ariel-formance requested review from a team as code owners August 19, 2026 12:01
@coderabbitai

coderabbitai Bot commented Aug 19, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 127f1e6d-e1aa-42c3-91cf-be48683e30dc


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@NumaryBot

NumaryBot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

✅ Approve — automated review

The previously reported client-secret description issue is fixed, and the added descriptions align with the current implementation.

No findings.

@NumaryBot NumaryBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NumaryBot posted 1 new inline finding.

Summary: #152 (comment)

Comment thread openapi.yaml Outdated
Comment thread openapi.yaml Outdated

@NumaryBot NumaryBot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NumaryBot review complete: no remaining inline findings.

Resolved 1 stale NumaryBot review thread (0 fixed, 1 outdated).

Summary: #152 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants