Conversation
Characterize existing Swagger parsing, document processing and rendered outputs before the OpenAPI v3 work. Preserve golden outputs recorded with unchanged production code at bd097d0. Related to dotnet#11151 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Replace seven full output snapshots with focused model, DOM, xref, page and TOC assertions while retaining real template builds and existing scenarios. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Exercise pure converter contracts with in-memory models, retain file-backed parser coverage, and separate suffix recognition from representative naming builds. Skip unused reference fixtures and file setup for classification paths that do not read content. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use the maintained OpenAPI reader and typed models for OpenAPI 3.0 and 3.1 core JSON/YAML documentation while retaining the legacy Swagger 2.0 compatibility path. Load local document graphs through SDK workspaces and report known SDK fidelity limits explicitly. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: aaccfe95-0a86-417b-9883-a37fd53bd705
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: aaccfe95-0a86-417b-9883-a37fd53bd705
vicancy
marked this pull request as ready for review
September 24, 2026 09:01
vicancy
marked this pull request as draft
September 24, 2026 10:21
This branch has not been deployed
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.
Add OpenAPI 3.0, 3.1 and 3.2 JSON/YAML documentation using Microsoft.OpenApi and Microsoft.OpenApi.YamlReader 3.10.2. Related to #11151; builds on the Swagger 2.0 compatibility coverage in #11152 and #11181.
Shared document input probes JSON/YAML protocol markers and YamlMime once for processor selection and loading. Existing YamlMime processors use the same input. REST dispatch selects the existing Swagger 2.0 parser/converter or the OpenAPI 3 adapter; protocol readers receive the detected version and input instead of reopening the root file. Both produce the existing REST view models with extensible metadata dictionaries. The specification version is recorded separately from the API's
info.version. Swagger 2.0 metadata access, split-page inheritance, overwrite behavior andallOfrendering retain their existing contracts.The shared template transform and partials display operations, parameters, request bodies, responses, schemas and examples. OpenAPI 3 description markup visits the documented fields while preserving literal JSON. Coverage includes server overrides, references and cycles within one document, typed constants, null defaults, boolean schemas, and OpenAPI 3.2 QUERY/custom methods, streaming
itemSchemaanddataValue/serializedValueexamples. Generated 3.0 and 3.2 examples are included in the documentation navigation.Cross-file and network
$reftargets are deferred and produceUnsupportedExternalReference. Known lossy OpenAPI 3.0 compositions are rejected, and features without dedicated documentation UI produce warnings. The documentation describes these limits.Suggested review order:
Validation: