{"modulePath":"github.com/dataGriff/api-caller","version":"v0.1.2","isStandardLibrary":false,"packages":{"items":[{"path":"github.com/dataGriff/api-caller/cmd/apic","name":"main","synopsis":"Command apic runs .http request files for humans and AI agents.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/assert","name":"assert","synopsis":"Package assert parses and evaluates `# @assert` expressions of the form `\u003cselector\u003e \u003cop\u003e \u003cvalue\u003e` or `\u003cselector\u003e exists` / `\u003cselector\u003e not exists`.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/auth","name":"auth","synopsis":"Package auth applies authentication to outgoing requests, driven by the `# @auth \u003ctype\u003e [args]` directive or the `auth.default` setting in apic.yaml.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/bdd","name":"bdd","synopsis":"Package bdd runs Gherkin feature files against a project's .http requests with a fixed step vocabulary, using godog embedded in the binary.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/cli","name":"cli","synopsis":"Package cli wires the apic commands together.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/curlexport","name":"curlexport","synopsis":"Package curlexport renders a resolved request as a curl command, so a request can still be run where apic is not installed.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/demoapi","name":"demoapi","synopsis":"Package demoapi backs `apic demo`: a tiny, fully in-memory HTTP API and its matching example .http project (embedded from project/), so apic can be tried with no network access and no git clone.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/env","name":"env","synopsis":"Package env loads environment variable files:","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/httpfile","name":"httpfile","synopsis":"Package httpfile parses the common subset of the `.http` request file format used by VS Code REST Client, JetBrains HTTP Client, kulala.nvim and httpyac, plus apic's own `# @capture` / `# @assert` comment directives.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/mcp","name":"mcp","synopsis":"Package mcp exposes a project's requests to AI agents over the Model Context Protocol (stdio), so an agent can discover and call an API without shelling out.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/openapi","name":"openapi","synopsis":"Package openapi scaffolds .http files from an OpenAPI 3 document: one file per tag, one named request per operation, path parameters as {{vars}} and an example body derived from the schema.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/output","name":"output","synopsis":"Package output renders run results for humans (coloured, readable) and for machines (one JSON object per result).","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/phrase","name":"phrase","synopsis":"Package phrase turns `# @step` phrases such as `a user named {name} exists` into anchored regular expressions whose capture groups map to variables.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/project","name":"project","synopsis":"Package project discovers .http files under a directory and indexes their requests by name.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/runner","name":"runner","synopsis":"Package runner executes parsed requests: it resolves variables, sends the request, evaluates captures and assertions, and persists captured values to the session.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/selector","name":"selector","synopsis":"Package selector extracts values from an HTTP response using the small selector language shared by `# @capture` and `# @assert`:","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/session","name":"session","synopsis":"Package session persists values captured from responses between apic invocations, so `apic run login` followed by `apic run get-user` works the way it does in a GUI client.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/template","name":"template","synopsis":"Package template substitutes `{{expr}}` placeholders.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/internal/ui","name":"ui","synopsis":"Package ui is the interactive terminal UI behind `apic ui`: a request list on the left, a tabbed detail pane on the right, and a status bar.","isRedistributable":true},{"path":"github.com/dataGriff/api-caller/scripts/shot","name":"main","synopsis":"Command shot regenerates the terminal screenshots in docs/assets from real apic output: it serves the demo API in-process, runs the requests the docs talk about, and renders the frames the CLI and the UI produce as SVG.","isRedistributable":true}],"total":20}}
