[Repo Assist] Add IgnoreParseErrors parameter to OpenApiClientProvider#300
Merged
sergey-tihon merged 3 commits intomasterfrom Mar 11, 2026
Merged
Conversation
Allow users to continue generating the type provider even when Microsoft.OpenApi reports schema validation errors. This is useful for non-strictly-compliant schemas (e.g. NSwag-generated schemas with 'nullable: true' at the parameter level, as reported in issue #261). When IgnoreParseErrors=true the validation errors are printed to stderr as warnings instead of aborting the type provider. Default remains false (existing strict behaviour is unchanged). Also relax global.json SDK constraint from exact 10.0.103 to latestPatch rollForward from 10.0.100, so the build works with any available 10.0.x SDK patch. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
12 tasks
…3-04c43dcd71f7a2a4
Member
|
@copilot update docs at OpenApiClientProvider.md and include information about new parameter |
Contributor
|
@sergey-tihon I've opened a new pull request, #312, to work on those changes. Once the pull request is ready, I'll request review from you. |
#312) * Initial plan * docs: add IgnoreParseErrors parameter to OpenApiClientProvider.md Co-authored-by: sergey-tihon <1197905+sergey-tihon@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: sergey-tihon <1197905+sergey-tihon@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
(Manually created repo-assist PR, by clicking link provided in issue, after checking global.json update is ok)
Allow users to continue generating the type provider even when Microsoft.OpenApi reports schema validation errors. This is useful for non-strictly-compliant schemas (e.g. NSwag-generated schemas with 'nullable: true' at the parameter level, as reported in issue #261).
When IgnoreParseErrors=true the validation errors are printed to stderr as warnings instead of aborting the type provider. Default remains false (existing strict behaviour is unchanged).
Also relax global.json SDK constraint from exact 10.0.103 to latestPatch rollForward from 10.0.100, so the build works with any available 10.0.x SDK patch.