API Management - Swagger example not showing in Developer Portal, but working SwaggerUI

johannes.hirschmann 6 Reputation points
2022-02-07T15:50:23.077+00:00

Hi, I'm having trouble getting the API documentation in the Developer Portal to be displayed as desired.
I have a List of a Dictionary<string, DicomAttribute> for which I want to display the structure and an example. I have attached the Open API Json file (a simplified version, but should be good enough for demonstration purposes) in the .txt. file. 171925-openapi-json.txt

Using SwaggerUI or swagger editor https://editor.swagger.io/ the structure and example is displayed fine:

171906-image.png
171982-image.png

But when getting this to the API Management the example does not show up in the Dev Portal:

171907-image.png
171973-image.png

And also the referenced definition of DicomAttribute is not displayed in the "Definitions" section.

Do you have any idea what could go wrong here?
The imported definitions in API Management look fine..

Thanks in adavance!
Johannes

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.