Hi everyone!
Iām currently working on integrating Apidog with my API using the following script:
swagger_docs=$(curl "https://domain/api.json") &&
api_dog_version=$(curl https://api.apidog.com/v1/versions | awk -F'[][]' '{print $2}' | awk -F',' '{print $1}' | tr -d '"') &&
curl --location -g --request POST 'https://api.apidog.com/v1/projects/xxx/import-openapi?locale=en-US' \
--header "Authorization: Bearer $APIDOG_TOKEN" \
--header 'User-Agent: Apidog/1.0.0 (https://apidog.com)' \
--header 'Content-Type: application/json' \
--header "X-Apidog-Api-Version:$api_dog_version" \
--data-raw "{\"url\":$swagger_docs}"```
The issue I'm facing is that the schema isn't being replaced or overridden as expected after I run the import. I'm not sure if it's a problem with how I'm passing the swagger docs or how Apidog handles schema updates.
Has anyone experienced something similar, or could provide guidance on what I might be missing? Any help would be greatly appreciated! š
Thanks in advance! š