The save/run feature exists for replaying single requests, but there is no way to chain dependent requests (e.g., login -> get token -> use token -> fetch data).
Proposed Implementation
kurl chain login.yaml fetch-data.yaml
YAML/JSON chain definitions:
steps:
- name: login
request: POST https://api.example.com/auth
body: '{"user":"admin","pass":"secret"}'
extract:
token: '.token'
- name: fetch-data
request: GET https://api.example.com/data
headers:
Authorization: "Bearer {{login.token}}"
Variable extraction via JSONPath/regex
Conditional branching:
Why this matters
Real API workflows involve multiple dependent steps. Manual token copying between commands is inefficient.
Acceptance Criteria
Issue #6: OpenAPI / Swagger Integration
No integration with API specifications. Users must manually discover endpoints and construct requests.
Proposed Implementation
kurl openapi https://api.example.com/openapi.json --list-endpoints
kurl openapi ./spec.yaml --call getUsers
Auto-populate headers, parameters, and body from spec
Validate requests against schema before sending
Generate kurl save profiles from OpenAPI specs
Why this matters
OpenAPI is the standard for API documentation. Auto-discovery eliminates guesswork.
Acceptance Criteria
The
save/runfeature exists for replaying single requests, but there is no way to chain dependent requests (e.g., login -> get token -> use token -> fetch data).Proposed Implementation
YAML/JSON chain definitions:
Variable extraction via JSONPath/regex
Conditional branching:
Why this matters
Real API workflows involve multiple dependent steps. Manual token copying between commands is inefficient.
Acceptance Criteria
Issue #6: OpenAPI / Swagger Integration
No integration with API specifications. Users must manually discover endpoints and construct requests.
Proposed Implementation
Auto-populate headers, parameters, and body from spec
Validate requests against schema before sending
Generate
kurl saveprofiles from OpenAPI specsWhy this matters
OpenAPI is the standard for API documentation. Auto-discovery eliminates guesswork.
Acceptance Criteria