Skip to content

chore: update OpenAPI schema#76

Merged
Kilerd merged 1 commit intomainfrom
chore/update-openapi-schema
May 2, 2026
Merged

chore: update OpenAPI schema#76
Kilerd merged 1 commit intomainfrom
chore/update-openapi-schema

Conversation

@fishaudio-bot
Copy link
Copy Markdown
Collaborator

@fishaudio-bot fishaudio-bot commented May 2, 2026

Auto-generated update from https://api.fish.audio/openapi.json

Summary by CodeRabbit

Release Notes

  • Bug Fixes
    • Corrected the allowed bitrate values for Opus audio format in the API specification to use proper kilobit-per-second values, ensuring accurate client-side validation and API contract compliance.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 2, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 6d8e6c57-cb6e-425c-ba3c-4467a487845e

📥 Commits

Reviewing files that changed from the base of the PR and between 8eaa3a4 and 087a6f2.

📒 Files selected for processing (1)
  • api-reference/openapi.json

📝 Walkthrough

Walkthrough

The PR updates the TTSRequest schema in the OpenAPI specification by changing the opus_bitrate enum values from [-1000, 24, 32, 48, 64] to [-1000, 24000, 32000, 48000, 64000], scaling bitrate values by 1000 while preserving the -1000 auto-selection option.

Changes

API Schema Update

Layer / File(s) Summary
OpenAPI Contract
api-reference/openapi.json
The TTSRequest.opus_bitrate enum values are updated from 24/32/48/64 to 24000/32000/48000/64000, correcting bitrate scale while keeping -1000 for automatic mode.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • twangodev

Poem

🐰 Bounce, bounce! The bitrates multiply,
From tiny scores to values high!
Twenty-four thousand takes the stage,
Our opus schema turns a page,
With zeros grand and powers new! 📻

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/update-openapi-schema

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
Review rate limit: 0/1 reviews remaining, refill in 60 minutes.

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

@Kilerd Kilerd merged commit ced75a9 into main May 2, 2026
5 of 6 checks passed
@Kilerd Kilerd deleted the chore/update-openapi-schema branch May 2, 2026 07:35
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