Cherry-pick #20142 for V16 (#20147)

* Support querystring and anchor for local links in Delivery API output (#20142)

* Support querystring and anchor for local links in Delivery API output

* Add default implementation for backwards compat

* Add default implementation for backwards compat (also on the interface)

* Fix default implementation

* Add extra tests proving that querystring/postfix can be handled for local links in both legacy and current format.
This commit is contained in:
Kenn Jacobsen
2025-09-16 11:33:40 +02:00
committed by GitHub
parent 4ae3bb3835
commit ef1aaf8bce
7 changed files with 121 additions and 6 deletions

View File

@@ -1320,6 +1320,10 @@ internal sealed class OpenApiContractTest : UmbracoTestServerTestBase
"path": {
"type": "string"
},
"queryString": {
"type": "string",
"nullable": true
},
"startItem": {
"oneOf": [
{