Changelog
v0.26.0 (2021-01-19)
Implemented enhancements:
- Generate client: example struct tag is not rendered properly #2445
- model validations: support minProperties and maxProperties #2444
- Option to overwrite buffer size on upload file api #2373
- v0.25.0 generates incorrect imports #2362
- go-swagger is generating invalid validation functions #2163
- Unused variable i #1771
- "swagger generate model" does nothing if no paths are defined #1679
- Principal should support definition as an interface #1659
- go-swagger version depends on git #1283
- Improve readability of templates used for code generation #673
- option for case insensitivity for enum query params #303
- Generate markdown representation for a swagger specification #184
Fixed bugs:
- Optional Headers array parameters generated client code doesn't compile #2471
- custom tags are not added to instances of objects when specified #2457
- Go swagger can't validate all uint64 in path parameters #2448
- authorizationUrl empty breaking mixin and validation #2430
- swagger validate fails on responses with description field #2429
- Backticks appearing in tags are not properly handled #2423
- Shadowing api var in generated main.go #2405
- How to define properties of an object (that are referenced to definitions) as required ? #2400
- x-go-type for a custom type in models/ #2385
- Missing required validation for property referencing string #2381
- allOf is always pointer using inheritance #2364
- Wrong generation for required object parameters #2330
- Required, Non Nil map[string]interface{} #2300
- Support Basic-Auth and custom HTTP Headers when loading a swagger spec #2263
- API Client imports wrong operations package when regenerating #2242
- nested $ref not found #2113
- Default value for csv parameter []interface{} instead of []string #2096
- Required object value without type produces broken validator #2081
- Allow empty string for authorizationUrl in security definition #1775
- go-swagger generate client generates wrong default formData parameter type for array of strings #1753
- Client generation breaks on nested structures #1505
- no consumer registered error when "Transfer-Encoding: chunked" is provided #1430
- Generated Client - Panic with binary downloads #883
- Tips for debugging BindValidRequest() errors? #773
Closed issues:
- Missing info on how to build specific version from source #2474
- x-omitempty doesn't work with a $ref'ed object #2473
- Generated client doesn't detect mongodb primitive.ObjectID #2468
- swagger serve openapi apidocs failed #2463
- Petstore example does not work #2459
- How can I merge YAML file after generation with openapi v3 YAML file #2437
- Backticks in #2422
- Update generation doc regarding Terms of Services #2421
- No definition for aliased struct with the same name #2416
- Embedded uuid field interpreted as bytearray #2404
- disable try it out button #2402
- How can I generate
swagger:parameters
spec using form tag from struct? #2399 - Why is version always dev? #2395
- Expanding schema with cyclic ref is underterministic #2393
- Append cline.Text to classify error #2391
- principal alias imports bug in v0.25.0 #2372
- Upload of large files fails due to 32 mb limit #2370
- Can't set custom PORT #2363
- is latest go-openapi/errors incompatible with swagger generation? #2361
- Comitting generated code to version control #2360
- Is it possible to publish a new release #2357
- JSON 'unknown field' error when using allOf composition #2350
- Client File Upload 0 Bytes #1838
Merged pull requests:
- updated deps to go-openapi libraries #2490 (fredbi)
- fixed indenting / comment spacing issues #2489 (fredbi)
- added a configurable var to set the max amount of memory for multipart.ParseMultiPartForm #2488 (fredbi)
- added example illustrating file upload with a multipart form #2487 (fredbi)
- Fix 883 #2486 (fredbi)
- regenerated examples #2485 (fredbi)
- fixed generated client issues for nested array parameters and response headers #2484 (fredbi)
- relinted all packages #2481 (fredbi)
- Removed redundant unit tests from CI #2480 (fredbi)
- generate client: added support for array parameter in header #2478 (fredbi)
- added support for minProperties, maxProperties validations #2477 (fredbi)
- refactored validations handling in models and type resolver #2476 (fredbi)
- add specific version install info #2475 (blami)
- added markdown generator #2466 (fredbi)
- Ensure enum variant name is unique #2464 (mraerino)
- CLI version: added versioning from module support for go get users #2462 (fredbi)
- fixed doc in petstore example #2461 (fredbi)
- refactored, documented and tested tags in models #2460 (fredbi)
- ensure custom tag is applied to object in generated model (#2457) #2458 (bobcallaway)
- fixed numerical validations for integer types #2453 (fredbi)
- test: model tests go parallel #2450 (fredbi)
- escape backticks in regex patterns #2449 (casualjim)
- Generate example struct tag if example is provided #2447 (sbstp)
- auth: added support for adding a principal as an interface #2442 (fredbi)
- fixed generated package resolution for principal #2440 (fredbi)
- Added more control over external types #2438 (fredbi)
- Acknowledged codegen regression fixed #2435 (fredbi)
- Fixed required aliased type #2434 (fredbi)
- fixup replace clause left in go.mod #2433 (fredbi)
- Updated go-openapi #2432 (fredbi)
- test(generate spec): extra code parsing assertions for the TermsOfService annotation #2431 (fredbi)
- updated go-openapi dependencies #2427 (fredbi)
- added validation guards against inconsistent validations #2426 (fredbi)
- Fixed missing Required validations #2425 (fredbi)
- fixed server codegen package conflicts when specifying --server-package and --api-package #2424 (fredbi)
- Change comment in server template: add periods at the end #2418 (alexandear)
- fix codescan, and support SelectorExpr with response. #2414 (j2gg0s)
- Fix 2391: Add more infomation to classify error #2392 (tptpp)
- Fix panics and boost coverage #2390 (wjase)
- Pass examples to the generated models #2389 (SVilgelm)
- doc: fix issue of displaying code #2377 (meysampg)
- Added support to ignore conflicts in mixin command #2375 (stijndehaes)
- Feature/ReadOnly-Validation Support #2369 (youyuanwu)
- Fixed diff writing to file called stdout instead of os.StdOut #2367 (wjase)
- Fix VMware reference. #2366 (zmb3)
- allow x-nullable hint to override allOf nullability status #2365 (fredbi)
- Acknowledged fixes from go-openapi/spec updates #2142 (fredbi)
* This Changelog was automatically generated by github_changelog_generator