davidebianchi / gswagger

Generate an openapi spec dynamically based on the types used to handle request and response
https://pkg.go.dev/github.com/davidebianchi/gswagger
MIT License
30 stars 8 forks source link

chore(deps): bump github.com/getkin/kin-openapi from 0.120.0 to 0.123.0 #148

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 9 months ago

Bumps github.com/getkin/kin-openapi from 0.120.0 to 0.123.0.

Release notes

Sourced from github.com/getkin/kin-openapi's releases.

v0.123.0

What's Changed

New Contributors

Full Changelog: https://github.com/getkin/kin-openapi/compare/v0.122.0...v0.123.0

v0.122.0

What's Changed

Full Changelog: https://github.com/getkin/kin-openapi/compare/v0.121.0...v0.122.0

v0.121.0

What's Changed

... (truncated)

Commits
  • 9d820c9 cmd/validate: re-enable go run ...@​latest now that unsafe dep sums are droppe...
  • c3d9748 openapi3: fix abort logic of validation for schemas with anyOf, allOf, oneOf ...
  • 62bf0f7 feat: support default value binding with allOfSchema (#885)
  • c00d180 feat(openapi3filter): add ExludeRequestQuery (#886)
  • 36afc12 openapi3: optimize Unmarshal for maplike structs (#882)
  • 0bd3056 Update README.md (#881)
  • 6740cd2 openapi3: add support for extensions on the few types left (#763)
  • f6d1b8c fix after #870: make sure Bis does not surface up (#878)
  • 0cc5e22 docs.sh: fix narrow docs checks spectrum (#877)
  • 4e7d031 openapi3: correct implementations of JSONLookup (#876)
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

fredmaggiowski commented 9 months ago

@dependabot rebase

sskserk commented 8 months ago

Facing this issue trying to start using the kin-openapi v123. Is it possible to solve it?

fredmaggiowski commented 8 months ago

Facing this issue trying to start using the kin-openapi v123. Is it possible to solve it?

Hey @sskserk I've made a commit that is supposed to fix the issue

This should also fix our other project rönd #134 failing to upgrade the same dependency: https://github.com/rond-authz/rond/actions/runs/7698490886/job/20977886061?pr=314#step:6:50


@davidebianchi do the changes make sense to you?

go build failures below ```bash ➜ gswagger git:(dependabot/go_modules/github.com/getkin/kin-openapi-0.123.0) go build . # github.com/davidebianchi/gswagger ./main.go:115:19: cannot use openapi3.Paths{} (value of type openapi3.Paths) as *openapi3.Paths value in assignment ./operation.go:31:22: invalid argument: cannot make openapi3.Responses; type must be slice, map, or channel ./route.go:101:29: invalid argument: cannot make openapi3.Responses; type must be slice, map, or channel ```
fredmaggiowski commented 8 months ago

@sskserk the fix has been released with v0.10.0 let us know if it works for you :)

sskserk commented 8 months ago

@fredmaggiowski great, now it is perfect!

Thank you!