Skip to content

.Net: [OpenAPI] Use strongly-typed properties #10898

@SergeyMenshykh

Description

@SergeyMenshykh

Context:
Today, RestAPIOperationRunner uses the Exception.Data collection to provide information about the HTTP request method, URL, payload, and options. There were a few PR comments: Comment 1, Comment 2 pointing out that it's better to use strongly typed properties than Exception.Data.

ToDo

  1. Add optional strongly-typed properties to the HttpOperationException.
  2. Assign those properties in the RestAPIOperationRunner.

Metadata

Metadata

Assignees

No one assigned

    Labels

    .NETIssue or Pull requests regarding .NET codeV2Changes for Semantic Kernel V2openapiIssues related to the OpenAPI function importerstaleIssue is stale because it has been open for a while and has no activity

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions