Files
go-unifi/unifi
Mateusz Filipowicz 53bb1a13b9 feat: generate fields validation and use it when sending requests to API (#7)
* feat: generate fields validation and use it when issuing requests to API with soft (default) or hard modes

* chore: apply linter fixes

* feat: enable field validation on int fields

* feat: add validation for ^[\w]+$ fields

* feat: add validation for MAC address fields

* fix: trim wrappers for all comments

* feat: add validation for IPv4, IPv6 and IP(IPv4/IPv6) fields

* feat: add validation for numeric, non-zero based fields

* fix: one of validation can contain dot (.) sign in values

* feat: add second notation of MAC address validation

* fix: one of validation can start with ^( and end with )$

* feat: add option to disable validation and use soft validation by default

* chore: fix test

* docs: add readme about client-side validation
2025-02-09 21:08:21 +01:00
..
2025-02-09 01:51:47 +01:00
2025-02-09 01:51:47 +01:00
2021-03-28 14:41:48 -04:00
2020-03-26 16:12:52 -04:00
2022-10-31 15:53:41 -04:00
2020-03-26 16:12:52 -04:00
2020-05-20 22:01:47 -04:00
2020-08-27 23:06:31 -04:00
2020-10-09 08:56:24 -04:00
2020-10-09 08:56:24 -04:00
2025-02-09 01:51:47 +01:00
2025-02-09 01:51:47 +01:00
2025-02-09 01:51:47 +01:00
2025-02-09 01:51:47 +01:00
2020-03-26 16:12:52 -04:00
2025-02-09 01:51:47 +01:00
2020-10-20 10:10:32 -04:00