Skip to content
This repository was archived by the owner on Sep 28, 2026. It is now read-only.

fix requested schema change for altProduct - #203

Merged
Jonny Pound (JonnyPound90) merged 3 commits into
mainfrom
AL-147-adding-items-alt-product
Sep 24, 2026
Merged

Jonny Pound (JonnyPound90) merged 3 commits into
mainfrom
AL-147-adding-items-alt-product

Conversation

@JD-ghforme

Copy link
Copy Markdown
Contributor

added item descriptions for altProduct array in schema

Copilot AI lite review requested due to automatic review settings September 9, 2026 14:16

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.

Pull request overview

This PR updates the altProduct field in the Data Gateway OpenAPI schema to explicitly define the structure of each array element, making the schema more precise and self-describing for API consumers.

Changes:

  • Added an items schema for altProduct defining an object shape with name, publisher, and status plus per-field descriptions.
  • Restricted altProduct item objects to only the declared fields via additionalProperties: false and an explicit required list.

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

@JonnyPound90
Jonny Pound (JonnyPound90) merged commit c8713bc into main Sep 24, 2026
8 checks passed
@JonnyPound90
Jonny Pound (JonnyPound90) deleted the AL-147-adding-items-alt-product branch September 24, 2026 12:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants