Files
openhop_repeater/scripts/openapi_contract_allowlist.yaml
yellowcooln 05500fcf5b feat(sensor-manager): add sensor configuration API and OpenAPI spec
- 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
2026-09-23 11:27:39 -04:00

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