SAP / open-ux-odata

Enable community collaboration to jointly promote and facilitate best in class framework and tooling capabilities when working with OData services.
Apache License 2.0
51 stars 10 forks source link

feat: we now properly support root service document #821

Closed nlunets closed 3 months ago

nlunets commented 3 months ago

Fix for #820 We now properly create the service document for v2 and v4 services

changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 6fca2ff7cace6bd08694f6b4b8e4e9059a667ceb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------------------------------ | ----- | | @sap-ux/fe-mockserver-core | Patch | | @sap-ux/ui5-middleware-fe-mockserver | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

sonarcloud[bot] commented 3 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
90.3% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud

tobiasqueck commented 3 months ago

@nlunets the standard xml response works but ?$format=json seems to be ignored.

nlunets commented 3 months ago

I have tests specifically for this ;O What request are you trying ?

tobiasqueck commented 3 months ago

I have tests specifically for this ;O What request are you trying ?

http://localhost:8080/sap/opu/odata/IWFND/CATALOGSERVICE;v=2?$fomat=json

nlunets commented 3 months ago

$fomat=json

$fomat

tobiasqueck commented 3 months ago

Stupid middleware! Why can it not auto-correct my typos like any other tool ;)