Skip to content

Update swagger required fields #362

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

Open
PietrH opened this issue Mar 6, 2025 · 0 comments
Open

Update swagger required fields #362

PietrH opened this issue Mar 6, 2025 · 0 comments

Comments

@PietrH
Copy link
Member

PietrH commented Mar 6, 2025

The swagger API reports no required fields for the observation model: https://uat-db.vespawatch.be/swagger/?format=openapi

definitions > observation > required

However, when importing a minimal record I get an error about required fields:

Failed to import observations: {'errors': [{'record': 1, 'error': 'Missing required fields for new record: observation_datetime, longitude, latitude'}]}

Please update the swagger docs to reflect this.

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