Closed
Description
Onboarding API Center with an OpenAPI spec fails with an error:
Failed to import API definition for /subscriptions/123/resourceGroups/123/providers/Microsoft.ApiCenter/services/123/workspaces/default/apis/new-jsonplaceholder-typicode-com-1718283499/versions/v1-0/definitions/openapi. Status: BadRequest, reason: Bad Request
This error is caused by incorrectly serializing the ApiSpecImport
payload. The enum value of type is serialized to Inline
instead of inline
.