Skip to content

fix(audio): add missing speech voice constants - #743

Closed
MukundaKatta wants to merge 1 commit into
openai:mainfrom
MukundaKatta:codex/speech-voice-constants
Closed

MukundaKatta wants to merge 1 commit into
openai:mainfrom
MukundaKatta:codex/speech-voice-constants

Conversation

@MukundaKatta

Copy link
Copy Markdown

Fixes #642.

Summary:

  • add fable, onyx, and nova as known SpeechCreateParams.Voice.UnionMember1 values
  • wire the new values through Known, Value, value(), and known()
  • add regression coverage for the missing known speech voices

Validation:

  • ./gradlew :openai-java-core:test --tests com.openai.models.audio.speech.SpeechCreateParamsTest --stacktrace could not run locally because the installed JDK is Temurin 25.0.2 and the repo's Kotlin/Gradle DSL stack fails while parsing that Java version string (java.lang.IllegalArgumentException: 25.0.2).

@MukundaKatta
MukundaKatta requested a review from a team as a code owner May 15, 2026 15:20

@nextstepnav1 nextstepnav1 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Thank you

@dpiet-oai

Copy link
Copy Markdown
Contributor

Thanks for the contribution. The missing FABLE, ONYX, and NOVA constants are now included in the generated SDK source through merged PR #1088, following the upstream correction visible in the published OpenAPI schema.

Closing this PR without merging because the generated change supersedes it. The correction preserves existing SDK type names and voice input shapes. Java v4.70.0 is tracked by release PR #1084; package publication has not yet been verified.

@dpiet-oai dpiet-oai closed this Sep 28, 2026
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.

SpeechCreateParams.Voice constants do not match the voices lists in the speech synthesis OpenAI API docs

4 participants