REST-API Client Generation
complete
B
Benjamin
Various code generators, such as https://openapi-generator.tech, do not generate an API client because there are errors in the API description:
-attribute paths. ' /auth/saml/ {samlProviderId} /acs' (post) .operationId is repeated
-attribute paths. ' /auth/saml/ {samlProviderId} /login' (post) .operationId is repeated
It seems that there are also problems with the DraftTask as it is ambiguous.
B
Benjamin
It looks better, thanks! I'm trying to generate a c# client.
Here is another example where Microsoft Kiota unfortunately also comes with many warnings and an unusable client:
https://learn.microsoft.com/en-us/openapi/kiota/install
Kiota generate -l CSharp -n Icepanel.Restclient -o IcePanelClient --exclude-backward-compatible -d https://api.icepanel.io
Leads to:
warning: kiota.builder.kiotaBuilder [0]
OpenAPI warning: #/ - The schema ActionDraft is a polymorphic type but does not define a discriminator. This will result in serialization errors
and many more of this kind.
V
Victor Leach
marked this post as
complete
This is resolved, please try again to generate the client
V
Victor Leach
marked this post as
in progress
V
Victor Leach
Thanks for letting us know, will get this fixed!
Out of interest what languages are you generating SDKs for? We have just launched our Typescript SDK https://www.npmjs.com/package/@icepanel/sdk