Skip to content

Onboarding API Center with an OpenAPI spec fails with an error: Bad Request #786

Closed
@waldekmastykarz

Description

@waldekmastykarz

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.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions