Skip to content

submission(io.pilot.primitive): document path parameters in method params#87

Open
Alexgodoroja wants to merge 1 commit into
mainfrom
submit/io.pilot.primitive-pathparams
Open

submission(io.pilot.primitive): document path parameters in method params#87
Alexgodoroja wants to merge 1 commit into
mainfrom
submit/io.pilot.primitive-pathparams

Conversation

@Alexgodoroja

Copy link
Copy Markdown
Collaborator

Primitive's OpenAPI declares path parameters ({id}, {slug}, {handle}, {key}, {address}) at the path-item level, not the operation level, so the submission generator missed them — <ns>.help didn't list e.g. get_email's id.

This merges path-item-level params into each operation's params. No behavior change — the adapter already fills path placeholders from the payload (verified e2e); this only enriches the generated help/docs. Bundles rebuilt from this spec (same publisher key) and the catalogue entry updated separately.

…rams

Primitive's OpenAPI declares path parameters ({id}, {slug}, {handle}, {key},
{address}) at the path-item level, not the operation level, so they were absent
from the generated method params + <ns>.help. Merge path-item-level params into
each operation so help documents e.g. get_email's `id`. No behavior change — the
adapter already fills path placeholders from the payload; this only enriches docs.
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