microsoft / microsoft/Power-Fx

Connection: not parsing some swagger return results

Open
#1,748 2 comments 0 reactions 1 assignee View on GitHub

@LucGenetier is already working on this.

Since Aug 11, 2023.

Dominant language
C#
Stars
3.4k
Forks
358
Avg merge
10h 34m
Merged PRs (30d)
3

Description

https://api.math.tools/yaml/math.tools.numbers.openapi.yaml

Math.numberscardinal({number: 1791941}).contents

There's something present in the swagger, although it looks like just an example, not a full definition. Maybe we need to infer from the example?

      responses:
        "200":
          description: 200 Success response
          content:
            application/json:
              examples:
                response:
                  value: |-
                    {
                      "success": {
                        "total": 1
                      },
                      "copyright": {
                        "copyright": "2019-21 https://math.tools"
                      },
                      "contents": {
                        "number": 2342,
                        "language": "en_US",
                        "result": "two thousand three hundred forty-two",
                        "cardinal": "two thousand three hundred forty-two"
                      }
                    }

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.