Repository navigation
Fix broken validation problem type URLs - #110
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully 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.
Generated Axum servers emit six
https://openapi-to-rust.dev/problems/*identifiers whose documentation currently returns 404. Publish a static page at each existing URI, preserving identifiers for already-generated servers. Each page explains status, stable code, sanitized error fields, and corrective action.Website builds now compare emitted problem URIs with rendered canonical pages; a new CI job builds and audits the site. Document a copyable Axum response middleware example for changing problem URIs or bodies without editing generated code, and compile/exercise that exact example in the generated-server round-trip test. Correct stale request-validation statements in the Axum guide. A generator-level
problem_base_urloption remains outside this fix; the documented middleware supports custom URIs today.Validation: website build (including all six URI checks), HTML and SEO audits, negative missing-page audit, formatting and diff checks, generated-server round-trip test including middleware behavior, and mobile browser review. Middleware tests cover handler isolation, rewritten type URIs, retained violations/status/headers, stale Content-Length removal, normal/unrelated body passthrough, and bounded buffering.
Closes #109.