You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Endpoint files: an unknown top-level key (e.g. a mis-named auth include) passes validation silently #282
A section include keeps the section's own name as the key (src/extended_yaml_parser.cpp:625-640). A shared file with auth-prod: included as {{include:auth-prod from common.yaml}} gives the endpoint an auth-prod: key nothing reads, and no auth:.
--validate-config passes with no warning, and with no top-level auth: the endpoint answers 200 to anonymous callers. The flapi.io docs had this exact example (fixed in DataZooDE/flapi-landingpage#7).
The main config warns about unknown top-level keys; endpoint files should too, at least for the near-miss auth-* / *auth* names, or every unknown key.
Also found in the same review: completion/complete returns total = every enum value scanned instead of the number of matches, e.g. total: 5 for one match (src/mcp_route_handlers.cpp:2596-2607).
Activity
test: Review follow-ups for #276 and #282
fix: Review follow-ups for #276 and #282
docs: Review follow-ups for #276 and #282
Merge stream S3: cache + endpoint keys (#276, #282)