Skip to content

Tags: go-openapi/validate

Tags

v0.25.0

Toggle v0.25.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
chore(deps): updated dependencies & relinted (#213) Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

v0.24.0

Toggle v0.24.0's commit message
chore(go): go-openapi requires go.1.20 across the board Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

v0.23.2

Toggle v0.23.2's commit message
ci: give tests with race more time to complete, esp on windows Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

v0.23.1

Toggle v0.23.1's commit message
fix(ci): remove dependency-type from dependabot groups dependency-type is irrelevant in the gomod ecosystem. This setting prevented some updates to auto-merge as expected. Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

v0.23.0

Toggle v0.23.0's commit message
chore(ci): prevents duplicate workflow runs Signed-off-by: Frédéric BIDON <fredbi@yahoo.com>

v0.22.6

Toggle v0.22.6's commit message
fixed linter for duplicate constant string Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

v0.22.5

Toggle v0.22.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix(parameters): applied extra schema validation to parameters (#166) * fix(parameters): applied extra schema validation to parameters This PR applies an extra jsonschema validation to expanded parameters. Whenever a parameter is provided as a $ref, jsonschema validation works at the level of the unexpanded parameter only. It is indeed valid to declare a parameter as a json reference. The issue is that the expanded content of this parameter definition is subject only to "extra rules" (uniqueness, etc) and not to the basic jsonschema rules (e.g. allowed and required properties). An example is provided by go-swagger/go-swagger#2527. It seems that this situation never occured before go-swagger/go-swagger#2527 because the "parameters" section to which shared parameters normally point to is always fully expanded. In the case of a $ref to a schema in "definition", the invalid content of the $ref incorrectly passes validation. * fixes #165 * contributes go-swagger/go-swagger#2527 Signed-off-by: Frederic BIDON <fredbi@yahoo.com> * added unit test to assert that no duplicate messages are spewed out Signed-off-by: Frederic BIDON <fredbi@yahoo.com> --------- Signed-off-by: Frederic BIDON <fredbi@yahoo.com>

v0.22.4

Toggle v0.22.4's commit message
updated go-openapi dependencies Signed-off-by: Frederic BIDON <fredbi@yahoo.com>