Azure / Azure/api-management-developer-portal
Developer Portal and mock policy can only handle a few content types
- Dominant language
- TypeScript
- Stars
- 545
- Forks
- 360
- PR merge metrics
- No merged PRs in 30d
Description
Only most common content types can be rendered by the Developer Portal and mock policy (E.g. application/json).
Other content types will not be rendered, such as:
- application/problem+json;charset=utf-8
- application/json; charset=utf-8
- application/hal-forms+json; charset=utf-8
Developer Portal will render them as "object", mock policy will return empty response.
Due to this the developer does not see the real content type.
Will there be support for these CTs in the future?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing how the Developer Portal renders response content types and how the mock policy selects its response handling for the listed media types. Reproduce the behavior with the three examples, then verify that each is rendered with its real content type and that the mock policy returns the expected response rather than an empty one.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100