Skip to content

Swagger/DOC doesn't fit to API  #203

@ternes3

Description

@ternes3

I am currently working on an application that will make some of my work with bunq easier. For this, I have generated a client from the Swagger file in the master via the OpenAPI generator.

I have now noticed some differences in the documentation and the use of the API during programming.

For example, GET /v1/user/$userId/monetary-account/ returns a MonetaryAccountListing, whereas the attributes monetaryAccountBank and monetaryAccountJoint are supposed to be a MonetaryAccount[Bank|Joint] object. I have switched to using a MonetaryAccount[Bank|Joint] listing. The current MonetaryAccount[Bank|Joint] object does not even contain a BunqId. That doesn't fit somehow.

Another example is a POST to "/v1/user/$userId/monetary-account/$monetaryAccountId/request-inquiry.

According to the documentation, a RequestInguiry expects a LabelMonetaryAccount as "counterparty_alias". However, it should be a Pointer Object, so that it will work against the API.

Since doc.bunq.com is also generated from the Swagger file, the description there is also wrong / not applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions