Skip to content

spec-sync(v1): add 415 response for non-multipart request bodies - #162

Open
yzld2002 wants to merge 1 commit into
mainfrom
spec-sync/v1
Open

spec-sync(v1): add 415 response for non-multipart request bodies#162
yzld2002 wants to merge 1 commit into
mainfrom
spec-sync/v1

Conversation

@yzld2002

@yzld2002 yzld2002 commented Sep 9, 2026

Copy link
Copy Markdown
Member

Automated spec-sync PR.

  • Commit 1 (mechanical): normalized spec snapshot + regenerated reference models.
  • Commit 2 (AI): resources/methods/tests/docs wired from the spec diff (added after this PR opened).

Gates (surface-lock, contract tests, lint/test/typecheck) must pass. Human review required before merge.

What changed

AI-generated from the PR diff — verify against the actual changes.

This PR documents a new 415 error response for endpoints requiring multipart/form-data request bodies.

Changes:

  • Added a documented 415 response ("The request body was not form-encoded. Send multipart/form-data.") to the synchronous extraction endpoint.
  • Added the same documented 415 response to the async job submission endpoint.

Copilot AI balanced review requested due to automatic review settings September 9, 2026 11:02
@yzld2002
yzld2002 deployed to spec-sync-contract September 9, 2026 11:02 — with GitHub Actions Active

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The PR explicitly requires final human review before merge.

Pull request overview

Synchronizes the V1 OpenAPI snapshot with upstream spec drift.

Changes:

  • Records HTTP 415 responses for non-form-encoded requests.
  • Contains only the expected mechanical spec snapshot update.
File summaries
File Description
specs/v1-ade.json Mirrors updated upstream V1 response definitions.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@yzld2002 yzld2002 changed the title spec-sync: track V1 spec drift spec-sync(v1): add 415 response for non-multipart request bodies Sep 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants