Skip to content

fix: align giveaway ability schemas with REST contracts #170

Description

@chubes4

Problem

After assigning /giveaway/* and /instagram/* to the existing Studio site contract, the API #155 audit runs these bindings in their owning runtime and reports five schema findings.

Evidence

  • /giveaway/run -> extrachill/run-giveaway: input_schema.additionalProperties plus current constraint drift
  • /instagram/resolve -> extrachill/resolve-instagram-media: input_schema.additionalProperties plus current constraint drift

Both REST callbacks construct explicit inputs, so owner schemas should declare additionalProperties: false. Verify and align the exact field constraints exposed by the owner schemas; API will mirror intentional constraints without changing route paths.

Blocks Extra-Chill/extrachill-api#155.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions