openai / openai/openai-openapi

VoiceIdsShared omits fable, onyx, and nova documented for speech

Open Beginner friendly
#581 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug specification
Dominant language
No language data
Stars
2.5k
Forks
527
Avg merge
1h 46m
Merged PRs (30d)
2

Description

Source report

Mirrors openai-java#642: generated speech voice constants omit fable, onyx, and nova.

Specification mismatch

The current CreateSpeechRequest.voice description lists fable, onyx, and nova as supported built-in speech voices. The referenced VoiceIdsShared enumeration omits all three. Generated Java SpeechCreateParams.Voice consequently has no corresponding constants.

The unrestricted string alternative still permits callers to supply these names manually, so this is an incomplete enumerated vocabulary and SDK discoverability problem, not rejection of all requests using these voices.

Expected correction

Make the speech voice vocabulary agree with the supported voices documented by CreateSpeechRequest, and regenerate affected SDK constants. If this shared vocabulary also serves APIs with a narrower set of voices, represent the endpoint-specific distinction explicitly.

Related report

#401 was closed after adding ash, coral, and sage. This report preserves the different missing voices identified in the Java issue. The source also questioned cedar and marin; the current speech description includes both, so that portion is already addressed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in openapi.yaml at the CreateSpeechRequest.voice description and the VoiceIdsShared enumeration referenced in the issue. Compare the documented speech voices, update the vocabulary so fable, onyx, and nova are represented with any endpoint-specific distinction needed, then run the repository's generation workflow and verify SpeechCreateParams.Voice exposes the corrected constants.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, openapi
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Active
Clarity
Clearly specified
Newbie friendliness
82/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.