---
title: "github.com/go-openapi/swag v0.29.0 Breaking Changes"
description: "What each github.com/go-openapi/swag release removed, renamed or changed: 17 breaking changes in 3 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/go-openapi/swag
last_updated: 2026-12-04
---

# github.com/go-openapi/swag breaking changes

github.com/go-openapi/swag v0.29.0 (August 19, 2026) is its newest release with breaking changes. The first: Renames test fixture directories to testdata in github.com/go-openapi/swag v0.29.0. Every breaking API change we have recorded in github.com/go-openapi/swag on Go modules: 17 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.29.3`, released December 1, 2026. [Source repository](https://github.com/go-openapi/swag)

Its v0.26.0 release requires Go 1.25.0 or later. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v0.24.0](#v-v0-24-0) to [v0.29.0](#v-v0-29-0): 2 breaking changes in 2 versions.

## github.com/go-openapi/swag v0.29.0 breaking changes

github.com/go-openapi/swag v0.29.0, released August 19, 2026: 1 breaking change.

- **Renamed**  

Renames test fixture directories to testdata in github.com/go-openapi/swag v0.29.0 [github.com](https://github.com/go-openapi/swag/releases/tag/v0.29.0)

## github.com/go-openapi/swag v0.26.0 breaking changes

github.com/go-openapi/swag v0.26.0, released April 15, 2026: 1 breaking change.

- **Configuration changed**  

The module's go directive is now 1.25.0, so users must build with Go 1.25.0 or later. [github.com](https://github.com/go-openapi/swag/releases/tag/v0.26.0)

## github.com/go-openapi/swag v0.24.0 breaking changes

github.com/go-openapi/swag v0.24.0, released August 30, 2025: 15 breaking changes.

- **Removed** `github.com/go-openapi/swag.ErrLoader`  

github.com/go-openapi/swag.ErrLoader was removed in github.com/go-openapi/swag v0.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Removed** `github.com/go-openapi/swag.ErrYAML`  

github.com/go-openapi/swag.ErrYAML was removed in github.com/go-openapi/swag v0.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Removed** `github.com/go-openapi/swag.LoadHTTPBasicAuthPassword`  

github.com/go-openapi/swag.LoadHTTPBasicAuthPassword was removed in github.com/go-openapi/swag v0.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Removed** `github.com/go-openapi/swag.LoadHTTPBasicAuthUsername`  

github.com/go-openapi/swag.LoadHTTPBasicAuthUsername was removed in github.com/go-openapi/swag v0.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Removed** `github.com/go-openapi/swag.LoadHTTPCustomHeaders`  

github.com/go-openapi/swag.LoadHTTPCustomHeaders was removed in github.com/go-openapi/swag v0.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Removed** `github.com/go-openapi/swag.LoadHTTPTimeout`  

github.com/go-openapi/swag.LoadHTTPTimeout was removed in github.com/go-openapi/swag v0.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Signature changed** `github.com/go-openapi/swag.CommandLineOptionsGroup`  

Was type CommandLineOptionsGroup struct; now type CommandLineOptionsGroup = cmdutils.CommandLineOptionsGroup. [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Signature changed** `github.com/go-openapi/swag.File`  

Was type File struct; now type File = fileutils.File. [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Signature changed** `github.com/go-openapi/swag.GoNamePrefixFunc`  

Was var GoNamePrefixFunc func(string) string; now var GoNamePrefixFunc mangling.PrefixFunc. [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)
- **Signature changed** `github.com/go-openapi/swag.JSONMapItem`  

Was type JSONMapItem struct; now type JSONMapItem = jsonutils.JSONMapItem. [pkg.go.dev](https://pkg.go.dev/github.com/go-openapi/swag@v0.24.0)

And 5 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Related packages

- [github.com/go-openapi/jsonpointer](https://since.dev/packages/go/github.com/go-openapi/jsonpointer.md)
- [github.com/go-openapi/runtime](https://since.dev/packages/go/github.com/go-openapi/runtime.md)
- [github.com/go-openapi/strfmt](https://since.dev/packages/go/github.com/go-openapi/strfmt.md)
- [github.com/go-openapi/validate](https://since.dev/packages/go/github.com/go-openapi/validate.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
