Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 20, 2025

Bumps github.com/speakeasy-api/openapi from 1.7.3 to 1.11.0.

Release notes

Sourced from github.com/speakeasy-api/openapi's releases.

v1.11.0

What's New

Swagger 2.0 Support

This release adds comprehensive support for Swagger 2.0 specifications including full parsing, validation, walking, and an upgrade utility to convert to OpenAPI 3.0.

Core Features:

  • Complete Swagger 2.0 data models with marshalling support
  • Full validation against Swagger 2.0 specification
  • Walking API to traverse Swagger documents with the same pattern as OpenAPI
  • Comprehensive test coverage with 227 tests including round-trip testing with real-world specs (Petstore, DocuSign, Docker Engine API)

Upgrade Utility

Automatic conversion from Swagger 2.0 to OpenAPI 3.0 with proper schema mapping:

  • swagger: "2.0"openapi: "3.0.0"
  • host/basePath/schemesservers
  • definitionscomponents.schemas
  • parameters (body) → components.requestBodies
  • securityDefinitionscomponents.securitySchemes
  • Request/response schema wrapping in content objects
  • Reference rewriting (#/definitions/#/components/schemas/)
  • 17 upgrade tests covering common and edge case scenarios

CLI Commands

  • openapi swagger upgrade - Convert Swagger 2.0 to OpenAPI 3.0
  • openapi swagger validate - Validate Swagger 2.0 documents

Additional Improvements

  • JSON marshalling: Fixed nul character handling to use proper JSON Unicode escapes (\u0000) instead of Go-style hex escapes (\x00)
  • Code quality: Resolved all linting issues (gocritic, staticcheck, unparam, gosec, nilaway)
  • Test improvements: All tests use t.Context() for better lifecycle management

Testing

  • ✅ All 227 swagger tests pass
  • ✅ All 513 total tests pass (including JSON Schema test suite)
  • ✅ Linting passes with 0 issues
  • ✅ Round-trip testing with real-world Swagger specs validates correctness

Breaking Changes

None - this is purely additive functionality.

Full Changelog: speakeasy-api/openapi@v1.10.1...v1.11.0

OpenAPI CLI v1.11.0

... (truncated)

Commits
  • 4215825 feat: add Swagger 2.0 support with upgrade to OpenAPI 3.0 utility (#66)
  • ed689a1 Create release notes for version based on PR #65
  • c22c17a fix: snip TUI select-all/deselect bug; clean reachability and tag cleanup; do...
  • 1390319 feat: add interactive explore and snip commands for OpenAPI specifications (#64)
  • 0641013 refactor: improve extension pattern filtering architecture (#63)
  • 690d05e chore: improve test coverage and reporting (#61)
  • 0bd0aca feat: add sanitize command to remove extensions and clean OpenAPI specs (#59)
  • eed3300 fix(deps): bump golang.org/x/text (#60)
  • 70b4b68 fix: convert references to absolute paths for proper parent directory handlin...
  • 40abaee chore(deps): bump jsonschema/oas3/tests/testsuite (#56)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 <dependency name> 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 20, 2025
@dependabot dependabot bot requested a review from a team as a code owner October 20, 2025 05:53
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 20, 2025
@vercel vercel bot temporarily deployed to Preview – gram-docs-redirect October 20, 2025 05:53 Inactive
@vercel
Copy link

vercel bot commented Oct 20, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
gram Ready Ready Preview Comment Oct 20, 2025 10:50am
gram-landing-redirect Ready Ready Preview Comment Oct 20, 2025 10:50am
1 Skipped Deployment
Project Deployment Preview Comments Updated (UTC)
gram-docs-redirect Skipped Skipped Oct 20, 2025 10:50am

💡 Enable Vercel Agent with $100 free credit for automated AI reviews

@changeset-bot
Copy link

changeset-bot bot commented Oct 20, 2025

⚠️ No Changeset found

Latest commit: 0e87391

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Bumps [github.com/speakeasy-api/openapi](https://github.com/speakeasy-api/openapi) from 1.7.3 to 1.11.0.
- [Release notes](https://github.com/speakeasy-api/openapi/releases)
- [Changelog](https://github.com/speakeasy-api/openapi/blob/main/.goreleaser.yaml)
- [Commits](speakeasy-api/openapi@v1.7.3...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/speakeasy-api/openapi
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 27, 2025

Dependabot couldn't find a server. Because of this, Dependabot cannot update this pull request.

1 similar comment
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 3, 2025

Dependabot couldn't find a server. Because of this, Dependabot cannot update this pull request.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 3, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/go_modules/server/github.com/speakeasy-api/openapi-1.11.0 branch November 3, 2025 17:36
@github-actions github-actions bot locked and limited conversation to collaborators Nov 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants