Skip to content

fix requested schema change for altProduct - #203

Open
JD-ghforme wants to merge 1 commit into
mainfrom
AL-147-adding-items-alt-product
Open

fix requested schema change for altProduct#203
JD-ghforme wants to merge 1 commit 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.

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