tiktok / tiktok-business-api-sdk

An SDK built to facilitate application development to integrate with TikTok Business API.
https://ads.tiktok.com/marketing_api/docs?id=1764231376750658&rid=542rk6sm9jl
MIT License
69 stars 26 forks source link

how do you gen swagger definition #33

Closed wanghaisheng closed 6 months ago

wanghaisheng commented 6 months ago

This Python package is automatically generated by the Swagger Codegen project:

I was start a similar project for https://github.com/wanghaisheng/tiktok-opensdk-web

can you share more detail about how do you guys start from a documentation to swagger json to use Codegen

jasonchentt commented 6 months ago

We generate the swagger files from the internal API service (obtain schema) and internal parser service(transfer to swagger json), not from Codegen. You could manually create a swagger file with a defined request and response schema

wanghaisheng commented 6 months ago

could you share the schema and swagger json for reference ? I find it hard start from raw documentation to do this @jasonchentt