Keystone-doc for endpoints are wrong. Doesn't match code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Dolph Mathews |
Bug Description
Keystone doc uses "faceing" as attibute name in the document. But in the code it is called "interace". Which is correct?
// From code
@controller.
def create_
ref = self._assign_
ref = self.catalog_
return {'endpoint': ref}
// From doc
Create endpoint: POST /endpoints
Request:
{
"extra": "--json-blob--",
"facing": "[admin|
"name": "name",
"url": "..."
}
Changed in keystone: | |
status: | Triaged → Fix Released |
assignee: | nobody → Dolph Mathews (dolph) |
It should be "interface"; see the "API Resources" section of the v3 doc for the current "source of truth":
https:/ /github. com/openstack/ identity- api/blob/ master/ openstack- identity- api/src/ markdown/ identity- api-v3. md#endpoints- v3endpoints
This section has evolved a bit ahead of the verbose examples in the "Core API" section.