openapi-processor / openapi-processor-base

re-usable code of openapi-processor
https://openapiprocessor.io
Apache License 2.0
2 stars 3 forks source link

bad enum creation #145

Closed hauner closed 4 months ago

hauner commented 4 months ago
components:
  schemas:
    AnEnum:
      type: string
      enum:
        - "1"
        - "2"

creates


public enum Enum {
    INVALID("1"),
    INVALID("2");
    ...
}