Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-36200 Breaking changes for Flink 3.0
  3. FLINK-29863

Properly handle NaN/Infinity in OpenAPI spec

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.15.0
    • 3.0.0
    • None

    Description

      Our OpenAPI spec maps all float/double fields to float64, but we at times also return NaN/infinity which can't be represented as such since the JSON spec doesn't support it.

      One alternative could be to document it as an either type, returning either a float64 or a string.

      Attachments

        Activity

          People

            Unassigned Unassigned
            chesnay Chesnay Schepler
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: