Skip to content

formats mappings adjustments (breaking batch) #2327

@baywet

Description

@baywet

While working on documenting the different format that can be used in OAS I realized Kiota was not mapping some formats properly:

  • "decimal" should only be a child of string type as the serialization process will trim trailing zeros for numbers, loosing precision. => map string:decimal to a string (decimal type) on the wire, and number:decimal to a number (double) on the wire. (BREAKING)
  • "base64" and "base64url" are different in their serialization and deserialization logic, and should ultimately map to stream. (BREAKING)
  • should we add support for char? (BREAKING)
  • type array with uniqueItems: true (items) should map to a hashset

Metadata

Metadata

Assignees

No one assigned

    Labels

    generatorIssues or improvements relater to generation capabilities.type:bugA broken experience

    Type

    No type

    Projects

    Status

    New📃

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions