to get a personalized navigation.
to get a personalized navigation.
Hello,
We use the Swagger file to generate our API client with AutoRest.
We had to make a few manual changes to the Swagger file so it follows the specifications in order for AutoRest to generate the proper signatures with a Stream as a parameter or return type.
For endpoint GET /controller/api/v1/attachment/{attachmentId} we had to:
For endpoint POST /controller/api/v1/expenseReceipt/{receiptNumber}/attachment we had to:
I would be grateful if you could fix the Swagger file so we don't have to make these manual changes every time we are going to upgrade our API client.
Also, with these changes it would be possible to upload files directly from the Swagger documentation when trying out the endpoints.
Hello Véronique,
I see your point.
We'll check this out with the team to make sure source file produces the correct definitions.
@Véronique wrote:Also, with these changes it would be possible to upload files directly from the Swagger documentation when trying out the endpoints.
This improvement request is in our backlog. We'll update the case in the ideas section when we receive further information.
Thanks.
any update on this?
How about if Visma provide a visma net client api for most common code languages? I have tried nswag which is an opensource project for creating client apis which is also built into Visual studio, but the VN swagger json does not seem to be compatible.
Hello,
this is in the backlog and unfortunately, we're unable to share specific information about the release plan at the moment since it's not emerged yet. We'll continue to keep you informed of further developments as we receive information on any progress.
Copyright © 2022 Visma.com. All rights reserved.