microsoft / microsoft/Power-Fx

[Connectors] Unable to process api-version when it is 'preview' - Unsupported param with OpenApi type Microsoft.OpenApi.Any.OpenApiDateTime, key = api-version

Open
#2,142 1 comment 0 reactions 1 assignee View on GitHub

@LucGenetier is already working on this.

Since Jan 12, 2024.

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

Description

Azure OpenAI Service connector
"operationId": "ChatCompletion"

      {
        "name": "api-version",
        "in": "query",
        "required": true,
        "type": "string",
        "default": "2023-03-15-preview",
        "x-ms-visibility": "advanced",
        "description": "The API version for this REST call to Azure OpenAI. Must be 2023-03-15-preview or later",
        "x-ms-summary": "Azure OpenAI API Version (must be 2023-03-15-preview or later)"
      },

When loading this swagger file, we get the following error
[ERROR] Function ChatCompletion: Unsupported param with OpenApi type Microsoft.OpenApi.Any.OpenApiDateTime, key = api-version

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.