Project

Profile

Help

Issue #7233

closed

openapi v3 schema operation_id is not always unique

Added by dkliban@redhat.com over 2 years ago. Updated over 2 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

The 'read' and 'delete' operation_id is repeated for all the resources while the 'list' and 'create' operations have unique names such 'pulp_api_v3_repositories_container_container_create' and 'pulp_api_v3_repositories_container_container_list'.

The pattern seems to be that paths that have a name such {artifact_href} have their operation_id repeated. While paths that are in form of /pulp/api/v3/artifacts/ have unique names. Perhaps we should be changing the paths from /pulp/api/v3/artifacts/{pk}/ to {artifact_href} later in the code.

Also available in: Atom PDF