Changes 999 B

123456789101112131415161718
  1. Revision history for TPSGI
  2. 0.001 2026-10-23 TEODESIAN
  3. - Initial Release
  4. - Route by an OpenAPI 3 document: a router exports %openapi in place of
  5. @routes, and a router that still has @routes dies as it loads.
  6. Templates take {name} and a final {name+}, the most concrete template
  7. wins, and parameters are validated and coerced by JSON::Validator.
  8. A path with a method that it has no route for is a 405, not a 400.
  9. - Every name in a request must be declared, or the request is a 400:
  10. each key of the query, and each field and file of the body, unless a
  11. body schema says additionalProperties. An operation in CGI mode is
  12. not validated.
  13. - A callback finds the input of a request in $query->{input}: the query
  14. string, the body, the path and x-tpsgi-data. The rest of the query is
  15. what tPSGI knows of the request, which the input cannot replace. A
  16. router dies as it loads when an operation gives one name to two of
  17. them.