Add unified project Page and strengthen OpenAPI validation - #4
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: a06a61b7f4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| runtime_paths = { | ||
| rule.rule.replace("<code>", "{code}") | ||
| for rule in app.url_map.iter_rules() | ||
| if rule.endpoint != "static" |
There was a problem hiding this comment.
Compare documented HTTP methods as well as paths
When a new HTTP method is registered on an existing URL, such as POST /api/v1/countries, runtime_paths remains unchanged and this test passes even if the OpenAPI document omits the operation. Since an operation is identified by both path and method, compare normalized (path, method) pairs while excluding Flask's implicit HEAD and OPTIONS methods so the claimed runtime-route coverage catches incomplete contracts.
Useful? React with 👍 / 👎.
| .main-content a { | ||
| color: var(--tide-teal); | ||
| font-weight: 600; |
There was a problem hiding this comment.
Darken light-mode links to preserve text contrast
In the default light color scheme, #0b92b6 has only about a 3.46:1 contrast ratio against the page's #fafaf7 background (and 3.62:1 against white table surfaces). The normal 17px link text therefore falls below the WCAG AA 4.5:1 threshold, making links difficult to read for low-vision users; use a darker link color in light mode while retaining the brighter dark-mode override.
Useful? React with 👍 / 👎.
Summary
docs/openapi-spec-validatorValidation target
main+/docs, consistent with the other DataTideHH project sites