Skip to content

Missing OpenAPI feature support #73

Description

@YVbakker

Files: src/OpenApiSourceGenerator/Generators/PropertyGenerator.cs, src/OpenApiSourceGenerator/Mappers/TypeMapper.cs

Not currently handled:

  • enum schemas (should likely generate a C# enum)
  • format (e.g. int64long, int32int, date-timeDateTimeOffset, uuidGuid, bytebyte[])
  • nullable keyword / OpenAPI 3.1 type arrays
  • oneOf / anyOf / allOf
  • additionalProperties (dictionary/map types)

These currently throw NotImplementedException when encountered.

Suggested fix: Track as a backlog of incremental feature support. At minimum, document these as known limitations in the README so consumers aren't surprised by a crash. Longer term, use format for more precise primitive type mapping and add enum generation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions