Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

x-ms-dynamic-values schema is dropped when moving from parameters to request body loading openapi for excel connector #706

Copy link
Copy link
@tomlm

Description

@tomlm
Issue body actions

When loading this definition
foo.txt

This path /drives/{drive}/files/{file}/tables/{table}/items/{id}
The Patch operationId PatchItem somehow loses the reference to the x-ms-dynamic-schema attribute.
The V2 json has Operation.Parameters entry like this:

 {
            "name": "item",
            "in": "body",
            "description": "Provide the item properties.",
            "required": true,
            "schema": {
              "$ref": "#/definitions/Item"
            },
            "x-ms-summary": "Provide the item properties"
          },

With the /definitions/Item looking like this:

"Item": {
      "description": "Table item entity",
      "type": "object",
      "properties": {
        "dynamicProperties": {
          "type": "object",
          "additionalProperties": {
            "$ref": "#/definitions/Object"
          }
        }
      },
      "additionalProperties": {
        "$ref": "#/definitions/Object"
      },
      "x-ms-dynamic-schema": {
        "operationId": "GetTable",
         ...
      }
    },

But the deserialized OpenApiOperation doesn't have any links or references to the x-ms-dynamic-schema data.

  1. The Parameters doesn't have the "item" property defined (presumbly because it is moved to the RequestBody
  2. The RequestBody has a definition with x-bodyName "item" but has dropped the "x-ms-dynamic-schema" metadata
  3. The RequestBody.Content is empty
    image
Reactions are currently unavailable

Metadata

Metadata

Assignees

Labels

invalid-inputpriority:p3Nice to have. Customer impact is very minimalNice to have. Customer impact is very minimaltype:enhancementEnhancement request targeting an existing experienceEnhancement request targeting an existing experience

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.