Skip to content

Conversation

@olevitt
Copy link
Contributor

@olevitt olevitt commented Mar 28, 2025

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

@olevitt olevitt added the enhancement New feature or request label Mar 28, 2025
@olevitt olevitt merged commit 3ca798f into main Mar 28, 2025
9 checks passed
@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.

2 participants