Skip to content

refactor: api base, move to docs.json#120

Merged
cdcabrera merged 2 commits intopatternfly:mainfrom
cdcabrera:20260304-issue-21-refactor-squished
Mar 4, 2026
Merged

refactor: api base, move to docs.json#120
cdcabrera merged 2 commits intopatternfly:mainfrom
cdcabrera:20260304-issue-21-refactor-squished

Conversation

@cdcabrera
Copy link
Member

@cdcabrera cdcabrera commented Mar 4, 2026

What is it?

  • refactor: api base, move to docs.json
    • docs, removes embedded lists in favor of docs.json
    • options, whitelisted urls, protocols, assertions for configuration
    • resources, add generic components index, assertions, use docs.json
    • server, assertion updates, build search strings, isWhitelistedUrl checks
    • tools, use refactored pf search and filtering, assertions for params
    • e2e, checks to confirm mock data is used

Notes

  • Moves from the embedded arrays of docs links with docs.json
  • Adds in nice-to-have assertions for options configurations and MCP param messaging for model discovery
  • Adds a more generic resource named "pf components index". Related to consideration around moving from the schemas index

Updates issue/story

Related to #49 #21 #99 #107

* docs, removes embedded lists in favor of docs.json
* options, whitelisted urls, protocols, assertions for configuration
* resources, add generic components index, assertions, use docs.json
* server, assertion updates, build search strings, isWhitelistedUrl checks
* tools, use refactored pf search and filtering, assertions for params
* e2e, checks to confirm mock data is used
@cdcabrera cdcabrera force-pushed the 20260304-issue-21-refactor-squished branch from 9c3f778 to e18789e Compare March 4, 2026 19:12
@cdcabrera cdcabrera merged commit 1f5e4d6 into patternfly:main Mar 4, 2026
3 checks passed
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