Skip to content

Commit

Permalink
Merge branch 'main' into site_administrator
Browse files Browse the repository at this point in the history
  • Loading branch information
jensens authored Oct 5, 2023
2 parents b413b57 + 3927a89 commit a3b95fe
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/endpoints/types.md
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
1 change: 1 addition & 0 deletions news/1703.internal
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove unused code. @davisagli
1 change: 1 addition & 0 deletions news/1718.documentation
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix redirect for https://json-schema.org/. @stevepiercy
2 changes: 0 additions & 2 deletions src/plone/restapi/services/navigation/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a3b95fe

Please sign in to comment.