Skip to content

Convert Constants to Extensible Enums in OpenAI SDK #7675

Open
@jorgerangel-msft

Description

@jorgerangel-msft

OpenAI has several public facing types that are extensible enums with a single constant value. The generator recently changed its' behavior to generate constants as strings, vs extensible enums. We should explore a way to maintain this behavior in OpenAI, possibly through a visitor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    emitter:client:csharpIssue for the C# client emitter: @typespec/http-client-csharp

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions