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
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
..
api Fixed API docs rendering 2025-06-06 10:08:59 +01:00
config Fix field validation for device config. 2025-06-04 13:33:28 +01:00
data fix BGP route validation 2024-06-30 23:33:06 -04:00
parsing Removed Union import 2025-05-17 23:34:15 +10:00
tests Deprecate Device.network 2021-09-24 00:16:26 -07:00
__init__.py Improve MultiModel API 2021-09-18 09:51:47 -07:00
directive.py Fixed validation of no condition rules 2025-06-04 17:59:49 +01:00
fields.py upgrade major dependencies 2024-03-16 23:17:54 -04:00
main.py fix prepending of HYPERGLASS_APP_PATH to values; closes #253 2024-06-01 15:08:59 -04:00
system.py fix container file handling 2024-05-27 16:08:50 -04:00
ui.py update docs 2024-03-25 00:01:16 -04:00
util.py logging overhaul 2024-04-01 23:42:07 -04:00
webhook.py logging overhaul 2024-04-01 23:42:07 -04:00