Open-EO / openeo-backend-validator

Service to validate back-end compliance with the API specification.
Apache License 2.0
1 stars 3 forks source link

Go: Show warnings for "undefined" properties #39

Open bgoesswe opened 4 years ago

bgoesswe commented 4 years ago

If a response contains non defined properties it should give some kind of warning. (Maybe a list in the message)

m-mohr commented 4 years ago

Note: This should only apply if additionalProperties is not explicitly set. For false or an schema it would fail anyway, and for true it's explicitly allowing additional properties (usually due to an incomplete schema, e.g. JSON Schema).