Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.Net: The Type property is added to the ParameterView class #2305

Conversation

SergeyMenshykh
Copy link
Member

Motivation and Context

This change was requested by an internal team to enable access to OpenAPI operation parameter types without parsing the OpenAPI documents themselves.

Description

This PR extends the ParameterView class with a new Type property, which is assigned from the OpenAPI operation parameter type.

Contribution Checklist

…ernal team to analyze OpenAPI operation parameter types.
@SergeyMenshykh SergeyMenshykh requested a review from a team as a code owner August 3, 2023 16:00
@shawncal shawncal added .NET Issue or Pull requests regarding .NET code kernel Issues or pull requests impacting the core kernel kernel.core labels Aug 3, 2023
…enApiExtensionsTests.cs

Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
@dmytrostruk dmytrostruk added the PR: ready to merge PR has been approved by all reviewers, and is ready to merge. label Aug 3, 2023
@shawncal shawncal enabled auto-merge August 4, 2023 22:19
@shawncal shawncal added this pull request to the merge queue Aug 4, 2023
Merged via the queue into microsoft:main with commit e8342c6 Aug 4, 2023
12 checks passed
SOE-YoungS pushed a commit to SOE-YoungS/semantic-kernel that referenced this pull request Nov 1, 2023
…t#2305)

### Motivation and Context

This change was requested by an internal team to enable access to
OpenAPI operation parameter types without parsing the OpenAPI documents
themselves.

### Description

This PR extends the ParameterView class with a new Type property, which
is assigned from the OpenAPI operation parameter type.

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄

---------

Co-authored-by: Dmytro Struk <13853051+dmytrostruk@users.noreply.github.com>
Co-authored-by: Shawn Callegari <36091529+shawncal@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kernel Issues or pull requests impacting the core kernel .NET Issue or Pull requests regarding .NET code PR: ready to merge PR has been approved by all reviewers, and is ready to merge.
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants