Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

SDK doesn't compile #3

Description

@averyaube

I've received these errors when trying to build the SDK locally:

src/main/java/com/vapi/api/types/FallbackTavusVoiceVoiceId.java:66: error: method of(String) is already defined in class FallbackTavusVoiceVoiceId
    public static FallbackTavusVoiceVoiceId of(String value) {
                                            ^

src/main/java/com/vapi/api/types/FallbackTavusVoiceVoiceId.java:73: error: method visit(String) is already defined in interface Visitor
        T visit(String value);
          ^

src/main/java/com/vapi/api/types/TavusVoiceVoiceId.java:66: error: method of(String) is already defined in class TavusVoiceVoiceId
    public static TavusVoiceVoiceId of(String value) {
                                    ^

src/main/java/com/vapi/api/types/TavusVoiceVoiceId.java:73: error: method visit(String) is already defined in interface Visitor
        T visit(String value);
          ^

src/main/java/com/vapi/api/resources/logs/LogsClient.java:122: error: incompatible types: int cannot be converted to Double
                double newPageNumber = request.getPage().map(page -> page + 1).orElse(1);
                                                                                      ^

These same issues appear to happen in your CI pipelines: https://github.com/VapiAI/server-sdk-java/actions/runs/12910973646/job/36002288938

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions