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

fix(deps): update module github.com/getkin/kin-openapi to v0.124.0 #1532

Merged
merged 2 commits into from
Jun 3, 2024

Commits on Jun 3, 2024

  1. fix(deps): update module github.com/getkin/kin-openapi to v0.124.0

    Note that, as noted in #1533, this version introduces a significant
    breaking changes, which requires us make code changes.
    
    The key change introduced is that we now have a `Types` type, which
    supports how in OpenAPI 3.1 (and JSON Schema proper) there can be
    multiple types.
    
    In cases where previously we'd receive a Type of `""`, we now receive a
    nil array, so we need to validate that with the `.Slice()` method.
    
    Note that we do not add the support for full OpenAPI 3.1 specifications
    (#373) and make sure that we only use the `.Is` call, which makes sure
    it's the 0th element, so we don't accidentally start to have OpenAPI 3.1
    support before we're ready for it.
    
    Closes #1533.
    renovate[bot] authored and jamietanna committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    119a521 View commit details
    Browse the repository at this point in the history
  2. docs: improve error message

    Especially now these could be a number of different incompatible types,
    we should report this to the user.
    jamietanna committed Jun 3, 2024
    Configuration menu
    Copy the full SHA
    9429f76 View commit details
    Browse the repository at this point in the history