fix(ci): swagger-ui v5 Forbidden + bump mitmproxy2swagger to 0.15.0 - #65
Merged
Conversation
- phase3.spec.ts: mount spec directly into nginx html root and use URL env var instead of SWAGGER_JSON (broken symlink mechanism in v5+) - bench.yml: mitmproxy2swagger 0.14.0 → 0.15.0, drop manual mitmproxy and ruamel.yaml pins (0.15.0 declares its own deps)
9 tasks
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.
Summary
Swagger UI v5+ broke the
SWAGGER_JSONenv var in the demo GIF pipeline (phase3) — nginx returns 403 Forbidden because the entrypoint no longer symlinks the spec into the html root. Also bumps the Pythonmitmproxy2swaggerbenchmark dependency to 0.15.0.Type of Change
Checklist
cargo fmt --allclean (no Rust changes)cargo clippy --all-targets --all-features -- -D warningsclean (no Rust changes)cargo testpasses locally (no Rust changes)CHANGELOG.mdunder[Unreleased](if user-facing)feat:,fix:,docs:, etc.)Testing
CI-only changes — verified by triggering the demo-gif and bench workflows:
openapi.yamldirectly into/usr/share/nginx/html/and useURLenv var instead of deprecatedSWAGGER_JSON. Bypasses the broken symlink mechanism entirely.mitmproxy2swagger==0.15.0declares its own deps (mitmproxy>=12.2.3), so manual"mitmproxy<12"and"ruamel.yaml<0.19"pins dropped.Related Issues
None