chore: sync openapi.json with upstream API#304
Conversation
Co-Authored-By: Sachin Iyer <siyer@detail.dev>
Original prompt from Sachin
|
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
| "review", | ||
| "linear", | ||
| "jira", | ||
| "asana", |
There was a problem hiding this comment.
📝 Info: BugSource not re-exported — new variant has no downstream impact
The BugSource type is notably absent from the re-export list at src/api/types.rs:7-12. It exists only as a field type within BugReview.source (which is itself optional). No code in the repository pattern-matches on BugSource variants, so adding "asana" is purely additive with zero risk of breaking existing match arms. If a future PR needs to display the source (e.g., in a card view), it would need to handle the new variant at that point.
Was this helpful? React with 👍 or 👎 to provide feedback.
Summary
Syncs
openapi.jsonwith the upstream API athttps://api.detail.dev/public/v1/openapi.jsonusingcargo xtask generate-openapi.Changes from upstream:
asanaStateNamefield added toBugReviewproperties"asana"added to the integration source enumThe API client is generated at compile time via
progenitor::generate_api!, so no other file changes are needed.Review & Testing Checklist for Human
asanaStateNamefield andasanaenum value are expected upstream additionsNotes
Generated via
cargo xtask generate-openapi. All checks pass:cargo xtask check,cargo fmt --check,cargo clippy -- -D warnings,cargo test(295 tests).Link to Devin session: https://app.devin.ai/sessions/cea71513bc1840c69f62012799a35cb1
Requested by: @sachiniyer
Summary by cubic
Synced
openapi.jsonwith the upstream API at https://api.detail.dev/public/v1/openapi.json. AddsBugReview.asanaStateNameandasanato the integration source enum; the client updates at build viaprogenitor::generate_api!.Written for commit 2d08e8a. Summary will update on new commits. Review in cubic