Skip to content

Support packages with no schemas#577

Merged
olevitt merged 2 commits into
mainfrom
support-no-schemas
Mar 28, 2025
Merged

Support packages with no schemas#577
olevitt merged 2 commits into
mainfrom
support-no-schemas

Conversation

@olevitt

@olevitt olevitt commented Mar 28, 2025

Copy link
Copy Markdown
Contributor

Currently, if no values.schema.json is provided then the API fails with 500 when resolving the schema.
This PR adds support for packages with no schema :

  • GET /my-lab/schemas/xxx : returns 200 empty if no schema is defined
  • PUT /my-lab/app : skip schema validation if no schema is defined

@sonarqubecloud

Copy link
Copy Markdown

@olevitt olevitt added the enhancement New feature or request label Mar 28, 2025
@olevitt olevitt merged commit 3ca798f into main Mar 28, 2025
@olevitt olevitt deleted the support-no-schemas branch March 28, 2025 10:18
garronej added a commit to InseeFrLab/onyxia that referenced this pull request Mar 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant