diff --git a/docs/source/endpoints/types.md b/docs/source/endpoints/types.md index d2ea10eada..e12f66b75b 100644 --- a/docs/source/endpoints/types.md +++ b/docs/source/endpoints/types.md @@ -107,7 +107,7 @@ To get the schema of a content type, access the `/@types` endpoint with the name :language: http ``` -The content type schema uses the [JSON Schema](http://json-schema.org/) format. +The content type schema uses the [JSON Schema](https://json-schema.org/) format. The tagged values for the widgets are also exposed in the `properties` attribute of the schema. For `Choice` fields, their vocabulary or source will be linked to in a `vocabulary` or `querysource` property (one or the other, never both): diff --git a/news/1703.internal b/news/1703.internal new file mode 100644 index 0000000000..6d5ce45b01 --- /dev/null +++ b/news/1703.internal @@ -0,0 +1 @@ +Remove unused code. @davisagli diff --git a/news/1718.documentation b/news/1718.documentation new file mode 100644 index 0000000000..acca3051ee --- /dev/null +++ b/news/1718.documentation @@ -0,0 +1 @@ +Fix redirect for https://json-schema.org/. @stevepiercy diff --git a/src/plone/restapi/services/navigation/get.py b/src/plone/restapi/services/navigation/get.py index 3201d9e2df..665f22da01 100644 --- a/src/plone/restapi/services/navigation/get.py +++ b/src/plone/restapi/services/navigation/get.py @@ -163,8 +163,6 @@ def render_item(self, item, path): item.update({"items": sub}) - if "title" in item and item["title"]: - item["title"] = item["title"] if "path" in item: del item["path"] return item