@massu/adapter-phoenix
v1.0.0
Published
Massu first-party adapter for Phoenix (Elixir) — Tree-sitter AST detection of routes, scopes, and pipelines in lib/*_web/router.ex
Maintainers
Readme
@massu/adapter-phoenix
Massu first-party adapter for Phoenix (Elixir) — Tree-sitter AST detection of
routes, scopes, and pipelines in lib/*_web/router.ex.
What it detects
route_method— most-common explicit HTTP verb (get/post/put/patch/delete) with a string-literal path argument inside aPhoenix.Routermodule.api_namespace— first scope path fromscope "/api", FooWeb do …, normalized to a leading-slash path.pipeline— pipeline name applied to the api scope (e.g.:api,:browser).
Install
npm install @massu/adapter-phoenixThe adapter is also CORE-BUNDLED in @massu/[email protected]+ for zero-config use; the
standalone package adds the REGISTRY-VERIFIED trust class — the published tarball's
dist/ is sha256-verified end-to-end against the signed manifest at
https://registry.massu.ai/adapters/manifest.json.
Authoring SDK
This adapter is built on top of @massu/core/adapter (the SemVer-stable adapter
authoring surface). See docs/AUTHORING-ADAPTERS.md
for the full contract.
License
Business Source License 1.1 — see LICENSE.
