Enhance documentation to support OpenAPI 3.0-3.2 features and clarify usage instructions#35
Merged
Merged
Conversation
… usage instructions
Contributor
There was a problem hiding this comment.
Pull request overview
Documentation-focused PR to align OpenApiWeaver docs with newly supported OpenAPI 3.2 capabilities and to clarify MSBuild-based document discovery/configuration across both English and Japanese docs.
Changes:
- Update stated supported OpenAPI version range to OpenAPI 3.0–3.2 across README and docs.
- Add/expand documentation for nullable type arrays, runtime error handling (
OpenApiException), and XML doc generation details. - Clarify MSBuild integration:
OpenApiWeaverDocumentusage, projection intoAdditionalFiles, and metadata flow (ClientName,Namespace).
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates headline feature/support messaging and adds MSBuild guidance note. |
| docs/en/index.md | Updates landing page tagline and feature blurb to 3.0–3.2. |
| docs/en/getting-started.md | Updates prerequisites and clarifies document inclusion guidance. |
| docs/en/configuration.md | Expands MSBuild projection and document discovery documentation. |
| docs/en/features.md | Updates version messaging and adds runtime error handling / XML docs sections. |
| docs/en/schema-types.md | Adds nullable type array documentation and mapping example. |
| docs/ja/index.md | Mirrors landing page tagline and feature blurb updates in Japanese. |
| docs/ja/getting-started.md | Mirrors prerequisites and inclusion guidance updates in Japanese. |
| docs/ja/configuration.md | Mirrors MSBuild projection and discovery documentation in Japanese. |
| docs/ja/features.md | Mirrors features expansion (error handling, XML docs, 3.2 notes) in Japanese. |
| docs/ja/schema-types.md | Mirrors nullable type array documentation and mapping example in Japanese. |
| docs/en/how-it-works.md | Expands the pipeline description (MSBuild projection, docs sanitization, error handling). |
| docs/ja/how-it-works.md | Mirrors the expanded “How it works” pipeline description in Japanese. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@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.
This pull request updates the documentation to highlight and clarify support for OpenAPI 3.2, improve guidance on MSBuild integration, and document new features such as enhanced error handling, XML documentation generation, and support for nullable type arrays. The changes span the main README and all English and Japanese documentation, ensuring consistency and clearer instructions for users.
Major documentation updates:
OpenAPI 3.2 and Schema Support:
type: ["string", "null"]), including C# mapping examples. [1] [2] [3]MSBuild Integration and Document Discovery:
OpenApiWeaverDocumentinstead ofAdditionalFiles, with explanations of how MSBuild targets project these items and their metadata into the source generator. [1] [2] [3]OpenApiWeaverDocumentitems are processed, and how metadata likeClientNameandNamespaceare handled. [1] [2]Enhanced Feature Documentation:
OpenApiExceptionandOpenApiException<TError>, error schema matching, and example usage. [1] [2]Process and How-It-Works:
Japanese Documentation:
These updates make the documentation more accurate, user-friendly, and reflective of the latest capabilities of OpenApiWeaver.