We encountered an issue after we generated our client based on the api spec available on https://api.bag.kadaster.nl/lvbag/individuelebevragingen/v2/openapi.yaml. The client wouldn't compile. The reason behind it is that the parameter 'statusPand' of the GET /panden call expects an array of dates with item definition of '#/components/schemas/StatusPand'. The generated code wants to convert the list of 'StatusPand' to dates. If we change the 'format' in the spec to 'string' this error is gone.
- name: statusPand
in: query
description: Status van het pand.
required: false
style: form
explode: true
schema:
minItems: 1
type: array
format: **date**
items:
$ref: '#/components/schemas/StatusPand'
Would you please fix this so that we don't have to manually change the spec? It could also be that the service implementation is based on the wrong spec and should also be fixed accordingly.
Hi,
We encountered an issue after we generated our client based on the api spec available on https://api.bag.kadaster.nl/lvbag/individuelebevragingen/v2/openapi.yaml. The client wouldn't compile. The reason behind it is that the parameter 'statusPand' of the GET /panden call expects an array of dates with item definition of '#/components/schemas/StatusPand'. The generated code wants to convert the list of 'StatusPand' to dates. If we change the 'format' in the spec to 'string' this error is gone.
Would you please fix this so that we don't have to manually change the spec? It could also be that the service implementation is based on the wrong spec and should also be fixed accordingly.
Thanks.
Best regards,
Nick van Beek Topicus .Finance