Repository navigation
feat(codegen,http): WordPress paging by header, force-delete key, date publish rule, path-scoped sign-in - #655
Merged
Merged
Conversation
…e publish rule, path-scoped sign-in - Page style takes `start` and `pagesHeader`, and `items: ""` for an answer that is the list. wpJsonToOpenApi returns `overrides` giving every collection read page-from-1 by X-WP-TotalPages. - permissions.forceFlags: a delete taking `force` also gets `<group>.delete.force`, applying when true. - valueKeys[].also: setting `date`/`date_gmt` needs the publish key unless the call itself sets status to draft, pending or private (written as body fields plus `unless`). - hostFetch credentialScope: a signed request outside the site's path is refused before sending, and a redirect out of it drops the credential headers. - wpJsonToOpenApi refuses the batch/v1 namespace. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… misspelt also stops generation, pagination checks stay strict Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Merged
leemour
added a commit
that referenced
this pull request
Nov 18, 2026
Version 0.120.0: the WordPress gaps (#655) and the Postman converter (#654); folds the attio parity fragment. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
Finish the WordPress connector's foundation gaps found while generating it from
wp-json(cli-base #647).Why
api … --allrefused every WordPress list: WordPress answers the list itself and gives the page count only inX-WP-TotalPages, and answers a page past the end with 400.DELETE …?force=truedeletes for good, a plain delete moves to the trash; both needed the same key.datemoves into the past, with nostatusin the call, so the publish key onstatusalone missed it.host/blog, multisite in subfolders) shares its host with others; the origin check let a redirect carry the sign-in tohost/other.batch/v1call runs other routes' writes past their keys.What
start,pagesHeader,items: "".wpJsonToOpenApireturnsoverridesgiving each collection read page-from-1 byX-WP-TotalPages.permissions.forceFlags:<group>.delete.forcebeside<group>.delete.valueKeys[].also: settingdate/date_gmtneeds the publish key unless the call itself setsstatusto another value the enum lists (draft, pending, private). A call withoutstatusneeds the key. A misspeltalsostops generation.hostFetchcredentialScope: a signed request outside it (encoded slashes included) is refused before sending; a redirect out of it drops the credential headers.wpJsonToOpenApirefusesbatch/v1.Testing
vitest runfull suite: 77 files, 1291 tests passed (before review fixes); codegen + http after fixes: 237 passed..delete.forceon every delete takingforce; 23 collection reads paged.also, looser pagination checks, and doc mismatches found and fixed.🤖 Generated with Claude Code