Notifique.DynamicApi
(notifique v0.2.1)
Copy Markdown
Dynamic OpenAPI client built from priv/operations.json at runtime.
Summary
Functions
Builds a nested map of namespaces where leaf values are callable functions.
Invokes a registered operation by dotted path (e.g. "push.getV1PushApps").
Used by the typed Notifique.Generated.Api modules.
Returns the number of registered operations.
Returns all operation paths as dot-separated strings (e.g. "wellKnown.getJwks").
Top-level namespace keys from the registry.
Functions
@spec build(Notifique.t()) :: map()
Builds a nested map of namespaces where leaf values are callable functions.
@spec call_operation(Notifique.t(), String.t(), keyword()) :: {:ok, term()} | {:error, term()}
Invokes a registered operation by dotted path (e.g. "push.getV1PushApps").
Used by the typed Notifique.Generated.Api modules.
@spec count() :: non_neg_integer()
Returns the number of registered operations.
@spec operation_paths() :: [String.t()]
Returns all operation paths as dot-separated strings (e.g. "wellKnown.getJwks").
@spec top_level_namespaces() :: [String.t()]
Top-level namespace keys from the registry.