1
0
Fork 1
mirror of https://github.com/thatmattlove/hyperglass.git synced 2026-04-17 21:38:27 +00:00
thatmattlove-hyperglass/hyperglass/models/api
Mattie Nickson b7e268bf18
Fixed API docs rendering
The use of `strip_whitespace` in `Field` for the query validation model caused the automatic generation of the API docs to fail with `ValueError: `schema_extra` declares key `strip_whitespace` which does not exist in `Schema` object`. By switching from `Field` to `Annotated` with `StringConstraints`, this avoids this issue allowing API docs to be correctly rendered.

Signed-off-by: Mattie Nickson <mnickson@sidingsmedia.com>
2025-06-06 10:08:59 +01:00
..
__init__.py upgrade major dependencies 2024-03-16 23:17:54 -04:00
cert_import.py upgrade major dependencies 2024-03-16 23:17:54 -04:00
query.py Fixed API docs rendering 2025-06-06 10:08:59 +01:00
response.py fix import sorting 2024-03-17 16:04:41 -04:00
rfc8522.py fix import sorting 2024-03-17 16:04:41 -04:00
types.py fix import sorting 2024-03-17 16:04:41 -04:00