api-docs-icon

Sync an SDK configuration with the latest state of the API

POST
/ sdk/ config/ sync

Updates provided config with missing default configurations for the api version

object
config
binary
required

SDK configuration file in .yaml format

Example:
uploads/config.yaml
api_version
union

Can be either the semantic version or a released type (like latest)

customizations
enum
Allowed Values:
config
x-field
openapi
binary

Use api_version in typical use. If this field is supplied, the configuration sync will match the spec rather than any API that lives in Sideko.

Example:
uploads/openapi.yaml

Responses

New SDK configuration in .yaml format

application/yaml
binary

SDK configuration file in .yaml format

Example:
uploads/config.yaml

Code Examples

Response