-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sdk v 0.22.0 #136
base: master
Are you sure you want to change the base?
Sdk v 0.22.0 #136
Conversation
Hi @AntoineDao, it seems the new openapi_inheritance.json has some problems. The openapi-generator failed to generate any codes. |
This is most likely because we updated to the new version of Pydantic. I'll be happy to test that if I can run the code on my side. |
@mostaphaRoudsari these errors were cause by https://github.com/pollination/pollination-server/issues/507. I have resolved it in staging and will push an updated version to this branch now. |
@MingboPeng I have managed to reduce the number of errors from the C# build with the updated The few errors left are about:
I imagine these issues would have happened before so it might be worth you looking into it to confirm whether it's just a bug on my end or if we can do something else to fix it 🙌 Error log:
|
Hi @AntoineDao! Great to know. I was NOT looking forward to debugging that code. 😄 |
Thanks @AntoineDao, In @mostaphaRoudsari 's scripts, all object will be added to inherent a base class OpenAPIGenBaseModel, not sure why The following three enums are added to the wrong places in mapper.json. They should be added to enums instead of classes
|
There are several new classes that have a property named "type" which conflicts with the reserved "type" for indicating object type when deserializing json string to C# object.
|
Hi @MingboPeng, in order to make it easier for you to productively work with the new API while we iron out SDK generation from pollination-server I have added the new OpenAPI generated for v0.22.0 of the API.
I did run into an issue with the last step of the
generate.py
script which runsdotnet build
. Here is a log of the error which you might help me understand 😀re https://github.com/pollination/pollination-server/pull/495 and #135