You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The response contains properties which are not defined in the API specification:
The objects located at /groupByResult/[item]/result/[item] and /result/[item] sometimes contain the following properties: timestamp, fromTimestamp and toTimestamp.
Bug Description
The following API request obtains a response that contains inconsistencies with respect to the API specification.
General Information
Please include the following general information about the issue and list any additional steps needed to reproduce the bug.
1.5.0
]1.6.1
https://api.ohsome.org/v1
, local instance with an h2 file or connected to the cluster, etc.]https://api.ohsome.org/v1
https://api.ohsome.org/v1/users/count/groupBy/key?filter=destination%21%3D*%20and%20id%3A%281%20..%209999%29&time=%2F%2FP8M18D&groupByKeys=landuse%2Cturn%3Alanes&timeout=47&bcircles=8.705513%2C49.43609%2C3%7C8.713634%2C49.4304%2C9
Expected Behaviour
The response contains properties which are not defined in the API specification:
/groupByResult/[item]/result/[item]
and/result/[item]
sometimes contain the following properties:timestamp
,fromTimestamp
andtoTimestamp
.These properties should be defined in the OpenAPI specification. Alternatively, the keyword
additionalProperties
should be used (see https://swagger.io/docs/specification/data-models/dictionaries/)The OpenAPI specification I am referring to is available at:
Further Information
Error Messages, Logs, Screenshots
See attached screenshot.
Additional Information
Several test reports revealing this issue are available at the following URLs (they might take some time to load):
Screenshot
The text was updated successfully, but these errors were encountered: