Skip to content

Enum case always in uppercase when converted in SDLΒ #493

@madolala

Description

@madolala

Describe the bug
I found that the enums cases appears always in uppercase on SDL generated from Json openApis.

To Reproduce
Steps to reproduce the behavior:

  1. With the CLI : 'openapi-to-graphql oas.json --save schema.graphql' with lowercases enum in your oas
  2. Check the concerned enum in schema.graphql
  3. See that it's in upper

Expected behavior
Enum that respect cases

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