This commit updates the openapi specification for /api/cluster/user/export endpoint to reflect the current api behaviour.
Fixes: https://tracker.ceph.com/issues/70043
Signed-off-by: Laimis Juzeliunas <laimis.juzeliunas@oxylabs.io>
extra_endpoints=[
('export', CRUDCollectionMethod(
func=RESTController.Collection('POST', 'export')(CephUserEndpoints.export),
- doc=EndpointDoc("Export Ceph Users")
+ doc=EndpointDoc("Export Ceph Users",
+ parameters={
+ "entities": Param([str], "List of entities to export")
+ })
))
],
selection_type=SelectionType.MULTI,
schema:
properties:
entities:
- type: string
+ description: List of entities to export
+ items:
+ type: string
+ type: array
required:
- entities
type: object