Skip to content

feat: added namespaces for protocols in url#45

Open
bjoerndotsol wants to merge 2 commits intomainfrom
feat/protocol-namespaces
Open

feat: added namespaces for protocols in url#45
bjoerndotsol wants to merge 2 commits intomainfrom
feat/protocol-namespaces

Conversation

@bjoerndotsol
Copy link
Collaborator

Summary

  • Updates all Standard Blinks Library protocol entries in docs.json to use the new { source, directory } openapi format, scoping each protocol's API reference under api-reference/{protocol}/
  • Adds a redirects section covering all previously shared URLs so existing links continue to work

Why

Previously, all protocol API reference pages were generated flat under api-reference/{tag}/{operation}. This caused namespace collisions between protocols that share the same tag names (e.g. Lend used by DeFiTuna, Marginfi, and Kamino all resolving to the same api-reference/lend/... path).

Adding the protocol name as a segment (api-reference/{protocol}/{tag}/{operation}) isolates each protocol's pages and makes URLs unambiguous.

Redirects

All 12 protocols have redirect entries mapping old flat paths to their new namespaced equivalents.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant