Univention Bugzilla – Bug 52723
Wrong status code for get template in OpenAPI schema of UDM REST API
Last modified: 2021-02-11 12:08:26 CET
The OpenAPI schema of the UDM REST API says that it will return HTTP 201 for a new object template, but it returns HTTP 200. This breaks the autogenerated REST client for the UDM REST API client.
Fixed in branch dtroeder/52723_http_status_object_template [68ee5fb329] Bug #52723: fix status code for UDM REST API object template https://git.knut.univention.de/univention/ucs/-/merge_requests/62
The OpenAPI schema of the UDM REST API now returns "200" as status code for the retrieval of object creation templates. [4.4-7 f19af2d6a6] Bug #52723: return HTTP 200 when an object creation template was requested [4.4-7 784dcb99da] Bug #52723: advisory [4.4-7 dbc27409bd] Bug #52723: fix typo univention-directory-manager-rest (9.0.16-12)
Merge request to 5.0-0: https://git.knut.univention.de/univention/ucs/-/merge_requests/66
OK: schema returns 200 instead of 201 OK: YAML OK: MR exists (needs rebase)
(In reply to Florian Best from comment #4) > OK: MR exists (needs rebase) Rebase done.
<https://errata.software-univention.de/#/?erratum=4.4x892>