GoSwagger v0.22.0 Release Notes
Release Date: 2020-02-02 // about 4 years ago-
π Changelog
v0.22.0 (2020-02-02)
Implemented enhancements:
- Enable x-go-name in parameters #2167
- How to generate a model with JSON ',string' directive for an int64 properties? #2144
- Swagger tags starting with integer make formatting errors in operations #2111
- π¦ Swagger Tags interfere with imported packages #2057
- Issue generating servers which have 'api' in their name #1971
- π Support go modules #1724
- generate spec: json.RawMessage doesn't represent the intent. #1622
- Generated code don't pass on go vet #1573
- Could Client be a concrete implementation of an interface? #1138
- π¦ Unable to override operations package name #1049
π Fixed bugs:
- π Build fails due to duplicate methods #2199
- Enum value "" generating code that does not compile #2139
- β byte type string causes "models/test_swagger.go:43:6: k declared and not used" #2136
- x-omitempty handling is incorrect with $ref #2116
- Flatten (and generate) fails intermittently #2092
- 0οΈβ£ panic: Invalid schema provided to SchemaValidator: object has no key "default" #2063
- Data Race between Serve() and Shutdown() #1943
- doc.go fails to compile when passed a certain invalid mime-type #1663
- Multiple media parameters on producers generate code that does not compile #1377
Closed issues:
- Swagger adds to a spec not exported parameters fields #2164
- generate client library: definition "" contains duplicate properties: [] (or crash when --skip-validation) #2156
- model will not be generate if it's used as a map's value type in response body #2145
- How do I specify the json body parameters within the Go code for "swagger:operation" like I do for "swagger:route"? #2134
- why
generate operation
is required name option? #2123 - Endless loop in
swagger generate spec
#2122 - β Add ability for server pre-shutdown hook #2108
- File type in form-data #2105
- β add parameters on router #2104
- unrecognized import path "dmitri.shuralyov.com/gpu/mtl" #2094
- π docs/guideline is outdated #2091
- generated code can not pass gofmt #2089
- faq_model.md link to more info about date is broken #2088
- v0.21.0 not published on bintray #2085
- π Please create a new release #2080
- Randomly getting peer connection reset error with the generated client #1954
- π» swagger generate server exception #1882
- Please add GPG Public Key to deb repo #1812
π Merged pull requests:
- π¦ #2199 Remove the duplicate
withEnum
functions insidescan
package #2200 (sam016) - regen samples #2196 (fredbi)
- β‘οΈ updated go.mod with go get -u ./... && go mod tidy #2195 (fredbi)
- π· Throttle memory in codegen CI #2193 (fredbi)
- π Fix client generation's mapvalidator with additionalProperties #2190 (hmalphettes)
- π¦ Review of codegen imports and package name mangling #2181 (fredbi)
- π fix some typo I find in custom-server.md #2179 (yuzp1996)
- π Fixed release Dockerfiles #2178 (fredbi)
- π¨ refactored code generator #2177 (fredbi)
- π Feature/morlays enum #2176 (sam016)
- π¨ CLI: refactored CLI commands to introduce command groups #2173 (fredbi)
- π changes for #2054 - extension fields in info.contact do not propagateβ¦ #2171 (kul-amr)
- π Fix processing type declarations #2169 (novasharper)
- feat(parameters): query & path parameters now accept x-go-name #2168 (maxatome)
- ignore not exported params fields #2165 (mfranczy)
- π fix typo #2162 (derekperkins)
- π fix: missing adding postDecls in response map field #2159 (autumn31)
- CI codegen #2158 (fredbi)
- β add x-go-json-string #2157 (mail2fish)
- π fixed some edge cases when deconflicting client timeout parameters #2155 (fredbi)
- π Speedup 'swagger generate' by not re-parsing schemas many times #2152 (misha-ridge)
- Client template interfaces #2151 (fredbi)
- π Bugfix/data race serve shutdown #2150 (fredbi)
- π fix(doc): fixed broken link in models FAQ #2149 (fredbi)
- π Fixed x-omitempty in the case of $ref'ed schemas #2148 (fredbi)
- π fix(doc): updated contributing guidelines #2147 (fredbi)
- π fix(model): fixes validations for format="byte" (no format validation) #2146 (fredbi)
- β Add support for empty enum values #2143 (fredbi)
- π Fix overwriting security definitions on call Server.SetAPI() #2140 (h0mjam)
- π fix endless loop issue for pkg import analysis #2138 (mfranczy)
- π Support multiple mime type specifications, with parameters #2120 (fredbi)
- β Add .Context to location template context #2118 (aeneasr)
- π Support AllowTemplateOverride in
generate client
#2117 (aeneasr) - π¨ CI refactoring #2114 (fredbi)
- β Issue:2108 - Adding files/tests to support PreServerShutdown - Take2 #2110 (keperry)
- π codescan: Natively support json.RawMessage #2107 (aeneasr)
- π support json tag with no name #2095 (okhowang)
- β‘οΈ Update go-openapi/analysis #2093 (fredbi)
- π fix: generated code can not pass gofmt #2089 #2090 (elonzh)
- β‘οΈ updates docs for deb install with apt-secure #2087 (casualjim)
- regenerated examples with v0.21.0 #2086 (fredbi)
* This Changelog was automatically generated by github_changelog_generator