Actions
Issue #8868
closedBindings don't properly namespace API
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
API Bindings
Sprint:
Sprint 99
Quarter:
Description
The pulp exports API lives at endpoint /api/v3/pulp/exporters/core/pulp/<uuid>/exports/
. For whatever reason, the bindings that get generated name this ExportersCoreExportsApi
(see here)
I am adding a new export type (FilesystemExport at /api/v3/pulp/exporters/core/filesystem/<uuid>/exports/
) and the bindings are adding two sets of methods to ExportersCoreExportsApi
(e.g. create and create_0).
I believe there should be some sort of namespace in there like ExportersPulpExportsApi or ExportersCorePulpExportsApi.
Related issues
Actions
Fix OpenAPI schema tag generation
The tag generation code was deleting the second element from the end instead of deleting the second element in the list of operation keys. This worked for operations that had 3 elements in the operations keys list, however, anything longer produced wrong operation tags.
fixes: #8868 https://pulp.plan.io/issues/8868