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

Comments

Close side panel

Add OpenApiContact for ReadFragment#892

Merged
baywet merged 1 commit intomicrosoft:vnextmicrosoft/OpenAPI.NET:vnextfrom
matt9ucci:contact-fragmentmatt9ucci/OpenAPI.NET:contact-fragmentCopy head branch name to clipboard
Jun 23, 2022
Merged

Add OpenApiContact for ReadFragment#892
baywet merged 1 commit intomicrosoft:vnextmicrosoft/OpenAPI.NET:vnextfrom
matt9ucci:contact-fragmentmatt9ucci/OpenAPI.NET:contact-fragmentCopy head branch name to clipboard

Conversation

@matt9ucci
Copy link
Contributor

Currently, OpenApiStringReader.ReadFragment<OpenApiContact>() throws the following exception:

System.Collections.Generic.KeyNotFoundException : The given key 'Microsoft.OpenApi.Models.OpenApiContact'
was not present in the dictionary.

This is because OpenApiV2/V3VersionService._loaders does not have the entry of [typeof(OpenApiContact)].

@baywet baywet merged commit 4c8ab29 into microsoft:vnext Jun 23, 2022
@matt9ucci matt9ucci deleted the contact-fragment branch June 23, 2022 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

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