Discover Packages
github.com/go-openapi/codescan/fixtures
enhancements
malformed
example-int
package
Version:
v0.36.2
Opens a new window with list of versions in this module.
Published: Aug 1, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package example_int carries a parameter with an `example:` value that
does not parse as the declared int type, exercising setExample.Parse's
error branch.
DoBad swagger:route GET /bad-example bad badExampleInt
Responses:
200: description: OK
type BadParams struct {
Value int `json:"value"`
}
BadParams has an int query parameter with a non-numeric example.
swagger:parameters badExampleInt
Source Files
¶
Click to show internal directories.
Click to hide internal directories.