Skip to content

Update MapOpenApiPrimitiveTypeToSimpleType to handle integers and numbers without a format #1657

@glen-84

Description

@glen-84

Is your feature request related to a problem? Please describe.

OpenApiTypeMapper.MapOpenApiPrimitiveTypeToSimpleType doesn't handle integers or numbers without a format.

Describe the solution you'd like

Add:

("integer", null, false)
("integer", null, true)
("number", null, false)
("number", null, true)

I'm not sure what types these should default to. Perhaps int + double.

Describe alternatives you've considered

copy/paste/update

Additional context

n/a

Metadata

Metadata

Assignees

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