Skip to content

openapi: pd CLI names for leaks get and leaks status update - #246

Draft
knakul853 wants to merge 1 commit into
mainfrom
fix/pd-cli-spec-names
Draft

knakul853 wants to merge 1 commit into
mainfrom
fix/pd-cli-spec-names

Conversation

@knakul853

@knakul853 knakul853 commented Sep 30, 2026 •

Copy link
Copy Markdown

Change

post-v1-leaks-info becomes the pd CLI command leaks info, but agents expect get. post-v1-leaks-status gets an explicit name to match platform-backend.

  • x-cli-name: leaks get and x-cli-name: leaks status update; no API change.

Evidence

pd spec lint --public openapi.yaml on this branch: 125 operations, 0 problems. On main it reports the info verb. The same names are in projectdiscovery/platform-backend#1670.

Part of projectdiscovery/neo-api#2449.


Claude-Session: https://claude.ai/code/session_01GaZCEvbNVnt6tWYCdgKUcp
Claude-Local-Session: claude --resume 9a4fdc80-2a41-4bab-b39f-49646c340b49

POST /v1/leaks/info fetches one leak but read as `leaks info`; agents expect get.

Claude-Session: https://claude.ai/code/session_01GaZCEvbNVnt6tWYCdgKUcp
Claude-Local-Session: claude --resume 9a4fdc80-2a41-4bab-b39f-49646c340b49
@knakul853 knakul853 self-assigned this Sep 30, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant