hellosign / hellosign-openapi

Official Dropbox Sign OpenAPI Spec
Other
15 stars 14 forks source link

HelloSign python SDK generated with the openapi-sdk.yaml is different from the SDK project provided in this repo #298

Closed MeikandaNayanar closed 1 year ago

MeikandaNayanar commented 1 year ago

I am trying to generate the python SDK of the hellosign with this yaml https://github.com/hellosign/hellosign-openapi/blob/main/openapi-sdk.yaml

The below is the command I am using to generate the SDK

java -jar openapi-generator-cli-6.6.0.jar generate -i D:\openapi-sdk.yaml -g python -o c:\temp\hellosign_python --skip-validate-spec --additional-properties packageName=hellosign.sdk

But the SDK project generated is different from the once they have generated here https://github.com/hellosign/hellosign-openapi/tree/main/sdks/python.

Few API classes are not there. init.py is different with separate clients and so on. How to generate the SDK project same as they have generated?

jtreminio-dropbox commented 1 year ago

To generate a specific SDK run ./generate-sdks -t {lang} - yours would be ./generate-sdks -t python.

See https://github.com/hellosign/hellosign-openapi#rebuilding-sdks for more information.