Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support deprecated extension for enum values. #1781

Open
wants to merge 1 commit into
base: 6.12.x
Choose a base branch
from

Conversation

altro3
Copy link
Collaborator

@altro3 altro3 commented Sep 21, 2024

Added support primitive types in enum values
Fixes for numeric type generating.

See: OpenAPITools/openapi-generator#19615

Also added supprot custom types / formats for java primitives:

Primitive type char:

schema:
  type: char

Primitive type byte:

schema:
  type: byte

Object type Byte:

schema:
  type: integer
  format: int8 # or byte

Primitive type short:

schema:
  type: short

Object type Short:

schema:
  type: integer
  format: int16 # or short

@altro3 altro3 force-pushed the fix-enum-generating branch 3 times, most recently from f09cf71 to 810d55a Compare September 22, 2024 12:25
Added support primitive types in enum values
Fixes for numeric type generating.
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.

1 participant