When using the @sap-ux/axios-extension to fetch available OData v2 services, we fetch the service document of the catalog service first to determine which entity set we need to use to get the serviced recommended/available for UI development. While testing it with the mock server we noticed that it is not correctly returning the entities and that it doesn't support the $format=json parameter.
Steps to Reproduce
Steps to reproduce the behavior:
Create a project with any metadata.xml
Call the mocked service root with the url parameter $format=json
Related Feature
Feature request: no idea
Description
When using the
@sap-ux/axios-extension
to fetch available OData v2 services, we fetch the service document of the catalog service first to determine which entity set we need to use to get the serviced recommended/available for UI development. While testing it with the mock server we noticed that it is not correctly returning the entities and that it doesn't support the$format=json
parameter.Steps to Reproduce
Steps to reproduce the behavior:
$format=json
Expected results
A JSON document like
Actual results
Two issues:
Root Cause Analysis
Problem
{describe the problem}
Fix
{describe the fix}
Why was it missed
{Some explanation why this issue might have been missed during normal development/testing cycle}
How can we avoid this
{if we donโt want to see this type of issues anymore what we should do to prevent}