mirror of
https://github.com/openhop-dev/openhop_repeater.git
synced 2026-10-23 21:43:02 +00:00
- Add _settings_schema to all 9 sensor classes (bme280, ens210, ina219, shtc3, lafvin_ups_3s, waveshare_ups_d, waveshare_ups_e, hardware_stats, openhop_modem) - Implement GET /sensors/types, GET /sensors/config, POST /sensors/config, POST /sensors/read endpoints in api_endpoints.py - Update openapi.yaml with Sensors tag and endpoint schemas - Add underscore-to-slash path mapping in contract checker - Add sensors to contract allowlist
10 lines
265 B
YAML
10 lines
265 B
YAML
# OpenAPI contract allowlist
|
|
# Endpoints here are exempt from the "code → OpenAPI" check.
|
|
# Used when the checker can't infer the mapping (e.g. underscore→slash).
|
|
|
|
exact_paths:
|
|
- /sensors_types
|
|
- /sensors_config
|
|
- /sensors_config_update
|
|
- /sensors_read
|