Skip to content

[pull] master from sunnah-com:master#14

Merged
pull[bot] merged 1 commit into
turkdevops:masterfrom
sunnah-com:master
Jul 19, 2026
Merged

[pull] master from sunnah-com:master#14
pull[bot] merged 1 commit into
turkdevops:masterfrom
sunnah-com:master

Conversation

@pull

@pull pull Bot commented Jul 19, 2026

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

Adds scripts/validate_spec.py which parses @app.route decorators in
main.py and paths in spec.v1.yml, normalizes path params positionally,
and fails if either side has an endpoint the other lacks.

Adds .github/workflows/spec-check.yml which runs the validator on every
PR and push to master that touches main.py or spec.v1.yml.

This makes it impossible to merge a new/changed API endpoint without
updating the spec that Stoplight publishes at
https://sunnah.stoplight.io/docs/api/.

Co-authored-by: Hasan Khan <hasan.khan@gmail.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@pull pull Bot locked and limited conversation to collaborators Jul 19, 2026
@pull pull Bot added the ⤵️ pull label Jul 19, 2026
@pull
pull Bot merged commit f99eea1 into turkdevops:master Jul 19, 2026
1 of 3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant