Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger does not show current measures model #272

Open
MallocArray opened this issue Dec 9, 2024 · 0 comments
Open

Swagger does not show current measures model #272

MallocArray opened this issue Dec 9, 2024 · 0 comments

Comments

@MallocArray
Copy link
Contributor

https://api.airgradient.com/public/docs/api/v1/
Under the Model>Measures, it only lists a few of the valid entries for the body and some are incorrect.

Examples:

The pm01Standard, pm02Standard, pm10Standard are not shown in Swagger at all
locationId and locationName are mentioned in swagger, but not sent in the current firmware at all
Swagger shows firmwareVersion but the API currently sends firmware so there is a mismatch.

The Swagger site should match the measures mentioned https://github.com/airgradienthq/arduino/blob/master/docs/local-server.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant