Initial SDK: generate from swagger.json, full 117-endpoint coverage #1

Closed
opened 2026-03-01 04:15:24 +00:00 by forgejo_admin · 0 comments
Contributor

Plan

plan-2026-02-28-woodpecker-sdk-mcp — Phase 1

Repo

woodpecker-sdk — the repo where the code change happens

User Story

As an agent session
I need a Python SDK for the Woodpecker CI API
So that I can interact with CI/CD without wasting tokens on raw HTTP calls

Acceptance Criteria

When I pip install -e . and instantiate WoodpeckerClient
Then I can call any of the 117 Woodpecker API endpoints via typed Python methods

When I run pytest tests/ against a live Woodpecker instance
Then all tag groups have passing integration tests

Additional Information

Swagger spec: 117 endpoints across 22 tags.
Auth: Bearer token (PAT) via WOODPECKER_TOKEN env var.
Pattern: Replicate forgejo-sdk exactly.

Checklist

  • PR opened with related notes
  • Tests cover the acceptance criteria
  • Docs updated if needed
  • claude-config — project
  • plan-2026-02-28-woodpecker-sdk-mcp — parent plan
### Plan `plan-2026-02-28-woodpecker-sdk-mcp` — Phase 1 ### Repo `woodpecker-sdk` — the repo where the code change happens ### User Story As an agent session I need a Python SDK for the Woodpecker CI API So that I can interact with CI/CD without wasting tokens on raw HTTP calls ### Acceptance Criteria When I `pip install -e .` and instantiate `WoodpeckerClient` Then I can call any of the 117 Woodpecker API endpoints via typed Python methods When I run `pytest tests/` against a live Woodpecker instance Then all tag groups have passing integration tests ### Additional Information Swagger spec: 117 endpoints across 22 tags. Auth: Bearer token (PAT) via `WOODPECKER_TOKEN` env var. Pattern: Replicate forgejo-sdk exactly. ### Checklist - [ ] PR opened with related notes - [ ] Tests cover the acceptance criteria - [ ] Docs updated if needed ### Related - `claude-config` — project - `plan-2026-02-28-woodpecker-sdk-mcp` — parent plan
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ldraney/woodpecker-sdk#1
No description provided.