Skip to content

feat: added namespaces for protocols in url#45

Merged
bjoerndotsol merged 4 commits intomainfrom
feat/protocol-namespaces
Mar 16, 2026
Merged

feat: added namespaces for protocols in url#45
bjoerndotsol merged 4 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.

@bjoerndotsol bjoerndotsol merged commit 01cc44c into main Mar 16, 2026
1 check passed
@bjoerndotsol bjoerndotsol deleted the feat/protocol-namespaces branch March 16, 2026 18:32
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