Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: in the YAML schema, fix the link to product_quality.yaml #11275

Open
jforget opened this issue Jan 21, 2025 · 0 comments
Open

docs: in the YAML schema, fix the link to product_quality.yaml #11275

jforget opened this issue Jan 21, 2025 · 0 comments

Comments

@jforget
Copy link
Contributor

jforget commented Jan 21, 2025

The product.yaml file uses the following components, among others:

allOf:
  - $ref: "../api.yml#/components/schemas/Product-Data-Quality"
  - $ref: "../api.yml#/components/schemas/Product-Knowledge-Panels"

The api.yml file defines the following components (among others):

components:
  schemas:
    "Product-Quality":
      $ref: ./schemas/product_quality.yaml
    "Product-Data-Quality":
      $ref: ./schemas/product_knowledge_panels.yaml
    "Product-Knowledge-Panels":
      $ref: ./schemas/product_knowledge_panels.yaml

It seems there was a copy-paste-fail error.

There are two possible fixes:

(1) product.yaml should refer to Product-Quality instead of Product-Data-Quality
and in api.yml the component Product-Data-Quality should be removed

(2) in api.yml, the component Product-Data-Quality should point to file product_quality.yaml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To discuss and validate
Development

No branches or pull requests

1 participant