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
apiv1.GetDocumentCollectIDReply is defined as "$ref": "#/definitions/model.Upload", which itself contains a meta property defined in "$ref": "#/definitions/model.MetaData". But model.MetaDatarequiresdate_of_birth, first_nameandlast_name` which are not provided in the actual response.
The output is defined in api 2.4 documentation provided from Thomas. The rational of this is to minimize the amount of types with in the code base. If each endpoint had to have its own (complex) type, changes will be harder to achieve.
OK. That's a pity because if you use a tool such as https://github.com/OpenAPITools/openapi-generator to convert the JSON provided by the Swagger of the DC4EU API, to generate client code, then it only partly works because the behaviour of the API does not exactly match the JSON.
On version: 25298ad
apiv1.GetDocumentCollectIDReply
is defined as"$ref": "#/definitions/model.Upload"
, which itself contains ameta
property defined in "$ref": "#/definitions/model.MetaData". But
model.MetaDatarequires
date_of_birth,
first_nameand
last_name` which are not provided in the actual response.In other words, while the announced output is:
I just get:
The text was updated successfully, but these errors were encountered: