Releases
v1.16.2
Compare
Sorry, something went wrong.
No results found
Changelog
3463d76 chore: add gorelease
5d2cd60 Add missing types to deprecation URLs
81b4e34 Add pkg.go.dev links to deprecation warnings
eb5e119 Fix: Ensure deprecations are parsed correctly
d663b6c Add deprecation notice for testutil
6d98312 Migrate to separate testutil package
82cbf4a Replace Echo-specific handler call
46d2694 Onboard to Renovate
58e3d16 Deprecate existing middleware
2d349f4 Migrate middleware to their own Go modules
af55078 Bump Iris to remove Go 1.21 dependency
6241f8b Build project with Go 1.20 and Go 1.21
7533456 Bump fiber to v2.49.1
3094d0b Remove dependency on moq
8e64637 Re-enable moq running in builds
5b69bf0 Move moq dependency closer to use
01ee8d4 fixup! [Gorilla] update the MiddlewareFunc type for compatibility (oapi-codegen#1134 )
ff644d1 [Gorilla] update the MiddlewareFunc type for compatibility (oapi-codegen#1134 )
3cb7501 Remove unused TravisCI configuration
beb29bb Allow overriding the binary version when VCS not available (oapi-codegen#1163 )
aaa0b59 Set 30s retrieve timeout for remote templates (oapi-codegen#1170 )
a5f91c8 Use httptest to simplify test case
9aa9d5c Allow merging of schemas with additionalProperties (oapi-codegen#1220 )
79a38c4 Correctly handle multiple JSON-compatible types (oapi-codegen#1210 )
97f301d Allow strict server to refer to external multipart definitions (oapi-codegen#1185 )
a839952 Correctly generate types when an enum is used in an anyOf (oapi-codegen#1207 )
90af95b Allow strict server to refer to external response definitions (oapi-codegen#1185 )
f00baf4 Show full diff when make generate is out-of-sync
53d2478 fixup! Override local parameters to global parameters (oapi-codegen#1181 )
6b70060 Recommend make generate command
1b75d8e Override local parameters to global parameters (oapi-codegen#1181 )
5d1ccea Deprecate pkg/runtime and pkg/types
04c680a Migrate to oapi-codegen/runtime package
043c969 Migrate internal/test to its own multi-module
e0e7a72 Migrate examples to their own multi-module
30bb667 Make make multi-module aware
a5361e0 Remove unnecessary echo dependency in pkg/codegen
0df8d0b Lint: Address existing linting findings
0f5efdf Migrate generated code tests out of pkg
085f793 Allow skipping network-interacting test
67df140 Migrate SecurityProvider tests closer to the internal client
55641e9 Bump github.com/gofiber/fiber/v2 from 2.48.0 to 2.49.0
0afcfee Bump github.com/google/uuid from 1.3.0 to 1.3.1
65e1cee Add Iris Server Support (oapi-codegen#1088 )
3db6548 Add Gorilla test case for strict-server
3650493 Remove capitalised error strings
0d5b96c support staticcheck st1005
a80e681 Allow setting spec without Generate
e1a7b4c Fix: Allow consumers to specify how many circular references are allowed
bd9ff2a Increase timeout for golangci-lint in CI
7447b7f Use Makefile for linting
00f2789 Bump golang.org/x/tools from 0.11.1 to 0.12.0
4887803 Use upstream lint package (oapi-codegen#1191 )
f7fe789 Bump targeted Go version to 1.20
d3269a4 Move go version in go.mod
d121c7a Bump golangci-lint to v1.54.0
d26d251 Bump golang.org/x/text from 0.11.0 to 0.12.0
e90f06d Fix: Generate models for all JSON media types
f20166f fix: correct marshalling for alternative JSON types (+json) for strict servers (oapi-codegen#1171 )
fb652f7 Update all dependencies
4b0df49 Bump github.com/go-chi/chi/v5 from 5.0.8 to 5.0.10 (oapi-codegen#1162 )
57f80a6 Bump github.com/labstack/echo/v4 from 4.10.2 to 4.11.1 (oapi-codegen#1161 )
6fba975 Bump github.com/matryer/moq from 0.3.1 to 0.3.2 (oapi-codegen#1160 )
b248b1d Fix: Allow multiple JSON types to be generated (oapi-codegen#1159 )
d9db08d fix warn log condition
98fb35a Lint: Perform nil check earlier
07c2ba6 Remove unused import
97ec5d5 Fix: Correct go:generate command
60913e6 Fix readme formatting issue
5be00c4 Add a Contributing section to the README
c94e8b0 Regenerate boilerplate
8210fe4 fix(stricttpl): move custom header interpolation after set content-type (oapi-codegen#1133 )
df2cf43 fix(template): fix strict-interface template to make sure text response content type uses string type (oapi-codegen#1132 )
426f7ad Regenerate boilerplate
9174fec Change generated code to start function comment with the function name (oapi-codegen#1128 )
1892f8f Pass request context (oapi-codegen#1125 )
3c2c347 fix(validation): skip email validation when the types.Email is nullable and the email isn't provided (oapi-codegen#1107 )
8fc824d Refactor to net.JoinHostPort instead of fmt.Sprintf (oapi-codegen#1104 )
8e4a4fe feat: implement skipping pointer type (oapi-codegen#1102 )
8c1ece6 Simplify variable declarations (oapi-codegen#1099 )
245e285 Simplify assign operations: use += and ++ (oapi-codegen#1103 )
93a62ce issue-1087 (oapi-codegen#1089 )
bc2b028 return 404 when no matching route is found (oapi-codegen#1067 )
25f0abc Use only "marshal/unmarshal" with single "l" (oapi-codegen#1086 )
25c2f43 Revert "fix oapi-codegen#1147 (oapi-codegen#1148 )"
e393d91 fix oapi-codegen#1147 (oapi-codegen#1148 )
0ac6241 Chi: generate Unimplemented implementation (oapi-codegen#1090 )
5a575d0 Change function comments to start with a name (oapi-codegen#1080 )
51885b4 Bump github.com/gofiber/fiber/v2 from 2.46.0 to 2.48.0 (oapi-codegen#1150 )
1af540a Bump golang.org/x/text from 0.9.0 to 0.11.0 (oapi-codegen#1141 )
132def8 Bump golang.org/x/tools from 0.9.3 to 0.11.0 (oapi-codegen#1140 )
9494ad8 Use octal literal style for file permissions (oapi-codegen#1097 )
ed70e61 Use native error wrapping (oapi-codegen#1098 )
559b2df Bump github.com/lestrrat-go/jwx from 1.2.25 to 1.2.26 (oapi-codegen#1111 )
cbf304f Bump github.com/getkin/kin-openapi from 0.117.0 to 0.118.0 (oapi-codegen#1105 )
9cc142a Regenerate generated code
6b417d9 Fix: nil spec.Component panic on import mapping (oapi-codegen#1093 ) (oapi-codegen#1116 )
ad62d73 Fix: Only generate optional parameters if present
f5363b0 fix: strict server with union type (oapi-codegen#939 )
5e1ca80 Use only "marshal/unmarshal" with single "l" (oapi-codegen#1069 )
31be086 Bump github.com/stretchr/testify from 1.8.3 to 1.8.4 (oapi-codegen#1085 )
0299133 Bump golang.org/x/tools from 0.9.2 to 0.9.3 (oapi-codegen#1084 )
d79b2a2 feat: support nullable additional properties (oapi-codegen#948 )
7aa85bb Feat: Add Fiber server support (oapi-codegen#813 )
22f5b9a Refactor to use strings.ReplaceAll (oapi-codegen#1079 )
5dfa9e6 Introduce content type into generated JSON types (oapi-codegen#1078 )
5796f3e Merge pull request oapi-codegen#1077 from deepmap/dependabot/go_modules/github.com/gin-gonic/gin-1.9.1
228a383 Bump github.com/gin-gonic/gin from 1.9.0 to 1.9.1
d8fc492 Bump golang.org/x/tools from 0.9.1 to 0.9.2 (oapi-codegen#1076 )
5ba8e44 Regenerate boilerplate
87dda37 checking query params for nil value (oapi-codegen#1064 )
f442b7b fix: Avoid nil reference for gin wrapper (oapi-codegen#1057 )
f0f7579 Fix typos in comments (oapi-codegen#1050 )
704ee44 Bump golang.org/x/tools from 0.8.0 to 0.9.1 (oapi-codegen#1049 )
a251988 Bump github.com/stretchr/testify from 1.8.2 to 1.8.3 (oapi-codegen#1053 )
9d9d659 Bump github.com/getkin/kin-openapi from 0.116.0 to 0.117.0 (oapi-codegen#1054 )
5058196 add links to source in the README.md file (oapi-codegen#1071 )
bacc537 Merge pull request oapi-codegen#1073 from alexandear/oapi-codegen-cmd-help
39d6361 Cmd help: uppercase first letter, and end with a period
14548c7 Add ability to try to get templates from files or remotes (oapi-codegen#968 )
bf56ed2 fixes an error message containing a nil err object (oapi-codegen#1048 )
c1a42f7 Handle empty application/json request bodies (oapi-codegen#1043 )
7ffda6d Allow elevating anonymous types into named types
29ebe32 chore: move install mapping to global state (oapi-codegen#853 )
47bc5ec Revert "Updated code to find AdditionalTypes under AdditionalPropertiesType key as well. (oapi-codegen#1017 )"
6a37afe Assign values of type Map in deep objects (oapi-codegen#934 )
71bd050 Updated code to find AdditionalTypes under AdditionalPropertiesType key as well. (oapi-codegen#1017 )
c03f4a0 Revert "Merge branch 'johanneswuerbach-fix-union'"
74f8084 Merge branch 'johanneswuerbach-fix-union'
259a918 Fix incorrect fieldname reserved keywords in path parameters (oapi-codegen#999 )
a37e91d fix: strict server with union type
8b1c1e2 Update authenticated example - set token in echo context.. (oapi-codegen#917 )
8fbbe02 fix: Use helper function to detect general JSON responses (oapi-codegen#945 )
e9033d1 Add InternalServerError when err is not nil on strict-gin (oapi-codegen#1012 )
d62f860 Fix pointers equality in TypeDefinitionsEquivalent function (oapi-codegen#952 )
fcb892d Support for hal+json format (oapi-codegen#1030 )
c94277e Bump github.com/getkin/kin-openapi from 0.115.0 to 0.116.0 (oapi-codegen#1032 )
75dfda3 Bump golang.org/x/tools from 0.7.0 to 0.8.0 (oapi-codegen#1024 )
78c53fd Add initialism-overrides flag (oapi-codegen#1007 )
844e5db Extract strict middleware definition into a separate file in runtime package to allow middlewares to be reused (oapi-codegen#1021 )
bb1cfe9 Improve logic for x-omitempty (oapi-codegen#1033 )
b09bf82 Bump golang.org/x/text from 0.8.0 to 0.9.0 (oapi-codegen#1023 )
fd06f5a Bump github.com/getkin/kin-openapi from 0.114.0 to 0.115.0 (oapi-codegen#1008 )
0cfaaa7 Fix missing import and regenerate code
4886258 Revert "issue958 (oapi-codegen#959 )"
6d85384 Revert "fix959 (oapi-codegen#992 )"
b42721b fix959 (oapi-codegen#992 )
189619a fix(oapi-codegen): command line parsing compatibility (oapi-codegen#852 )
497e000 Fix allOf merges using external refs (oapi-codegen#941 )
adf8a06 Use different order of arguments for json merge (oapi-codegen#998 )
f921602 Add form struct tag for x-www-form-urlencoded request schemas (oapi-codegen#1000 )
afac8ae Add proper Godoc comment for properties marked as deprecated (oapi-codegen#976 )
22d1cf4 Fix README.md example usage (oapi-codegen#982 )
619de16 Fix incorrectly generated empty array for security requirements (oapi-codegen#955 )
1e2beac fix generated client code cannot convert UUIDs to string when used as path parameters. (oapi-codegen#956 )
ffe428b issue958 (oapi-codegen#959 )
0d7287e Fix incorrect fieldname reserved keywords in path parameters (oapi-codegen#999 )
f0729a4 Bump github.com/matryer/moq from 0.3.0 to 0.3.1 (oapi-codegen#1003 )
357b712 Bump golang.org/x/tools from 0.6.0 to 0.7.0 (oapi-codegen#1002 )
7fd8f39 OneOf: Implicit mapping (oapi-codegen#932 )
f965b62 Bump github.com/gin-gonic/gin from 1.8.2 to 1.9.0 (oapi-codegen#1001 )
3a8047e Bump golang.org/x/text from 0.6.0 to 0.8.0 (oapi-codegen#989 )
3dff1e9 Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (oapi-codegen#981 )
a5a9b6c Bump github.com/labstack/echo/v4 from 4.10.0 to 4.10.2 (oapi-codegen#980 )
6bcd56c Bump golang.org/x/net from 0.5.0 to 0.7.0 (oapi-codegen#973 )
2d839e1 Bump golang.org/x/tools from 0.5.0 to 0.6.0 (oapi-codegen#964 )
2b52cd5 fix(deps): update kin-openapi to v0.104.0 (oapi-codegen#953 )
f4cf8f9 change error message when failed parsing date-time in deepObject (oapi-codegen#919 )
2b6b326 Bump golang.org/x/tools from 0.4.0 to 0.5.0 (oapi-codegen#920 )
4109cb5 Bump github.com/gin-gonic/gin from 1.8.1 to 1.8.2 (oapi-codegen#908 )
4bf4c36 fix gin capitalization error
1ea9510 Regenerate dirty files
cc8881a Bump github.com/labstack/echo/v4 from 4.9.1 to 4.10.0 (oapi-codegen#912 )
40d1076 fix(gin-template): Respect ctx.Abort() (oapi-codegen#914 )
2826933 Bump github.com/getkin/kin-openapi from 0.107.0 to 0.112.0 (oapi-codegen#907 )
087e1bf Bump golang.org/x/text from 0.5.0 to 0.6.0 (oapi-codegen#921 )
ab90f19 Reverse the order of the middleware when they applied in gorilla/mux implementation (oapi-codegen#842 )
e1b4ade AdditionalProperties and oneOf in one Schema (oapi-codegen#765 )
1b63982 fix(oapi-codegen): package name detection (oapi-codegen#873 )
e8dc342 Use gin.IRouter instead of *gin.Engine (oapi-codegen#879 )
0fe10df . (oapi-codegen#897 )
6c80420 Warn when using a non-empty spec.Servers (oapi-codegen#883 )
c7be8fd Bump github.com/matryer/moq from 0.2.7 to 0.3.0 (oapi-codegen#875 )
d516da7 x-enum-varnames revival (oapi-codegen#880 )
e965508 Gin's Cookie returns string, not *http.Cookie (oapi-codegen#878 )
597fa8d . (oapi-codegen#895 )
be3354e Bump github.com/go-chi/chi/v5 from 5.0.7 to 5.0.8 (oapi-codegen#894 )
9fcec8e Bump golang.org/x/tools from 0.3.0 to 0.4.0 (oapi-codegen#893 )
a444d30 Merge pull request oapi-codegen#881 from KenxinKun/fix-unsanitised-template
55b0905 Fixes missing unsanitised templates
5a33791 Merge pull request oapi-codegen#877 from KenxinKun/gorilla-fix-context-scope-variable-template
d14917d Fixes missing sanitation of context key variable in gorilla server
4ec8015 Merge pull request oapi-codegen#854 from deepmap/dependabot/go_modules/golang.org/x/tools-0.3.0
9b992be Gitignore bin
fe8408c Bump golang.org/x/tools from 0.2.0 to 0.3.0
40890b2 Merge pull request oapi-codegen#722 from jamietanna/chore/golangci-lint
0138e13 Fix error handler for required query parameters (oapi-codegen#857 )
5a103c5 Add linting with golangci-lint
0ee106e Lint: Ignore marshalling warning with reflect.Value
7efd543 Lint: Simplify make for a slice
895c8ac Lint: remove warning for ineffectual
43953e7 Lint: Use fmt.Errorf instead of errors.New(fmt.Sprintf)
a708e69 Lint: Ensure we check errors
4202f53 Lint: remove ineffectual assignments
f3a2d72 Lint: Don't use deprecated strings.Title
e9cf29e Lint: Use backtick'd strings for regexes
94fc374 Lint: Ignore findings on string-based keys for Context
8079cb1 Lint: Exclude unexported fields for structcheck
cb7bd58 Lint: unconvert
d94bf5c Lint: Use consistent Go-style package names
b87ee6a Lint: Remove unused unexported variable
afcb5eb Lint: Check return values
c9ba994 Lint: remove unused variable
050c4bf fix: shouldBind instead of Bind to prevent abort (oapi-codegen#830 )
7dead8e Fix binary string encoding
65843bf Update enum shadowing workaround
a2adb9c Fix schema shadowing issue by enums (oapi-codegen#833 )
5a1784a Configure default generator with no config
8175447 Handle simple configs with output flag properly
cf23455 Fix bug in oneOf not propagating external references (oapi-codegen#729 )
e5ee43d Change imports into aliases so they implement the base interface
7b01009 Add client-type-prefix output option (oapi-codegen#785 ) (oapi-codegen#788 )
0d74b1d Regenerate boilerplate
895be61 Ft/handle external pkg name in response (oapi-codegen#752 )
71fbc4f Fix styling AnyOf issue (oapi-codegen#809 )
ec207c7 Typos (oapi-codegen#814 )
bc5c5d4 Fixed an issue where null values were incorrectly generated when AnyOf was set (oapi-codegen#812 )
88a3a2b Update various modules
d74c88f gin server custom error handler option (oapi-codegen#587 )
40503ed Fix/handle initial digit of operation (oapi-codegen#735 )
57a4b26 Merge pull request oapi-codegen#819 from deepmap/dependabot/go_modules/github.com/getkin/kin-openapi-0.106.0
750b4df Bump github.com/getkin/kin-openapi from 0.104.0 to 0.106.0
af9c5b3 Merge pull request oapi-codegen#817 from deepmap/dependabot/go_modules/golang.org/x/tools-0.2.0
e50ed4f Merge pull request oapi-codegen#818 from deepmap/dependabot/go_modules/github.com/labstack/echo/v4-4.9.1
0e1abd1 Bump golang.org/x/tools from 0.1.12 to 0.2.0
a24a1c6 Bump github.com/labstack/echo/v4 from 4.9.0 to 4.9.1
553774e Merge pull request oapi-codegen#816 from deepmap/dependabot/go_modules/github.com/stretchr/testify-1.8.1
477bb45 Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
427880c Merge pull request oapi-codegen#815 from deepmap/chore/dependabot
a2312e8 Onboard to Dependabot
6364d85 Merge pull request oapi-codegen#771 from deepmap/defect/embedded-spec
8a93137 Ensure embedded spec contains all necessary OpenAPI documents
fe0ace0 Add extra JSON type checking (oapi-codegen#808 )
e2226a0 chore: Fix comments/imports (oapi-codegen#789 )
eea15c7 Chain Chi middlewares in reverse order so they execute first-to-last (oapi-codegen#787 )
0d132a8 Fixed oapi-codegen#719 : fix generate for union methods. (oapi-codegen#720 )
8089d59 Revert "Merge branch 'wtertius-generate_names_with_initialisms'"
9b337ca Update generated files.
7e0a30f Merge branch 'wtertius-generate_names_with_initialisms'
56f7bee Merge branch 'generate_names_with_initialisms' of https://github.com/wtertius/oapi-codegen into wtertius-generate_names_with_initialisms
a885b92 fix 794 (no error message for invalid CLI options placed after the input spec path); use stderr for error messages (oapi-codegen#796 )
0131d7c Add Problem Details content types (oapi-codegen#802 )
7c44f8f Rewrite imports parsing (issue oapi-codegen#760 ) (oapi-codegen#804 )
01dab11 Fix oapi-codegen#737 : CLI documentation (oapi-codegen#797 )
b341d4d Merge pull request oapi-codegen#792 from nandedamana/791-fix-readme-typo
74077ff fix typo
63fe9cc Merge pull request oapi-codegen#779 from kosuke-taniguchi/fix-typo
f45a953 Merge pull request oapi-codegen#781 from mycrEEpy/remove-cyberdelia-templates
1d9bb69 remove dependency github.com/cyberdelia/templates
45eb6bd Merge pull request oapi-codegen#780 from mycrEEpy/update-deps
ac2310a chore: update kin-openapi to v0.104.0; update middleware test assertions
98deb52 chore: update dependencies
fb92faf fixed typo
9cdf0be Default to int on custom format types (oapi-codegen#741 )
01e6f04 Update go to 1.18 (oapi-codegen#756 )
5413d01 Add newlines to all error messages for consistency
53ffd8e Added implementation of x-json-ignore (oapi-codegen#390 )
96482c1 Merge pull request oapi-codegen#725 from jamietanna/chore/tidy
604200c Merge pull request oapi-codegen#754 from alexpts/patch-1
eceef8a Merge pull request oapi-codegen#755 from mycrEEpy/migrate-ioutil
61e864f Merge pull request oapi-codegen#757 from Fethbita/main
19788e9 Merge pull request oapi-codegen#772 from deepmap/defect/client-gen
ee12f36 Correctly go:generate test client code
0ca9001 Merge pull request oapi-codegen#767 from deepmap/dependabot/go_modules/github.com/labstack/echo/v4-4.9.0
fc01aee Bump github.com/labstack/echo/v4 from 4.7.2 to 4.9.0
54bed0b Fix a bug where strict json decoder is not used.
572d0bc fix generated files
0487239 update generated files
93f1edf migrate deprecated io/ioutil package to io and os packages
4b7206c Fix docs
4a1477f Ft/remove loop (oapi-codegen#750 )
74d13ef Run make generate to pass github checks
5c43605 Provide ability to choose name-normalizer from two preset options
2e16c81 Lowercase some first characters in var names to handle abbreviations like ID APIList, etc
33b5fa1 Add name resolver to codegen config
d1a63c7 Be more flexible parsing config files. (oapi-codegen#747 )
9c600dd Regenerate code
bd6e853 Strongly typed responses for strict server (oapi-codegen#701 )
3bc29a4 Fix/handle initial digit of http header (oapi-codegen#733 )
0891a43 BindStringToObject() allows silent overflow of narrower-than-64-bit numeric types (oapi-codegen#740 )
3a44fe7 Remove io/ioutil (oapi-codegen#727 )
0721d48 Migrate to tidied
fec990c Add support for strict server with Gorilla (oapi-codegen#716 )
c70fd2b Correct error message for new flag (oapi-codegen#699 )
6472339 Document the README may not be latest tag (oapi-codegen#705 )
effa181 Finish spec documentation (oapi-codegen#706 )
9a9e66f handle oapi3.MultiError messages (oapi-codegen#572 )
b9782fb Allow custom JSON media types to be marked as JSON (oapi-codegen#582 )
58dcc39 Add basic automated builds (oapi-codegen#602 )
874b0a1 Generate type names in GoDoc comments (oapi-codegen#601 )
d38f1c9 Fix Date param binding (oapi-codegen#628 )
6273e1a New compatibility option to mark readOnly+required fields as non pointers (oapi-codegen#605 )
bf676e1 Allow merging multiple union types (oapi-codegen#670 )
8d8ef97 fixed gorilla required header error shadowing (oapi-codegen#689 )
dc42f6a Update README to match the new syntax (oapi-codegen#630 )
35014f7 Add test for empty enum value (oapi-codegen#612 )
2feb91c Allow providing custom error funcs in strict chi server (oapi-codegen#649 )
91b48ba Fix: Handle unset union map type (oapi-codegen#650 )
e9d89b2 Remove generation of code to handle optional query parameters (oapi-codegen#671 )
a2f1c94 Merge branch 'tfaller-readme-config-example'
4bd46b1 Merge branch 'readme-config-example' of github.com:tfaller/oapi-codegen into tfaller-readme-config-example
d9622d1 Add option to prefix enum values with their typename (oapi-codegen#662 )
5e0dd2a Order request body definitions by content type (oapi-codegen#686 )
00a095c fix: percent in enum values (oapi-codegen#664 )
f6cb4a8 Correct YAML config example (oapi-codegen#665 )
5776016 Fix x-go-type-import code generation (oapi-codegen#682 )
2cf7fcf implement new field: x-go-type-import (oapi-codegen#633 )
86d0620 Fix compile issues
de9733b fix: support encoding.TextMarshaler in StyleParamWithLocation (oapi-codegen#634 )
6e0423f Allow binding types as parameters through String() methods (oapi-codegen#638 )
f4e0608 Support param styling for UUIDs (oapi-codegen#643 )
e12b971 Fix small typo in comment (oapi-codegen#641 )
b901191 comment fixed in gin example code (oapi-codegen#646 )
6f9e7bd Strict server generation (oapi-codegen#499 )
7da811e Fix UUID query param binding (oapi-codegen#623 )
053bc2a Update README config example to use the new schema
14fc88e Generate param enums in operations
2897cdc Merge branch 'curvegrid-map-for-openapi-dictionaries'
6e84edc config option for additionalProperties flattening
804ca62 Merge branch 'map-for-openapi-dictionaries' of https://github.com/curvegrid/oapi-codegen into curvegrid-map-for-openapi-dictionaries
8e1d54e Add missing space between words (oapi-codegen#589 )
c0f382b Use new config style
a61e957 Allow additional imports to be added in cfg
65507ca refactor(pkg/codegen): add goCode to error (oapi-codegen#599 )
313aa80 oneOf/anyOf support (including discriminator) (oapi-codegen#471 )
60ca161 Update Yaml module for security update
b1edf76 docs: replace go get with go install (oapi-codegen#588 )
b027708 Change the signature of the MiddlewareFunc for chi, getting more compatibilities with another libraries. (oapi-codegen#578 )
b3eedde Add support for Gorilla generation (oapi-codegen#585 )
cf98a10 Correct reference to flag for backwards compatible configuration (oapi-codegen#594 )
e238df5 use BindStyledParameterWithLocation with path params (oapi-codegen#564 )
b11a594 Support x-go-name for top level schemas
056cf62 Handle more invalid identifier characters
ffd03d0 Make schema merge less fragile
6e66df9 Rewrite configuration options
9c4d551 Generate aliases instead of typedefs
920beb4 Fix marshaling of aliased custom types
ec460d3 Move test specs to embedded files
6a34824 Add form tag to parameters.
7298f44 Clean up enum spacing
cfb1d65 Small readme update
b4ccc36 Apply syntax highlighting to SecurityProvider documentation (oapi-codegen#576 )
58e7d51 Update enum conflict resolution.
42f4388 Use lower-cased x-go-name for parameters var name (oapi-codegen#574 )
41e3062 More updates to enum resolution
a4e5ee1 Enum conflict resolution
fc4d49a Fix optional binding
570d370 Update dependencies
4c6fd94 Merge branch 'wolfeidau-fix_response_name'
4fd677d Merge branch 'fix_response_name' of https://github.com/wolfeidau/oapi-codegen into wolfeidau-fix_response_name
1187fa1 Fix: Unsigned values as parameters (oapi-codegen#535 )
0506eab Add ErrorHandler for middleware (oapi-codegen#557 )
166db46 Update README with new allOf handling
e688027 Rewrite allOf support
c15d7e7 Make UUID an alias of uuid.UUID (oapi-codegen#571 )
5254bbf Revert "Update gin example to use most recent release changes (oapi-codegen#554 )"
8e96ef6 Add gin to imports template (oapi-codegen#560 )
09c1d86 Update gin example to use most recent release changes (oapi-codegen#554 )
d11ab8a Swap UUID format to byte array (oapi-codegen#556 )
9dc8b8d Revert "improve gin support (oapi-codegen#530 )"
db1571c Update more dependencies
3c2bed4 update deps (oapi-codegen#553 )
b6f5b89 go mod tidy
1e8c835 Updating gin to v1.7.7 (oapi-codegen#528 )
dc6ec1b Fix tyme and date as object parameter field (oapi-codegen#522 )
0c49c75 Fixed wrong code in gin template (oapi-codegen#481 )
97d7ee3 Fix reference to undefined variable in gin codegen (oapi-codegen#550 )
cdf4858 fix possible empty values in ReadBuildInfo() (oapi-codegen#548 )
a4d612c feat: support readOnly and writeOnly (oapi-codegen#547 )
aeb264f Adding a UUID format (oapi-codegen#546 )
5ea7d77 chore: update moq version due to security vulnerability (oapi-codegen#516 )
9992d0c Recursively load subdirectory template files (oapi-codegen#515 )
344f8e1 Fix Type Prefix (oapi-codegen#533 )
66516ed fmt.Println -> fmt.Print (oapi-codegen#534 )
11622c2 improve gin support (oapi-codegen#530 )
dcb982c Add x-go-name property extension (oapi-codegen#517 )
bd5a9da Use go:embed to embed template files
6614812 fix: in GenerateGoSchema(), if a type isn't resolved, the error is swallowed, making it hard to track down (oapi-codegen#509 )
6ef526d Merge branch 'FairwindsOps-master'
de7e2d3 Merge branch 'master' of https://github.com/FairwindsOps/oapi-codegen into FairwindsOps-master
72a2c9a Update kin-openapi to v0.87.0 (oapi-codegen#503 )
7adf94d tidy
3120371 update echo
76f4fcb fix(deps): update go mod
bc864d2 fix(response): added an option to override the response suffix
32316b9 upgrade getkin/kin-openapi to v0.80.0 to fix panic when server is missing a path (oapi-codegen#474 )
df873a0 feat: add gin server support (oapi-codegen#475 )
484edc9 expand chi server wrapper errors with more information (oapi-codegen#477 )
7ee55a9 Fix parse forms explode object with optional args (oapi-codegen#456 )
74d901a oapi-codegen#367 , oapi-codegen#246 error handler callback (oapi-codegen#459 )
4d91912 Create an authenticated API example
546b69d Regenerate example code
f979a85 Fix type redeclarations (oapi-codegen#436 )
d819e1d Fix duplicate enum declaration. (oapi-codegen#442 )
6ebbccf Fix auth docs (oapi-codegen#443 )
5e6e161 fix: client response template to ignore errors (oapi-codegen#433 )
67601b3 Regenerate templates after latest commit
8cd045e oapi-codegen#301 Clean up code to support multiple servers (oapi-codegen#427 )
5bf9853 Abolished github.com/pkg/errors (oapi-codegen#420 )
c76f3ac fix: regenerate parameters.gen.go (oapi-codegen#410 )
516b3a9 fix: wrong command on README.md (oapi-codegen#422 )
7b5311d Fix panic when printing a nil Date (oapi-codegen#419 )
eba5702 Fix example for net/http server generation (oapi-codegen#429 )
4fbbede Update generated code and tests
f2b8307 Set schema of dictionary-like objects to a map
5f43277 fix: parameters starting with number (oapi-codegen#402 )
988e0df fix: remove duplicate space from with body comments (oapi-codegen#391 )
f2ccca8 Again fix oapi-codegen#380 (oapi-codegen#387 )
1608d14 fix: remove first field new line (oapi-codegen#393 )
e2a875d fix(codegen): RefPathToGoType depth check (oapi-codegen#394 )
8d24c13 fix(codegen): eliminate empty body type switch (oapi-codegen#396 )
dbe1736 Support standard encoding.TextUnmarshaler interface (oapi-codegen#404 )
11a0b46 Revert "Fix escaped url parsing (oapi-codegen#381 )"
03cbcf5 Update docs for x-oapi-codegen-extra-tags
9e6c1f7 Refactor extra tags
7d9e930 Added extension for adding extra tags (oapi-codegen#356 )
884fc21 Fix constant names for integers in strings (oapi-codegen#379 )
c60f8ae Fix escaped url parsing (oapi-codegen#381 )
02afdff Stop depend on the github.com/getkin/kin-openapi/routers/legacy (oapi-codegen#383 )
d860c63 Expose openapi3.Schema in the Schema object (oapi-codegen#365 )
34b7444 Add support for all integer types (oapi-codegen#374 )
a44f34f Fix build issues
6862a50 Use debug.BuildInfo to produce a version
897d86d Add executable version
8e24b29 Remove accidental executable checkin
10a2498 Fix/example operationId (oapi-codegen#339 )
837b1f4 Update chi implementation and setup example (oapi-codegen#349 )
ad14913 Use runtime.BindStyledParameterWithLocation to parse headers (oapi-codegen#352 )
961f811 fix build with kin-openapi 0.61.0 (oapi-codegen#348 )
c561695 Fix multi-line comment generate failed issue (oapi-codegen#334 )
44a9a08 feat: typed enums (oapi-codegen#241 )
cdaea9b Embed spec v2 (oapi-codegen#327 )
124f782 feature(extension): support x-omitempty (oapi-codegen#295 )
3837038 allow dollar-sign properties (oapi-codegen#323 )
4725e20 Fix broken build due to kin backwards-incompatible change (oapi-codegen#325 )
879c4a5 Refactor ClientWithResponses TypeDefinition
ef7bee4 Descriptions for types (oapi-codegen#328 )
e80312a fix when responseBody has multiple content types (fixed for oapi-codegen#329 ) (oapi-codegen#330 )
e5bced6 Change default client template to use new http.Client not DefaultClient. (oapi-codegen#331 )
ee737ce Clean up parameter escaping
c654506 Revert "Fix broken build due to kin backwards-incompatible change (oapi-codegen#322 )"
88f937a Fix broken build due to kin backwards-incompatible change (oapi-codegen#322 )
0fe88d3 Update minimum Go requirement to 1.14
12a50a5 Roll back kin-openapi to v0.47
a4f0b40 Fix ordering of security requirements
ca3a80c Update kin-openapi (oapi-codegen#318 )
f932d76 Add RequestEditors to ClientWithResponses
2db13aa Fix query arg escaping and unescaping
35fc116 Add tests for parsing of API paths in generated clients (oapi-codegen#319 )
3792d5b Revert "Fix client request url construction when colon in path (oapi-codegen#313 )"
6792ce9 Fix request editors not updating the original request (oapi-codegen#1 ) (oapi-codegen#306 )
ff7eeab Fix: Allow to define type fields with whole document or remote reference. (oapi-codegen#308 )
d062bd3 Sort security scheme provider names (oapi-codegen#311 )
8ee0f3d Upgrade Chi (oapi-codegen#307 )
0d97c5b BUG: converting float32 fixed (oapi-codegen#314 )
2919ed1 Fix typo (oapi-codegen#309 )
720dae1 Fix client request url construction when colon in path (oapi-codegen#313 )
bcee5be these 2 imports were missing from go.sum. I've updated the version of echo as well (oapi-codegen#315 )
08c790a Make net/http usage clearer (oapi-codegen#317 )
26bb06c Fix security scheme naming issue
0ac4dee Allow multiple RequestEditorFns in Client and Request Methods (oapi-codegen#228 )
9502012 Feature: Expose constants for the context keys that pass expected security scopes (oapi-codegen#258 )
f12f165 Update Chi to 1.5.1
5cf0fcc New Bind method to allow more custom basic types (oapi-codegen#262 )
1004432 Request validation middleware for go-chi server (oapi-codegen#278 )
920458e Update dependencies and go fmt
78296c8 Fix invalid query string due to reserved char in query value issue (oapi-codegen#280 )
e51f8ea Type aliasing (oapi-codegen#232 )
eab982b Add default Content-Type header, then Set custom headers to allow overwriting, fixes oapi-codegen#273 (oapi-codegen#274 )
0f41bc4 Implement marshalling of Date and aliased time. (oapi-codegen#285 )
fbeefa1 Mark embedded structs for inlining in yaml. (oapi-codegen#261 )
48584f4 Helpful error message in case an enum contains a bool accidentally such as 'Y' or 'N' (oapi-codegen#268 )
27b0412 Fix for case when only cookie params are exists for operation (oapi-codegen#270 )
411db58 Feature: Middlewares per handler in chi-server (oapi-codegen#259 )
7f267e9 Readme fixes
2df1d3b Fix time/date and deepObject binding issues
3c6958b Update README.md (oapi-codegen#248 )
65bc5b0 Fix go.sum
0463ca8 Update kin-openapi package
d37fb72 Fix errors imports.
ff19dd2 fix: Fixing time serialization (oapi-codegen#242 )
3ceb52e Allow setting options via a config file
46d9316 Add basic BaseURL support to the server
3e0fd95 Replace gofmt by goimports and move the imports the template (oapi-codegen#226 )
6119057 Fix generic status code responses (oapi-codegen#224 )
eae0f23 docs: ✏️ Add the description for "x-go-type" into README (oapi-codegen#217 )
ce4bce5 unsigned int fields (oapi-codegen#214 )
fae4b9e Allow giving URLs to oapi-codegen (oapi-codegen#216 )
0e6189c fixed copypaste typo in command name (oapi-codegen#215 )
db374c2 Improve error message (oapi-codegen#219 )
e2e493b feature: --exclude-schemas option for excluding schemas from type generation (oapi-codegen#208 )
ccee4f8 feat: Support "x-go-type" extension property (oapi-codegen#25 ) (oapi-codegen#212 )
564d6ad Attempt to fix codegen issue of not including additionalProperties in allOf schema (oapi-codegen#194 )
54b9fdd Fix excessive parameter pruning
e232d16 Wrap Chi server and pass parameters as function params (oapi-codegen#166 )
b70837d unnecessary imports due to the comments (oapi-codegen#203 )
8fcd3bb fixed broken enum generation (oapi-codegen#199 )
6011131 Add email format type (oapi-codegen#191 )
9890f4e use kin-openapi only to read openapi file (oapi-codegen#202 )
488cc44 Change import mapping to use simpler syntax
3999601 Added support for external references through the --import-mapping option (oapi-codegen#204 )
f79ed17 Update kin-openapi to 0.13
43d757f generate enum constants (oapi-codegen#181 )
0ffccce fix: accept null as value when property is nullable (oapi-codegen#186 )
79c3e7a Update docs with more examples of registering http handlers (oapi-codegen#182 )
e8108ee Add a strict mode to test decoders
41a1d5c feat: Add skipper using the echo convention to enable just that (oapi-codegen#176 )
f08cb8b fix: generate array properties (oapi-codegen#172 )
4f94975 Update security provider function signature (oapi-codegen#175 )
ebc1d5b Fix Sprintf (oapi-codegen#179 )
554d57f feat: make responses public and add interface (oapi-codegen#167 )
140ccfe feat: prune unused components by default (oapi-codegen#154 )
88bfbcf Remove echo dependency from bindparam.go (oapi-codegen#164 )
8d82e6d fix: operations not appending to server url (oapi-codegen#155 )
a80cb79 Move EchoRouter to echo template (oapi-codegen#165 )
fee8891 Fix time serialization (oapi-codegen#152 )
6894492 Update kin open api dependency (oapi-codegen#157 )
ee90a3f Follow golang standards when passing in context (oapi-codegen#148 )
a80789f Fix client case clause ordering
c3cc0a7 Fix parsing of empty date
1032aa5 Fix client code generation problems
c76b995 Style deepObjects properly
5ae45d8 Rewrite deepObject binding
6a70487 Fix oapi-codegen#139 . Resolve refs in JSON specs
0d753c1 Respect an http error returned by the authentication function (oapi-codegen#142 )
efc91f9 Handle nil case (oapi-codegen#137 )
fdf4894 Add support for user-provided templates (oapi-codegen#136 )
eb43bde formatting both date and date-time (oapi-codegen#130 )
154b7a4 Fix for: Generated API Client not respecting basePath when passing baseURL oapi-codegen#126 (updated client.tmpl) (oapi-codegen#134 )
d22ad46 chi HandlerFromMux, receive interface to make it more flexible (oapi-codegen#124 )
b743e84 Fixed a panic when property is nil (oapi-codegen#129 )
a88c058 Introduce helper function for PATCH method (oapi-codegen#123 )
3c6e076 Pass validator's errors inside of echo.HTTPError (oapi-codegen#119 )
c989492 Fix newline of interface comments (oapi-codegen#120 )
5903203 Generate Comments for Struct Fields (oapi-codegen#121 )
0751b9d emove special characters for go names (oapi-codegen#107 )
3170923 Use net/url URL helper for path generation
fc421b1 Add securitySchemes scopes to chi middleware (oapi-codegen#118 )
bc0556c Allow filtering by tags (oapi-codegen#117 )
b2980b0 Object query parameters not styled (oapi-codegen#115 ) (oapi-codegen#116 )
57d15e8 Use regex to figure out optional imports (oapi-codegen#113 )
9aeea1c fixing query parsing of date parameters (oapi-codegen#112 )
be41ef9 chi-server: Add HandlerFromMux (oapi-codegen#110 )
d8352f6 Regenerate code
fdd841d Update chi-middleware.tmpl (oapi-codegen#100 )
3116805 fix typo (oapi-codegen#98 )
6fb2a8b Add support for proto in testutil.CompletedRequest, for testing proto… (oapi-codegen#103 )
a2fd36d Regenerate files
6c3672d Fix formatting and comment
ab8f1f3 Clean up Client construction
7b8ad93 Added custom types for un/marshaling (oapi-codegen#92 )
6965e18 improvement: Use interface for the HTTP Client (oapi-codegen#85 )
5c8dfcd Go mod tidy
582e6a6 Remove runtime dependency for router interface
51d115a Add go 1.13 to go.mod (oapi-codegen#84 )
f4574ba Safer URL/Query generation (oapi-codegen#93 )
60d7146 flag.Int returns a pointer (oapi-codegen#94 )
a8aa52d Bug fixes for chi handler (oapi-codegen#65 )
388ddf4 Feature/81 client security scheme runtime (oapi-codegen#82 )
b752e19 This fix ensures it is possible to distinguish whether (oapi-codegen#80 )
be672a5 Fix oapi-codegen#77 - Remove byte-order-marks from Go-Code (oapi-codegen#78 )
26fa968 Fix oapi-codegen#75 - Add support to print description for field (oapi-codegen#76 )
dafdca5 Fix oapi-codegen#73 : interface{} type as fallback for invalid type (oapi-codegen#74 )
df9318f Fix oapi-codegen#71 - Improve sanitization of typenames (oapi-codegen#72 )
18d8462 Fix oapi-codegen#69 - Add skip-fmt cli-param (oapi-codegen#70 )
e541104 Generate default operationId if none provided (oapi-codegen#63 )
900a5e4 Tidy template helper methods (oapi-codegen#57 )
63fbb25 Some small Chi related tweaks
026c5c9 Generate chi based http handler (oapi-codegen#51 )
2332f1b Fix oapi-codegen#52 , recursive type definitions
1c3fe6f Clean up security scopes a little bit
dab81b0 feat(security) Add setting of scopes in the context (oapi-codegen#47 )
e45eec6 Make the client interface use the exported *RequestBody types (oapi-codegen#44 )
8c23773 Fix oapi-codegen#40 : Canonical header keys
2177b2d Fix types starting with numbers
578223b Add a helper makefile
1f773ca Update dependencies
64cece3 Added a NewClientWithResponsesAndRequestEditorFunc function and updated the RequestEditor to use a type (oapi-codegen#38 )
3a4f402 Fix a bug that cause generated code shows invalid reference (oapi-codegen#39 )
1de29b3 Use existing struct for additionalProperties that ref a schema (oapi-codegen#36 )
b332a3b Update dependencies
6e326f1 Clean up client generation
d9bb7ba Move ClientWithResponses to its own template
4b11351 Fix Client generation
f306125 Don't create empty AdditionalProperties
a7857ed Make additional properties public
a1c51b2 Skip client type generation for unsupported types
21bcaf2 Refactor ClientWithResponses types
9102a62 Sort schema properties
d2cebc7 Support additionalProperties
ee21530 typo (oapi-codegen#33 )
8ed7c57 sort output for response handler case statement (oapi-codegen#32 )
7620434 Returning the first line of the error (instead of the 'reason') (oapi-codegen#31 )
0b839c8 Add a JSON format for strings
de511d3 Fix oapi-codegen#30 prefix Go keywords
ce26ef6 Error out on missing OperationId
c1b83f2 Default format for integer is int
7d4f3de Improve request validation
649fad1 Response payload names and comments (oapi-codegen#28 )
100131a Ignoring oneOf and anyOf schemas (oapi-codegen#27 )
28f3af2 Responses with unmarshalled JSON payloads. (oapi-codegen#26 )
67e4a6a DeepObject support
5e7fcc3 Update autogenerated code comment
0d36f50 Clean up go run usage and build validation
69184c7 Generate a client interface
f9c0b52 oapi-codegen updates to command line
85cb7f5 Fix standalone client generation
cf4fce0 Fix crash on styling nil optional fields
78346e0 Update module dependencies
0303a9d Fix styling pointer fields
eb862eb rename petestore to petstore (oapi-codegen#14 )
1e65fd2 remove . from sentence as it triggers matcher for includes (oapi-codegen#15 )
7528244 Update docs and update request edit hook
f99cc6f Add a request edit callback to client code
43dad6b Fix styling of type aliased parameters
a302b39 feat(pkg/codegen): update templates to for godoc format (oapi-codegen#12 )
0bbe12e feat(cmd/oapi-codegen): add flag to generate subset of code
537846b Fix extraneous params type specification
4a20c3b Handle arbitrary string schemas
beb7bf6 Fix missing parameters when calling client function
b7e5ac4 Go back to using official kin-openapi
3e1d456 Fix client error in path parameters
21c83d1 Add support for generic objects and values
c9a1413 Fixed incorrect optional fields generation.
0c0f5d4 Client code generation
9fcb334 Pull a more recent kin-openapi
3d684ea Fix crash in parameter validation
52364d1 Clean up component type generation
71c3f1f Add Travis CI config
c239ebf parameter binding rewrite
49e8e51 Nicer inlining of swagger spec and some cleanup
86056af Make sure fmt gets included
751e324 go fmt everything
73f549a Inline the Swagger spec
39ec68a Remove error printouts
0d0ba43 Merge pull request oapi-codegen#1 from knweiss/knweiss
e099fa6 Fix imports list
132e037 Update README
4e84034 Go back to v1
acd6165 README.md: Use the dest filename of the example
336efd0 Update readme
a913c9a Initial release of oapi-codegen
e7757a9 Initial commit
You can’t perform that action at this time.