curl --request PUT \
--url https://wmc.wiremockapi.cloud/v1/mock-apis/{mockApiId}/open-api \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--data '
{
"openApi": {
"doc": "openapi: 3.1.0\ninfo:\n title: Customer Contacts Management API\n description: API for managing customer contacts including personal and professional details\n version: 1.0.0\nservers:\n- url: https://dev-openapi-testing.wiremockapi.cloud"
}
}
'