登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
Gitee AI
NEW
我知道了
查看详情
登录
注册
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
1
Star
0
Fork
0
brucelin_cn
/
go-swagger
代码
Issues
0
Pull Requests
0
Wiki
统计
流水线
服务
Gitee Pages
JavaDoc
PHPDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
我知道了,不再自动展开
标签
标签名
描述
提交信息
操作
v0.28.0
48a66e4
2021-10-09 13:01
下载
v0.27.0
20312b9
2021-03-31 23:12
下载
v0.26.1
1363eb5
2021-02-01 12:57
下载
v0.26.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.25.0...v0.26.0) **Implemented enhancements:** - Generate client: example struct tag is not rendered properly [\#2445](https://github.com/go-swagger/go-swagger/issues/2445) - model validations: support minProperties and maxProperties [\#2444](https://github.com/go-swagger/go-swagger/issues/2444) - Option to overwrite buffer size on upload file api [\#2373](https://github.com/go-swagger/go-swagger/issues/2373) - v0.25.0 generates incorrect imports [\#2362](https://github.com/go-swagger/go-swagger/issues/2362) - go-swagger is generating invalid validation functions [\#2163](https://github.com/go-swagger/go-swagger/issues/2163) - Unused variable i [\#1771](https://github.com/go-swagger/go-swagger/issues/1771) - "swagger generate model" does nothing if no paths are defined [\#1679](https://github.com/go-swagger/go-swagger/issues/1679) - Principal should support definition as an interface [\#1659](https://github.com/go-swagger/go-swagger/issues/1659) - go-swagger version depends on git [\#1283](https://github.com/go-swagger/go-swagger/issues/1283) - Improve readability of templates used for code generation [\#673](https://github.com/go-swagger/go-swagger/issues/673) - option for case insensitivity for enum query params [\#303](https://github.com/go-swagger/go-swagger/issues/303) - Generate markdown representation for a swagger specification [\#184](https://github.com/go-swagger/go-swagger/issues/184) **Fixed bugs:** - Optional Headers array parameters generated client code doesn't compile [\#2471](https://github.com/go-swagger/go-swagger/issues/2471) - custom tags are not added to instances of objects when specified [\#2457](https://github.com/go-swagger/go-swagger/issues/2457) - Go swagger can't validate all uint64 in path parameters [\#2448](https://github.com/go-swagger/go-swagger/issues/2448) - authorizationUrl empty breaking mixin and validation [\#2430](https://github.com/go-swagger/go-swagger/issues/2430) - swagger validate fails on responses with description field [\#2429](https://github.com/go-swagger/go-swagger/issues/2429) - Backticks appearing in tags are not properly handled [\#2423](https://github.com/go-swagger/go-swagger/issues/2423) - Shadowing api var in generated main.go [\#2405](https://github.com/go-swagger/go-swagger/issues/2405) - How to define properties of an object \(that are referenced to definitions\) as required ? [\#2400](https://github.com/go-swagger/go-swagger/issues/2400) - x-go-type for a custom type in models/ [\#2385](https://github.com/go-swagger/go-swagger/issues/2385) - Missing required validation for property referencing string [\#2381](https://github.com/go-swagger/go-swagger/issues/2381) - allOf is always pointer using inheritance [\#2364](https://github.com/go-swagger/go-swagger/issues/2364) - Wrong generation for required object parameters [\#2330](https://github.com/go-swagger/go-swagger/issues/2330) - Required, Non Nil map\[string\]interface{} [\#2300](https://github.com/go-swagger/go-swagger/issues/2300) - Support Basic-Auth and custom HTTP Headers when loading a swagger spec [\#2263](https://github.com/go-swagger/go-swagger/issues/2263) - API Client imports wrong operations package when regenerating [\#2242](https://github.com/go-swagger/go-swagger/issues/2242) - nested $ref not found [\#2113](https://github.com/go-swagger/go-swagger/issues/2113) - Default value for csv parameter \[\]interface{} instead of \[\]string [\#2096](https://github.com/go-swagger/go-swagger/issues/2096) - Required object value without type produces broken validator [\#2081](https://github.com/go-swagger/go-swagger/issues/2081) - Allow empty string for authorizationUrl in security definition [\#1775](https://github.com/go-swagger/go-swagger/issues/1775) - go-swagger generate client generates wrong default formData parameter type for array of strings [\#1753](https://github.com/go-swagger/go-swagger/issues/1753) - Client generation breaks on nested structures [\#1505](https://github.com/go-swagger/go-swagger/issues/1505) - no consumer registered error when "Transfer-Encoding: chunked" is provided [\#1430](https://github.com/go-swagger/go-swagger/issues/1430) - Generated Client - Panic with binary downloads [\#883](https://github.com/go-swagger/go-swagger/issues/883) - Tips for debugging BindValidRequest\(\) errors? [\#773](https://github.com/go-swagger/go-swagger/issues/773) **Closed issues:** - Missing info on how to build specific version from source [\#2474](https://github.com/go-swagger/go-swagger/issues/2474) - x-omitempty doesn't work with a $ref'ed object [\#2473](https://github.com/go-swagger/go-swagger/issues/2473) - Generated client doesn't detect mongodb primitive.ObjectID [\#2468](https://github.com/go-swagger/go-swagger/issues/2468) - swagger serve openapi apidocs failed [\#2463](https://github.com/go-swagger/go-swagger/issues/2463) - Petstore example does not work [\#2459](https://github.com/go-swagger/go-swagger/issues/2459) - How can I merge YAML file after generation with openapi v3 YAML file [\#2437](https://github.com/go-swagger/go-swagger/issues/2437) - Backticks in [\#2422](https://github.com/go-swagger/go-swagger/issues/2422) - Update generation doc regarding Terms of Services [\#2421](https://github.com/go-swagger/go-swagger/issues/2421) - No definition for aliased struct with the same name [\#2416](https://github.com/go-swagger/go-swagger/issues/2416) - Embedded uuid field interpreted as bytearray [\#2404](https://github.com/go-swagger/go-swagger/issues/2404) - disable try it out button [\#2402](https://github.com/go-swagger/go-swagger/issues/2402) - How can I generate `swagger:parameters` spec using form tag from struct? [\#2399](https://github.com/go-swagger/go-swagger/issues/2399) - Why is version always dev? [\#2395](https://github.com/go-swagger/go-swagger/issues/2395) - Expanding schema with cyclic ref is underterministic [\#2393](https://github.com/go-swagger/go-swagger/issues/2393) - Append cline.Text to classify error [\#2391](https://github.com/go-swagger/go-swagger/issues/2391) - principal alias imports bug in v0.25.0 [\#2372](https://github.com/go-swagger/go-swagger/issues/2372) - Upload of large files fails due to 32 mb limit [\#2370](https://github.com/go-swagger/go-swagger/issues/2370) - Can't set custom PORT [\#2363](https://github.com/go-swagger/go-swagger/issues/2363) - is latest go-openapi/errors incompatible with swagger generation? [\#2361](https://github.com/go-swagger/go-swagger/issues/2361) - Comitting generated code to version control [\#2360](https://github.com/go-swagger/go-swagger/issues/2360) - Is it possible to publish a new release [\#2357](https://github.com/go-swagger/go-swagger/issues/2357) - JSON 'unknown field' error when using allOf composition [\#2350](https://github.com/go-swagger/go-swagger/issues/2350) - Client File Upload 0 Bytes [\#1838](https://github.com/go-swagger/go-swagger/issues/1838) **Merged pull requests:** - updated deps to go-openapi libraries [\#2490](https://github.com/go-swagger/go-swagger/pull/2490) ([fredbi](https://github.com/fredbi)) - fixed indenting / comment spacing issues [\#2489](https://github.com/go-swagger/go-swagger/pull/2489) ([fredbi](https://github.com/fredbi)) - added a configurable var to set the max amount of memory for multipart.ParseMultiPartForm [\#2488](https://github.com/go-swagger/go-swagger/pull/2488) ([fredbi](https://github.com/fredbi)) - added example illustrating file upload with a multipart form [\#2487](https://github.com/go-swagger/go-swagger/pull/2487) ([fredbi](https://github.com/fredbi)) - Fix 883 [\#2486](https://github.com/go-swagger/go-swagger/pull/2486) ([fredbi](https://github.com/fredbi)) - regenerated examples [\#2485](https://github.com/go-swagger/go-swagger/pull/2485) ([fredbi](https://github.com/fredbi)) - fixed generated client issues for nested array parameters and response headers [\#2484](https://github.com/go-swagger/go-swagger/pull/2484) ([fredbi](https://github.com/fredbi)) - relinted all packages [\#2481](https://github.com/go-swagger/go-swagger/pull/2481) ([fredbi](https://github.com/fredbi)) - Removed redundant unit tests from CI [\#2480](https://github.com/go-swagger/go-swagger/pull/2480) ([fredbi](https://github.com/fredbi)) - generate client: added support for array parameter in header [\#2478](https://github.com/go-swagger/go-swagger/pull/2478) ([fredbi](https://github.com/fredbi)) - added support for minProperties, maxProperties validations [\#2477](https://github.com/go-swagger/go-swagger/pull/2477) ([fredbi](https://github.com/fredbi)) - refactored validations handling in models and type resolver [\#2476](https://github.com/go-swagger/go-swagger/pull/2476) ([fredbi](https://github.com/fredbi)) - add specific version install info [\#2475](https://github.com/go-swagger/go-swagger/pull/2475) ([blami](https://github.com/blami)) - added markdown generator [\#2466](https://github.com/go-swagger/go-swagger/pull/2466) ([fredbi](https://github.com/fredbi)) - Ensure enum variant name is unique [\#2464](https://github.com/go-swagger/go-swagger/pull/2464) ([mraerino](https://github.com/mraerino)) - CLI version: added versioning from module support for go get users [\#2462](https://github.com/go-swagger/go-swagger/pull/2462) ([fredbi](https://github.com/fredbi)) - fixed doc in petstore example [\#2461](https://github.com/go-swagger/go-swagger/pull/2461) ([fredbi](https://github.com/fredbi)) - refactored, documented and tested tags in models [\#2460](https://github.com/go-swagger/go-swagger/pull/2460) ([fredbi](https://github.com/fredbi)) - ensure custom tag is applied to object in generated model \(\#2457\) [\#2458](https://github.com/go-swagger/go-swagger/pull/2458) ([bobcallaway](https://github.com/bobcallaway)) - fixed numerical validations for integer types [\#2453](https://github.com/go-swagger/go-swagger/pull/2453) ([fredbi](https://github.com/fredbi)) - test: model tests go parallel [\#2450](https://github.com/go-swagger/go-swagger/pull/2450) ([fredbi](https://github.com/fredbi)) - escape backticks in regex patterns [\#2449](https://github.com/go-swagger/go-swagger/pull/2449) ([casualjim](https://github.com/casualjim)) - Generate example struct tag if example is provided [\#2447](https://github.com/go-swagger/go-swagger/pull/2447) ([sbstp](https://github.com/sbstp)) - auth: added support for adding a principal as an interface [\#2442](https://github.com/go-swagger/go-swagger/pull/2442) ([fredbi](https://github.com/fredbi)) - fixed generated package resolution for principal [\#2440](https://github.com/go-swagger/go-swagger/pull/2440) ([fredbi](https://github.com/fredbi)) - Added more control over external types [\#2438](https://github.com/go-swagger/go-swagger/pull/2438) ([fredbi](https://github.com/fredbi)) - Acknowledged codegen regression fixed [\#2435](https://github.com/go-swagger/go-swagger/pull/2435) ([fredbi](https://github.com/fredbi)) - Fixed required aliased type [\#2434](https://github.com/go-swagger/go-swagger/pull/2434) ([fredbi](https://github.com/fredbi)) - fixup replace clause left in go.mod [\#2433](https://github.com/go-swagger/go-swagger/pull/2433) ([fredbi](https://github.com/fredbi)) - Updated go-openapi [\#2432](https://github.com/go-swagger/go-swagger/pull/2432) ([fredbi](https://github.com/fredbi)) - test\(generate spec\): extra code parsing assertions for the TermsOfService annotation [\#2431](https://github.com/go-swagger/go-swagger/pull/2431) ([fredbi](https://github.com/fredbi)) - updated go-openapi dependencies [\#2427](https://github.com/go-swagger/go-swagger/pull/2427) ([fredbi](https://github.com/fredbi)) - added validation guards against inconsistent validations [\#2426](https://github.com/go-swagger/go-swagger/pull/2426) ([fredbi](https://github.com/fredbi)) - Fixed missing Required validations [\#2425](https://github.com/go-swagger/go-swagger/pull/2425) ([fredbi](https://github.com/fredbi)) - fixed server codegen package conflicts when specifying --server-package and --api-package [\#2424](https://github.com/go-swagger/go-swagger/pull/2424) ([fredbi](https://github.com/fredbi)) - Change comment in server template: add periods at the end [\#2418](https://github.com/go-swagger/go-swagger/pull/2418) ([alexandear](https://github.com/alexandear)) - fix codescan, and support SelectorExpr with response. [\#2414](https://github.com/go-swagger/go-swagger/pull/2414) ([j2gg0s](https://github.com/j2gg0s)) - Fix 2391: Add more infomation to classify error [\#2392](https://github.com/go-swagger/go-swagger/pull/2392) ([tptpp](https://github.com/tptpp)) - Fix panics and boost coverage [\#2390](https://github.com/go-swagger/go-swagger/pull/2390) ([wjase](https://github.com/wjase)) - Pass examples to the generated models [\#2389](https://github.com/go-swagger/go-swagger/pull/2389) ([SVilgelm](https://github.com/SVilgelm)) - doc: fix issue of displaying code [\#2377](https://github.com/go-swagger/go-swagger/pull/2377) ([meysampg](https://github.com/meysampg)) - Added support to ignore conflicts in mixin command [\#2375](https://github.com/go-swagger/go-swagger/pull/2375) ([stijndehaes](https://github.com/stijndehaes)) - Feature/ReadOnly-Validation Support [\#2369](https://github.com/go-swagger/go-swagger/pull/2369) ([youyuanwu](https://github.com/youyuanwu)) - Fixed diff writing to file called stdout instead of os.StdOut [\#2367](https://github.com/go-swagger/go-swagger/pull/2367) ([wjase](https://github.com/wjase)) - Fix VMware reference. [\#2366](https://github.com/go-swagger/go-swagger/pull/2366) ([zmb3](https://github.com/zmb3)) - allow x-nullable hint to override allOf nullability status [\#2365](https://github.com/go-swagger/go-swagger/pull/2365) ([fredbi](https://github.com/fredbi)) - Acknowledged fixes from go-openapi/spec updates [\#2142](https://github.com/go-swagger/go-swagger/pull/2142) ([fredbi](https://github.com/fredbi)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
640fa2f
2021-01-19 12:00
下载
v0.25.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.24.0...v0.25.0) **Implemented enhancements:** - importing struct with x-go-type generates client code which doesnt compile [\#2224](https://github.com/go-swagger/go-swagger/issues/2224) **Fixed bugs:** - file parameter with maxLength: not enough arguments in call to "github.com/go-openapi/errors".ExceedsMaximum [\#2342](https://github.com/go-swagger/go-swagger/issues/2342) - Missing models during client generation [\#2306](https://github.com/go-swagger/go-swagger/issues/2306) - Server generation with --name api produces empty strings [\#2293](https://github.com/go-swagger/go-swagger/issues/2293) - Custom principal import is missing from generated server code [\#2283](https://github.com/go-swagger/go-swagger/issues/2283) - "generate operation" returns "no operations were selected" [\#2280](https://github.com/go-swagger/go-swagger/issues/2280) - "generate operation" error "the required flag `-n, --name' was not specified" [\#2279](https://github.com/go-swagger/go-swagger/issues/2279) - Generate model may panic on some specs [\#2161](https://github.com/go-swagger/go-swagger/issues/2161) - swagger diff --dest="${DEST}": Is not writing output to "${DEST}" [\#2103](https://github.com/go-swagger/go-swagger/issues/2103) - Models not importing x-go-type for one of properties [\#1897](https://github.com/go-swagger/go-swagger/issues/1897) **Closed issues:** - Strange error while swagger generate server! [\#2358](https://github.com/go-swagger/go-swagger/issues/2358) - generate operation does not take model package parameter [\#2355](https://github.com/go-swagger/go-swagger/issues/2355) - Duplicate struct field generated [\#2352](https://github.com/go-swagger/go-swagger/issues/2352) - structures for response errors [\#2351](https://github.com/go-swagger/go-swagger/issues/2351) - swagger:meta - $ref on description [\#2349](https://github.com/go-swagger/go-swagger/issues/2349) - Add warning to documentation for swagger:meta [\#2335](https://github.com/go-swagger/go-swagger/issues/2335) - how to add property `in:formData` for struct's all field [\#2323](https://github.com/go-swagger/go-swagger/issues/2323) - 0.24.0: too many arguments in call to "github.com/go-openapi/errors".Required [\#2319](https://github.com/go-swagger/go-swagger/issues/2319) - Build fails with latest go-openapi/errors [\#2315](https://github.com/go-swagger/go-swagger/issues/2315) - Raw request body is empty if we try get it inside handler function [\#2310](https://github.com/go-swagger/go-swagger/issues/2310) - not yet registered swag [\#2291](https://github.com/go-swagger/go-swagger/issues/2291) **Merged pull requests:** - adds swaggerui middleware as default /docs site [\#2359](https://github.com/go-swagger/go-swagger/pull/2359) ([casualjim](https://github.com/casualjim)) - Adding ModelPackage option to generate operation [\#2356](https://github.com/go-swagger/go-swagger/pull/2356) ([rodriguise](https://github.com/rodriguise)) - Added a way to override the different authenticator functions in [\#2354](https://github.com/go-swagger/go-swagger/pull/2354) ([ronniel1](https://github.com/ronniel1)) - Improve client response error message when status code not recognized [\#2348](https://github.com/go-swagger/go-swagger/pull/2348) ([minitauros](https://github.com/minitauros)) - fixed missing broken templates after the breaking change in go-openapi/errors [\#2345](https://github.com/go-swagger/go-swagger/pull/2345) ([fredbi](https://github.com/fredbi)) - removed unused template [\#2343](https://github.com/go-swagger/go-swagger/pull/2343) ([fredbi](https://github.com/fredbi)) - fix imports of external types, when used as dependency in properties, items, etc [\#2341](https://github.com/go-swagger/go-swagger/pull/2341) ([fredbi](https://github.com/fredbi)) - enhanced external types: more options to x-go-type [\#2340](https://github.com/go-swagger/go-swagger/pull/2340) ([fredbi](https://github.com/fredbi)) - fixed merging issues that caused linting/goimport failures [\#2339](https://github.com/go-swagger/go-swagger/pull/2339) ([fredbi](https://github.com/fredbi)) - Add NOTE in swagger:meta for adhering to godoc standard [\#2338](https://github.com/go-swagger/go-swagger/pull/2338) ([AymanArif](https://github.com/AymanArif)) - refactored generator tests for readability [\#2337](https://github.com/go-swagger/go-swagger/pull/2337) ([fredbi](https://github.com/fredbi)) - fix edge case with panic in models because of invalid additionalProperties or AllOf schema [\#2336](https://github.com/go-swagger/go-swagger/pull/2336) ([fredbi](https://github.com/fredbi)) - Enhanced generate model CLI: accepts definitions only specs, deprecates some options [\#2333](https://github.com/go-swagger/go-swagger/pull/2333) ([fredbi](https://github.com/fredbi)) - Refactored CLI diff commands and associated tests [\#2332](https://github.com/go-swagger/go-swagger/pull/2332) ([fredbi](https://github.com/fredbi)) - Fix linting again [\#2329](https://github.com/go-swagger/go-swagger/pull/2329) ([fredbi](https://github.com/fredbi)) - more aggressive name deconflicting for inline \(anonymous\) models generated in the operations package [\#2328](https://github.com/go-swagger/go-swagger/pull/2328) ([fredbi](https://github.com/fredbi)) - filter out empty args passed by CLI to select operations [\#2327](https://github.com/go-swagger/go-swagger/pull/2327) ([fredbi](https://github.com/fredbi)) - re-enacted CI-based linting [\#2326](https://github.com/go-swagger/go-swagger/pull/2326) ([fredbi](https://github.com/fredbi)) - fixed broken imports when specifying principal in external package [\#2325](https://github.com/go-swagger/go-swagger/pull/2325) ([fredbi](https://github.com/fredbi)) - fix\(generator\): fixed generated API name when terminated with suffix "api" [\#2322](https://github.com/go-swagger/go-swagger/pull/2322) ([fredbi](https://github.com/fredbi)) - feature: strict responders option [\#2312](https://github.com/go-swagger/go-swagger/pull/2312) ([onokonem](https://github.com/onokonem)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
f032690
2020-07-19 03:23
下载
v0.24.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.23.0...v0.24.0) **Fixed bugs:** - Body not written to request on post when schema is discriminated/anyOf/oneOf [\#1233](https://github.com/go-swagger/go-swagger/issues/1233) **Closed issues:** - httptest'ing - scope not getting picked up [\#2307](https://github.com/go-swagger/go-swagger/issues/2307) - not able to run my swagger [\#2298](https://github.com/go-swagger/go-swagger/issues/2298) - websocket: response does not implement http.Hijacker [\#2288](https://github.com/go-swagger/go-swagger/issues/2288) - client middleware? [\#2277](https://github.com/go-swagger/go-swagger/issues/2277) - x-www-form-urlencoded server generation issue [\#2273](https://github.com/go-swagger/go-swagger/issues/2273) - Spec generation docs out of date [\#2270](https://github.com/go-swagger/go-swagger/issues/2270) - Generated client is receiving 422 error, but I can't see the body to figure out what is missing [\#2261](https://github.com/go-swagger/go-swagger/issues/2261) - How can I get requester client IP in my controller ? [\#2260](https://github.com/go-swagger/go-swagger/issues/2260) - Redirecting links in the docs [\#2253](https://github.com/go-swagger/go-swagger/issues/2253) - Please make a new release for Go 1.14 [\#2239](https://github.com/go-swagger/go-swagger/issues/2239) - Properties in "AllOf1" structs don't get marshaled in generated client [\#1232](https://github.com/go-swagger/go-swagger/issues/1232) **Merged pull requests:** - update to errors that carry the value [\#2313](https://github.com/go-swagger/go-swagger/pull/2313) ([casualjim](https://github.com/casualjim)) - fix: afld check nil [\#2303](https://github.com/go-swagger/go-swagger/pull/2303) ([bbxytl](https://github.com/bbxytl)) - Set struct tags on generator options [\#2289](https://github.com/go-swagger/go-swagger/pull/2289) ([vincentvanderweele](https://github.com/vincentvanderweele)) - Fix multiline descriptions for the stratoscale template [\#2282](https://github.com/go-swagger/go-swagger/pull/2282) ([JoakimSoderberg](https://github.com/JoakimSoderberg)) - Allow passing struct tags from command line [\#2281](https://github.com/go-swagger/go-swagger/pull/2281) ([vincentvanderweele](https://github.com/vincentvanderweele)) - fix wrong pointer designation [\#2274](https://github.com/go-swagger/go-swagger/pull/2274) ([casualjim](https://github.com/casualjim)) - Update docs for spec generation [\#2271](https://github.com/go-swagger/go-swagger/pull/2271) ([glindsell](https://github.com/glindsell)) - Improvements for XML support [\#2265](https://github.com/go-swagger/go-swagger/pull/2265) ([nubenum](https://github.com/nubenum)) - Add support of case-insensitive enums \(\#303\) [\#2264](https://github.com/go-swagger/go-swagger/pull/2264) ([pheepi](https://github.com/pheepi)) - Basic support for XML model generation [\#2241](https://github.com/go-swagger/go-swagger/pull/2241) ([nubenum](https://github.com/nubenum)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
094421c
2020-06-16 14:59
下载
v0.23.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.22.0...v0.23.0) **Breaking changes:** - Failed to load template schemabody [\#2223](https://github.com/go-swagger/go-swagger/issues/2223) **Implemented enhancements:** - Add middleware router or a kind of path matching [\#2234](https://github.com/go-swagger/go-swagger/issues/2234) - Incompatible naming convention for a path starting with one letter word [\#2213](https://github.com/go-swagger/go-swagger/issues/2213) **Fixed bugs:** - Code generation is broken due to stricter template syntax checks in Go 1.14 [\#2215](https://github.com/go-swagger/go-swagger/issues/2215) - swagger generate spec -m gives inconsistent json every other run [\#2066](https://github.com/go-swagger/go-swagger/issues/2066) **Closed issues:** - How to get matched route in a middleware ? [\#2238](https://github.com/go-swagger/go-swagger/issues/2238) - Client generation failed: panic: object has no key "Map" [\#2237](https://github.com/go-swagger/go-swagger/issues/2237) - generated server arguments not working [\#2227](https://github.com/go-swagger/go-swagger/issues/2227) - codescan/meta.go: cannot use promoted field ContactInfoProps.URL in struct literal of type [\#2214](https://github.com/go-swagger/go-swagger/issues/2214) - change project name for go-netbox [\#2206](https://github.com/go-swagger/go-swagger/issues/2206) **Merged pull requests:** - \[DOCKER\] don't run swagger with "root" [\#2240](https://github.com/go-swagger/go-swagger/pull/2240) ([deogracia](https://github.com/deogracia)) - Add middleware setter for a route \(path prefix\) [\#2236](https://github.com/go-swagger/go-swagger/pull/2236) ([ilyakaznacheev](https://github.com/ilyakaznacheev)) - Working around minor shortcoming in swag.ToGoName [\#2226](https://github.com/go-swagger/go-swagger/pull/2226) ([fredbi](https://github.com/fredbi)) - fixed schemabody.gotmpl template regression caused by \#2221 [\#2225](https://github.com/go-swagger/go-swagger/pull/2225) ([fredbi](https://github.com/fredbi)) - Fix `goimports` step incorrectly rewriting imports [\#2222](https://github.com/go-swagger/go-swagger/pull/2222) ([misha-ridge](https://github.com/misha-ridge)) - Model templates refactoring for readability -- NO CHANGE IN FUNCTIONALITY [\#2221](https://github.com/go-swagger/go-swagger/pull/2221) ([fredbi](https://github.com/fredbi)) - Task: Update template imports to be consistent and ordered [\#2219](https://github.com/go-swagger/go-swagger/pull/2219) ([kenjones-cisco](https://github.com/kenjones-cisco)) - fix go-swagger\#2066 issue [\#2209](https://github.com/go-swagger/go-swagger/pull/2209) ([mfranczy](https://github.com/mfranczy)) - Fix \#2206: Change project name for go-netbox [\#2207](https://github.com/go-swagger/go-swagger/pull/2207) ([kobayashi](https://github.com/kobayashi)) - add option in model generation to output all definitions regardless of usage [\#2205](https://github.com/go-swagger/go-swagger/pull/2205) ([dan-j](https://github.com/dan-j)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
3596b40
2020-03-15 06:31
下载
v0.22.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.21.0...v0.22.0) **Implemented enhancements:** - Enable x-go-name in parameters [\#2167](https://github.com/go-swagger/go-swagger/issues/2167) - How to generate a model with JSON ',string' directive for an int64 properties? [\#2144](https://github.com/go-swagger/go-swagger/issues/2144) - Swagger tags starting with integer make formatting errors in operations [\#2111](https://github.com/go-swagger/go-swagger/issues/2111) - Swagger Tags interfere with imported packages [\#2057](https://github.com/go-swagger/go-swagger/issues/2057) - Issue generating servers which have 'api' in their name [\#1971](https://github.com/go-swagger/go-swagger/issues/1971) - Support go modules [\#1724](https://github.com/go-swagger/go-swagger/issues/1724) - generate spec: json.RawMessage doesn't represent the intent. [\#1622](https://github.com/go-swagger/go-swagger/issues/1622) - Generated code don't pass on go vet [\#1573](https://github.com/go-swagger/go-swagger/issues/1573) - Could Client be a concrete implementation of an interface? [\#1138](https://github.com/go-swagger/go-swagger/issues/1138) - Unable to override operations package name [\#1049](https://github.com/go-swagger/go-swagger/issues/1049) **Fixed bugs:** - Build fails due to duplicate methods [\#2199](https://github.com/go-swagger/go-swagger/issues/2199) - Enum value "" generating code that does not compile [\#2139](https://github.com/go-swagger/go-swagger/issues/2139) - byte type string causes "models/test\_swagger.go:43:6: k declared and not used" [\#2136](https://github.com/go-swagger/go-swagger/issues/2136) - x-omitempty handling is incorrect with $ref [\#2116](https://github.com/go-swagger/go-swagger/issues/2116) - Flatten \(and generate\) fails intermittently [\#2092](https://github.com/go-swagger/go-swagger/issues/2092) - panic: Invalid schema provided to SchemaValidator: object has no key "default" [\#2063](https://github.com/go-swagger/go-swagger/issues/2063) - Data Race between Serve\(\) and Shutdown\(\) [\#1943](https://github.com/go-swagger/go-swagger/issues/1943) - doc.go fails to compile when passed a certain invalid mime-type [\#1663](https://github.com/go-swagger/go-swagger/issues/1663) - Multiple media parameters on producers generate code that does not compile [\#1377](https://github.com/go-swagger/go-swagger/issues/1377) **Closed issues:** - Swagger adds to a spec not exported parameters fields [\#2164](https://github.com/go-swagger/go-swagger/issues/2164) - generate client library: definition "" contains duplicate properties: \[\] \(or crash when --skip-validation\) [\#2156](https://github.com/go-swagger/go-swagger/issues/2156) - model will not be generate if it's used as a map's value type in response body [\#2145](https://github.com/go-swagger/go-swagger/issues/2145) - How do I specify the json body parameters within the Go code for "swagger:operation" like I do for "swagger:route"? [\#2134](https://github.com/go-swagger/go-swagger/issues/2134) - why `generate operation` is required name option? [\#2123](https://github.com/go-swagger/go-swagger/issues/2123) - Endless loop in `swagger generate spec` [\#2122](https://github.com/go-swagger/go-swagger/issues/2122) - Add ability for server pre-shutdown hook [\#2108](https://github.com/go-swagger/go-swagger/issues/2108) - File type in form-data [\#2105](https://github.com/go-swagger/go-swagger/issues/2105) - add parameters on router [\#2104](https://github.com/go-swagger/go-swagger/issues/2104) - unrecognized import path "dmitri.shuralyov.com/gpu/mtl" [\#2094](https://github.com/go-swagger/go-swagger/issues/2094) - docs/guideline is outdated [\#2091](https://github.com/go-swagger/go-swagger/issues/2091) - generated code can not pass gofmt [\#2089](https://github.com/go-swagger/go-swagger/issues/2089) - faq\_model.md link to more info about date is broken [\#2088](https://github.com/go-swagger/go-swagger/issues/2088) - v0.21.0 not published on bintray [\#2085](https://github.com/go-swagger/go-swagger/issues/2085) - Please create a new release [\#2080](https://github.com/go-swagger/go-swagger/issues/2080) - Randomly getting peer connection reset error with the generated client [\#1954](https://github.com/go-swagger/go-swagger/issues/1954) - swagger generate server exception [\#1882](https://github.com/go-swagger/go-swagger/issues/1882) - Please add GPG Public Key to deb repo [\#1812](https://github.com/go-swagger/go-swagger/issues/1812) **Merged pull requests:** - \#2199 Remove the duplicate `withEnum` functions inside `scan` package [\#2200](https://github.com/go-swagger/go-swagger/pull/2200) ([sam016](https://github.com/sam016)) - regen samples [\#2196](https://github.com/go-swagger/go-swagger/pull/2196) ([fredbi](https://github.com/fredbi)) - updated go.mod with go get -u ./... && go mod tidy [\#2195](https://github.com/go-swagger/go-swagger/pull/2195) ([fredbi](https://github.com/fredbi)) - Throttle memory in codegen CI [\#2193](https://github.com/go-swagger/go-swagger/pull/2193) ([fredbi](https://github.com/fredbi)) - Fix client generation's mapvalidator with additionalProperties [\#2190](https://github.com/go-swagger/go-swagger/pull/2190) ([hmalphettes](https://github.com/hmalphettes)) - Review of codegen imports and package name mangling [\#2181](https://github.com/go-swagger/go-swagger/pull/2181) ([fredbi](https://github.com/fredbi)) - fix some typo I find in custom-server.md [\#2179](https://github.com/go-swagger/go-swagger/pull/2179) ([yuzp1996](https://github.com/yuzp1996)) - Fixed release Dockerfiles [\#2178](https://github.com/go-swagger/go-swagger/pull/2178) ([fredbi](https://github.com/fredbi)) - refactored code generator [\#2177](https://github.com/go-swagger/go-swagger/pull/2177) ([fredbi](https://github.com/fredbi)) - Feature/morlays enum [\#2176](https://github.com/go-swagger/go-swagger/pull/2176) ([sam016](https://github.com/sam016)) - CLI: refactored CLI commands to introduce command groups [\#2173](https://github.com/go-swagger/go-swagger/pull/2173) ([fredbi](https://github.com/fredbi)) - changes for \#2054 - extension fields in info.contact do not propagate… [\#2171](https://github.com/go-swagger/go-swagger/pull/2171) ([kul-amr](https://github.com/kul-amr)) - Fix processing type declarations [\#2169](https://github.com/go-swagger/go-swagger/pull/2169) ([novasharper](https://github.com/novasharper)) - feat\(parameters\): query & path parameters now accept x-go-name [\#2168](https://github.com/go-swagger/go-swagger/pull/2168) ([maxatome](https://github.com/maxatome)) - ignore not exported params fields [\#2165](https://github.com/go-swagger/go-swagger/pull/2165) ([mfranczy](https://github.com/mfranczy)) - fix typo [\#2162](https://github.com/go-swagger/go-swagger/pull/2162) ([derekperkins](https://github.com/derekperkins)) - fix: missing adding postDecls in response map field [\#2159](https://github.com/go-swagger/go-swagger/pull/2159) ([autumn31](https://github.com/autumn31)) - CI codegen [\#2158](https://github.com/go-swagger/go-swagger/pull/2158) ([fredbi](https://github.com/fredbi)) - add x-go-json-string [\#2157](https://github.com/go-swagger/go-swagger/pull/2157) ([mail2fish](https://github.com/mail2fish)) - fixed some edge cases when deconflicting client timeout parameters [\#2155](https://github.com/go-swagger/go-swagger/pull/2155) ([fredbi](https://github.com/fredbi)) - Speedup 'swagger generate' by not re-parsing schemas many times [\#2152](https://github.com/go-swagger/go-swagger/pull/2152) ([misha-ridge](https://github.com/misha-ridge)) - Client template interfaces [\#2151](https://github.com/go-swagger/go-swagger/pull/2151) ([fredbi](https://github.com/fredbi)) - Bugfix/data race serve shutdown [\#2150](https://github.com/go-swagger/go-swagger/pull/2150) ([fredbi](https://github.com/fredbi)) - fix\(doc\): fixed broken link in models FAQ [\#2149](https://github.com/go-swagger/go-swagger/pull/2149) ([fredbi](https://github.com/fredbi)) - Fixed x-omitempty in the case of $ref'ed schemas [\#2148](https://github.com/go-swagger/go-swagger/pull/2148) ([fredbi](https://github.com/fredbi)) - fix\(doc\): updated contributing guidelines [\#2147](https://github.com/go-swagger/go-swagger/pull/2147) ([fredbi](https://github.com/fredbi)) - fix\(model\): fixes validations for format="byte" \(no format validation\) [\#2146](https://github.com/go-swagger/go-swagger/pull/2146) ([fredbi](https://github.com/fredbi)) - Add support for empty enum values [\#2143](https://github.com/go-swagger/go-swagger/pull/2143) ([fredbi](https://github.com/fredbi)) - Fix overwriting security definitions on call Server.SetAPI\(\) [\#2140](https://github.com/go-swagger/go-swagger/pull/2140) ([h0mjam](https://github.com/h0mjam)) - fix endless loop issue for pkg import analysis [\#2138](https://github.com/go-swagger/go-swagger/pull/2138) ([mfranczy](https://github.com/mfranczy)) - Support multiple mime type specifications, with parameters [\#2120](https://github.com/go-swagger/go-swagger/pull/2120) ([fredbi](https://github.com/fredbi)) - Add .Context to location template context [\#2118](https://github.com/go-swagger/go-swagger/pull/2118) ([aeneasr](https://github.com/aeneasr)) - Support AllowTemplateOverride in `generate client` [\#2117](https://github.com/go-swagger/go-swagger/pull/2117) ([aeneasr](https://github.com/aeneasr)) - CI refactoring [\#2114](https://github.com/go-swagger/go-swagger/pull/2114) ([fredbi](https://github.com/fredbi)) - Issue:2108 - Adding files/tests to support PreServerShutdown - Take2 [\#2110](https://github.com/go-swagger/go-swagger/pull/2110) ([keperry](https://github.com/keperry)) - codescan: Natively support json.RawMessage [\#2107](https://github.com/go-swagger/go-swagger/pull/2107) ([aeneasr](https://github.com/aeneasr)) - support json tag with no name [\#2095](https://github.com/go-swagger/go-swagger/pull/2095) ([okhowang](https://github.com/okhowang)) - Update go-openapi/analysis [\#2093](https://github.com/go-swagger/go-swagger/pull/2093) ([fredbi](https://github.com/fredbi)) - fix: generated code can not pass gofmt \#2089 [\#2090](https://github.com/go-swagger/go-swagger/pull/2090) ([elonzh](https://github.com/elonzh)) - updates docs for deb install with apt-secure [\#2087](https://github.com/go-swagger/go-swagger/pull/2087) ([casualjim](https://github.com/casualjim)) - regenerated examples with v0.21.0 [\#2086](https://github.com/go-swagger/go-swagger/pull/2086) ([fredbi](https://github.com/fredbi)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
5773cbe
2020-02-02 10:18
下载
v0.21.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.20.1...v0.21.0) **Implemented enhancements:** - Add warning messages for inconsistent parameter types and validations [\#2069](https://github.com/go-swagger/go-swagger/issues/2069) **Fixed bugs:** - JSON tags are not honored in case of allOf. [\#2071](https://github.com/go-swagger/go-swagger/issues/2071) **Closed issues:** - How to register a handler for the server? [\#2083](https://github.com/go-swagger/go-swagger/issues/2083) - Flatten before serve [\#2078](https://github.com/go-swagger/go-swagger/issues/2078) - Additional keys in response model [\#2073](https://github.com/go-swagger/go-swagger/issues/2073) - Go v0.20.0: checksum mismatch when using GOPROXY=direct [\#2065](https://github.com/go-swagger/go-swagger/issues/2065) - Code generation fails when swagger is built with go1.13 [\#2058](https://github.com/go-swagger/go-swagger/issues/2058) - feature: support custom swagger type [\#1183](https://github.com/go-swagger/go-swagger/issues/1183) **Merged pull requests:** - Add OpenAPI Terraform provider to 'Who is using this project?' section [\#2084](https://github.com/go-swagger/go-swagger/pull/2084) ([dikhan](https://github.com/dikhan)) - Add flag to allow overwriting protected templates [\#2082](https://github.com/go-swagger/go-swagger/pull/2082) ([dominikznidar](https://github.com/dominikznidar)) - Feat\(serve\) : Add flatten flag to serve command [\#2079](https://github.com/go-swagger/go-swagger/pull/2079) ([seblegall](https://github.com/seblegall)) - added contrib to the docker image [\#2076](https://github.com/go-swagger/go-swagger/pull/2076) ([ronnie-stratoscale](https://github.com/ronnie-stratoscale)) - Keep spec orders for mixin command [\#2074](https://github.com/go-swagger/go-swagger/pull/2074) ([BupycHuk](https://github.com/BupycHuk)) - fixes undue propagation of x-go-name to tags in AllOf serializer [\#2072](https://github.com/go-swagger/go-swagger/pull/2072) ([fredbi](https://github.com/fredbi)) - Provide example for configure command-line flags [\#2068](https://github.com/go-swagger/go-swagger/pull/2068) ([antonok](https://github.com/antonok)) - Add default flag support `import "flags"` [\#2067](https://github.com/go-swagger/go-swagger/pull/2067) ([hisunwei](https://github.com/hisunwei)) - Added installation instructions through docker for windows users [\#2061](https://github.com/go-swagger/go-swagger/pull/2061) ([EliCDavis](https://github.com/EliCDavis)) - update go-openapi libraries for go 1.13 fix [\#2059](https://github.com/go-swagger/go-swagger/pull/2059) ([casualjim](https://github.com/casualjim)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
078d718
2019-10-19 14:44
下载
v0.20.1
release v0.20.1
cf3fb25
2019-08-20 13:59
下载
v0.20.0
release v0.20.0
d2f6216
2019-08-19 13:18
下载
v0.19.0
51061fa
2019-03-20 15:29
下载
v0.18.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.17.2...v0.18.0) **Implemented enhancements:** - Client cannot unmarshal struct [\#1729](https://github.com/go-swagger/go-swagger/issues/1729) - swagger generation with --with-context result in compiles error [\#1684](https://github.com/go-swagger/go-swagger/issues/1684) - Can't have server code in subdirectory [\#1624](https://github.com/go-swagger/go-swagger/issues/1624) - Proposal: x-omitempty for general types [\#1623](https://github.com/go-swagger/go-swagger/issues/1623) - When generating validations struct pkg references needs to be preserved [\#578](https://github.com/go-swagger/go-swagger/issues/578) **Fixed bugs:** - Duplicated parentheses [\#1839](https://github.com/go-swagger/go-swagger/issues/1839) - Regression with gob encoder optimization [\#1824](https://github.com/go-swagger/go-swagger/issues/1824) - generated embedded\_spec.go removing refs [\#1816](https://github.com/go-swagger/go-swagger/issues/1816) - Duplicated imports in configure.go [\#1808](https://github.com/go-swagger/go-swagger/issues/1808) - Recursive model errors during flattening stage of generate server [\#1796](https://github.com/go-swagger/go-swagger/issues/1796) - Invalid paths in go generate directive [\#1789](https://github.com/go-swagger/go-swagger/issues/1789) - race in handleShutdown [\#1781](https://github.com/go-swagger/go-swagger/issues/1781) - non-compiling code if an API method contains a parameter named 'result' [\#1778](https://github.com/go-swagger/go-swagger/issues/1778) - Are external references supported? [\#1774](https://github.com/go-swagger/go-swagger/issues/1774) - One spec in multiple files \(data types logic override\) - error of generating [\#1767](https://github.com/go-swagger/go-swagger/issues/1767) - go-swagger generate server: minItems \(maxItems\) on array fails during validation. [\#1755](https://github.com/go-swagger/go-swagger/issues/1755) - Client wont compile with a route tagged "test" [\#1683](https://github.com/go-swagger/go-swagger/issues/1683) - Generate client does not handle "-" dashes in --client-package consistently [\#1157](https://github.com/go-swagger/go-swagger/issues/1157) **Closed issues:** - body parameter of type string results in code that doesn't compile [\#1832](https://github.com/go-swagger/go-swagger/issues/1832) - Add an option for placing the docs/docs.go file [\#1811](https://github.com/go-swagger/go-swagger/issues/1811) - Deb version 0.17.2 doesn't contain the binary on bintray [\#1793](https://github.com/go-swagger/go-swagger/issues/1793) - Parameters in swagger:route produce validation warnings [\#1785](https://github.com/go-swagger/go-swagger/issues/1785) - Do not escape '&' character in json response [\#1763](https://github.com/go-swagger/go-swagger/issues/1763) - Deb installation is broken with the new version with the "v" prefix [\#1760](https://github.com/go-swagger/go-swagger/issues/1760) - Validate returns different output in console and logs [\#1722](https://github.com/go-swagger/go-swagger/issues/1722) **Merged pull requests:** - Prepare for v0.18.0 release [\#1843](https://github.com/go-swagger/go-swagger/pull/1843) ([casualjim](https://github.com/casualjim)) - FAQ update [\#1842](https://github.com/go-swagger/go-swagger/pull/1842) ([fredbi](https://github.com/fredbi)) - Models: avoids redundant "\(\)" on .ValueExpression [\#1840](https://github.com/go-swagger/go-swagger/pull/1840) ([fredbi](https://github.com/fredbi)) - route: add support description response tag at path [\#1829](https://github.com/go-swagger/go-swagger/pull/1829) ([d7561985](https://github.com/d7561985)) - Fix \#1824 [\#1827](https://github.com/go-swagger/go-swagger/pull/1827) ([fredbi](https://github.com/fredbi)) - Add HandlerAPI\(\) function to stratoscale template [\#1821](https://github.com/go-swagger/go-swagger/pull/1821) ([maxatome](https://github.com/maxatome)) - Remove x net context from generated code [\#1819](https://github.com/go-swagger/go-swagger/pull/1819) ([fredbi](https://github.com/fredbi)) - Acknowledge fix \#1816 with go-openapi updates [\#1818](https://github.com/go-swagger/go-swagger/pull/1818) ([fredbi](https://github.com/fredbi)) - Fixed go generate paths in configure\_xxx.go [\#1810](https://github.com/go-swagger/go-swagger/pull/1810) ([fredbi](https://github.com/fredbi)) - Fixed regression on Windows introduced by \#1804 [\#1809](https://github.com/go-swagger/go-swagger/pull/1809) ([fredbi](https://github.com/fredbi)) - Handle array examples; document Example usage [\#1807](https://github.com/go-swagger/go-swagger/pull/1807) ([leon-barrett](https://github.com/leon-barrett)) - Deprecates `--with-context` option [\#1806](https://github.com/go-swagger/go-swagger/pull/1806) ([fredbi](https://github.com/fredbi)) - Fixes race condition in generated server [\#1805](https://github.com/go-swagger/go-swagger/pull/1805) ([fredbi](https://github.com/fredbi)) - More mangling for generated package names and path [\#1804](https://github.com/go-swagger/go-swagger/pull/1804) ([fredbi](https://github.com/fredbi)) - Fix slice validations in body param [\#1803](https://github.com/go-swagger/go-swagger/pull/1803) ([fredbi](https://github.com/fredbi)) - chore: update vendor for performance [\#1802](https://github.com/go-swagger/go-swagger/pull/1802) ([orisano](https://github.com/orisano)) - Use JSON for examples of type object [\#1801](https://github.com/go-swagger/go-swagger/pull/1801) ([leon-barrett](https://github.com/leon-barrett)) - Fix go vet 11 issue with debugAsJSON func [\#1800](https://github.com/go-swagger/go-swagger/pull/1800) ([fredbi](https://github.com/fredbi)) - Fix flattening spec with remote circular $ref [\#1799](https://github.com/go-swagger/go-swagger/pull/1799) ([fredbi](https://github.com/fredbi)) - Allow '?' character in route path [\#1792](https://github.com/go-swagger/go-swagger/pull/1792) ([andrewmilson](https://github.com/andrewmilson)) - There is a panic when invalid schema of route/operation is used in spec generation. It should prevent it [\#1791](https://github.com/go-swagger/go-swagger/pull/1791) ([marsianin](https://github.com/marsianin)) - fix client cannot unmarshal struct which contains null [\#1788](https://github.com/go-swagger/go-swagger/pull/1788) ([AlexInGitHub](https://github.com/AlexInGitHub)) - Absorbing api names across multiple lines [\#1783](https://github.com/go-swagger/go-swagger/pull/1783) ([liyuankui](https://github.com/liyuankui)) - fixes \#1778. Allow 'result' name for API parameter [\#1780](https://github.com/go-swagger/go-swagger/pull/1780) ([mtfelian](https://github.com/mtfelian)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
6b23bb6
2018-12-23 03:57
下载
v0.17.2
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.17.1...v0.17.2) **Closed issues:** - invalid client code generated for spec [\#1770](https://github.com/go-swagger/go-swagger/issues/1770) **Merged pull requests:** - Fix a typo in tutorial [\#1764](https://github.com/go-swagger/go-swagger/pull/1764) ([ladrift](https://github.com/ladrift)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
800a305
2018-10-25 10:59
下载
v0.17.1
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.17.0...v0.17.1) **Implemented enhancements:** - un-graceful shutdown after 15 seconds on generated restapi/server.go\#handleShutdown [\#1714](https://github.com/go-swagger/go-swagger/issues/1714) - Better Email Validation [\#1519](https://github.com/go-swagger/go-swagger/issues/1519) **Fixed bugs:** - skipping -A/--name option in generate server generates corrupt code [\#1746](https://github.com/go-swagger/go-swagger/issues/1746) **Closed issues:** - testing server: the required flags `--tls-certificate` and `--tls-key` were not specified [\#1745](https://github.com/go-swagger/go-swagger/issues/1745) - Go-swagger vendoring problem [\#1743](https://github.com/go-swagger/go-swagger/issues/1743) **Merged pull requests:** - fix typo in docs [\#1756](https://github.com/go-swagger/go-swagger/pull/1756) ([jharshman](https://github.com/jharshman)) - feature: x-omitempty extension for general types [\#1751](https://github.com/go-swagger/go-swagger/pull/1751) ([zhuangqh](https://github.com/zhuangqh)) - verifies swagger:operation can deal with $ref [\#1750](https://github.com/go-swagger/go-swagger/pull/1750) ([casualjim](https://github.com/casualjim)) - Updated contributing guidelines [\#1749](https://github.com/go-swagger/go-swagger/pull/1749) ([fredbi](https://github.com/fredbi)) - Fix go generate command when --name is absent [\#1748](https://github.com/go-swagger/go-swagger/pull/1748) ([fredbi](https://github.com/fredbi)) - Handle relative path when using Go modules [\#1744](https://github.com/go-swagger/go-swagger/pull/1744) ([mikkeloscar](https://github.com/mikkeloscar)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
77338e9
2018-10-22 14:35
下载
v0.17.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.16.0...v0.17.0) **Implemented enhancements:** - Unused variable in restapi/server.go [\#1692](https://github.com/go-swagger/go-swagger/issues/1692) - Generate spec in yml format [\#1686](https://github.com/go-swagger/go-swagger/issues/1686) - Could not get payload or file content from request [\#1666](https://github.com/go-swagger/go-swagger/issues/1666) **Closed issues:** - --socket-path is being ignored [\#1740](https://github.com/go-swagger/go-swagger/issues/1740) - Request context does not flow down handler pipeline \(handler registered i globalmiddleware\) is lost. [\#1733](https://github.com/go-swagger/go-swagger/issues/1733) - Cannot install go-swagger [\#1728](https://github.com/go-swagger/go-swagger/issues/1728) - -m, --scan-models missing when compiled using go 1.11 with module support [\#1718](https://github.com/go-swagger/go-swagger/issues/1718) - Models rendered to file even if imported from external package using x-go-type [\#1710](https://github.com/go-swagger/go-swagger/issues/1710) - Bug in external type import using x-go-type [\#1703](https://github.com/go-swagger/go-swagger/issues/1703) - How to receive the shutdown signal from generated server? [\#1695](https://github.com/go-swagger/go-swagger/issues/1695) - errcheck failed on generated restapi/server.go\#handleInterrupt [\#1689](https://github.com/go-swagger/go-swagger/issues/1689) - Move to go modules ? [\#1677](https://github.com/go-swagger/go-swagger/issues/1677) - Move from x/net/context to just context [\#1676](https://github.com/go-swagger/go-swagger/issues/1676) - tuple unmarshaller fails [\#1673](https://github.com/go-swagger/go-swagger/issues/1673) - Path parameter with request body [\#1523](https://github.com/go-swagger/go-swagger/issues/1523) **Merged pull requests:** - Fix graceful-timeout variable [\#1732](https://github.com/go-swagger/go-swagger/pull/1732) ([gregorhollmig](https://github.com/gregorhollmig)) - Enhance Server to have configurable graceful timeout [\#1730](https://github.com/go-swagger/go-swagger/pull/1730) ([gregorhollmig](https://github.com/gregorhollmig)) - use different bindata binary [\#1723](https://github.com/go-swagger/go-swagger/pull/1723) ([casualjim](https://github.com/casualjim)) - Fix do not generate models with x-go-type extension [\#1717](https://github.com/go-swagger/go-swagger/pull/1717) ([moskal91](https://github.com/moskal91)) - Fix missing error check on s.Shutdown\(\) [\#1715](https://github.com/go-swagger/go-swagger/pull/1715) ([MrLuje](https://github.com/MrLuje)) - Allow to include/exclude routes by their tags [\#1709](https://github.com/go-swagger/go-swagger/pull/1709) ([scf2k](https://github.com/scf2k)) - Support dot in the tag names [\#1706](https://github.com/go-swagger/go-swagger/pull/1706) ([scf2k](https://github.com/scf2k)) - Fix x-go-type imports missing [\#1705](https://github.com/go-swagger/go-swagger/pull/1705) ([moskal91](https://github.com/moskal91)) - Remove unused variable [\#1701](https://github.com/go-swagger/go-swagger/pull/1701) ([jackwilsdon](https://github.com/jackwilsdon)) - Enhance spec [\#1700](https://github.com/go-swagger/go-swagger/pull/1700) ([chenziliang](https://github.com/chenziliang)) - Add include/exclude parameters to spec generator [\#1698](https://github.com/go-swagger/go-swagger/pull/1698) ([scf2k](https://github.com/scf2k)) - Make extension generation optional [\#1697](https://github.com/go-swagger/go-swagger/pull/1697) ([chenziliang](https://github.com/chenziliang)) - fix minor typo "you" to "your" [\#1694](https://github.com/go-swagger/go-swagger/pull/1694) ([stmuk](https://github.com/stmuk)) - Add yaml format spec support [\#1693](https://github.com/go-swagger/go-swagger/pull/1693) ([chenziliang](https://github.com/chenziliang)) - remove telling user they need to install context package [\#1691](https://github.com/go-swagger/go-swagger/pull/1691) ([etsangsplk](https://github.com/etsangsplk)) - Gave up with parallel testing [\#1669](https://github.com/go-swagger/go-swagger/pull/1669) ([fredbi](https://github.com/fredbi)) - Spelling mistake 🍝 [\#1667](https://github.com/go-swagger/go-swagger/pull/1667) ([frg](https://github.com/frg)) - Fix race condition in unit test [\#1664](https://github.com/go-swagger/go-swagger/pull/1664) ([fredbi](https://github.com/fredbi)) - Improve go.mod support in generator [\#1661](https://github.com/go-swagger/go-swagger/pull/1661) ([mikkeloscar](https://github.com/mikkeloscar)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
bd526d6
2018-10-07 11:54
下载
0.16.0
dd867fd
2018-08-12 07:22
下载
0.15.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.14.0...0.15.0) **Implemented enhancements:** - Fail to generate model: unhandled type to resolve JSON pointer [\#1602](https://github.com/go-swagger/go-swagger/issues/1602) - Suggestion: Implement golangci on go-swagger? [\#1576](https://github.com/go-swagger/go-swagger/issues/1576) - Improve spec preprocessing : flatten vs expand [\#1572](https://github.com/go-swagger/go-swagger/issues/1572) - Produces application/pdf ignored [\#1284](https://github.com/go-swagger/go-swagger/issues/1284) - swagger json, title and possibly other constants in a separate package [\#1169](https://github.com/go-swagger/go-swagger/issues/1169) - Debug prints regorganization [\#634](https://github.com/go-swagger/go-swagger/issues/634) **Fixed bugs:** - Tuple unmarshaller fails on nil fields [\#1571](https://github.com/go-swagger/go-swagger/issues/1571) - Deadlock issue in shutdown function under restapi [\#1565](https://github.com/go-swagger/go-swagger/issues/1565) - Models: Invalid pointer redirect [\#1562](https://github.com/go-swagger/go-swagger/issues/1562) - Broken code is generated with --skip-flatten [\#1559](https://github.com/go-swagger/go-swagger/issues/1559) - Rendering and validation of maps in body [\#1556](https://github.com/go-swagger/go-swagger/issues/1556) - Base64 validation wrongly performed after decoding the string field [\#1548](https://github.com/go-swagger/go-swagger/issues/1548) - Model definition not included when response definition has an external $ref containing a schema $ref [\#1429](https://github.com/go-swagger/go-swagger/issues/1429) - Client Generator hangs on swagger with circular dependencies. [\#957](https://github.com/go-swagger/go-swagger/issues/957) - repeated resolve of remote ref fails [\#908](https://github.com/go-swagger/go-swagger/issues/908) - Override struct type in json struct tag? [\#543](https://github.com/go-swagger/go-swagger/issues/543) **Closed issues:** - Stack overflow error in swagger validate [\#1614](https://github.com/go-swagger/go-swagger/issues/1614) - server execution on linux does not appear to call server.ConfigureFlags\(\) in main.go [\#1584](https://github.com/go-swagger/go-swagger/issues/1584) - Question: Accessing parsed command-line arguments in configureAPI method [\#1581](https://github.com/go-swagger/go-swagger/issues/1581) - Error "Cannot find file" on transpile todo example yml to Go server code on windows. [\#1554](https://github.com/go-swagger/go-swagger/issues/1554) - Json Generation Issues [\#1553](https://github.com/go-swagger/go-swagger/issues/1553) - Security & Nullable fields [\#1546](https://github.com/go-swagger/go-swagger/issues/1546) - swagger:parameters won't generate in spec when inside a function [\#1545](https://github.com/go-swagger/go-swagger/issues/1545) - Polymorphism does not support --skip-flatten [\#1516](https://github.com/go-swagger/go-swagger/issues/1516) - Bug in oauth2 example [\#1496](https://github.com/go-swagger/go-swagger/issues/1496) - contributing guidelines lack development instructions [\#1484](https://github.com/go-swagger/go-swagger/issues/1484) - Missing strfmt import [\#1480](https://github.com/go-swagger/go-swagger/issues/1480) - The commit number of command `swagger version` is wrong v0.12.0 [\#1297](https://github.com/go-swagger/go-swagger/issues/1297) - Fail to include import "github.com/go-openapi/validate" in first go generate [\#824](https://github.com/go-swagger/go-swagger/issues/824) - it appears that vendoring breaks client generation assumption [\#785](https://github.com/go-swagger/go-swagger/issues/785) **Merged pull requests:** - Fixes \#1614 [\#1615](https://github.com/go-swagger/go-swagger/pull/1615) ([fredbi](https://github.com/fredbi)) - Feature/x-order [\#1612](https://github.com/go-swagger/go-swagger/pull/1612) ([liber-takano](https://github.com/liber-takano)) - Update vendor 20180710 [\#1608](https://github.com/go-swagger/go-swagger/pull/1608) ([fredbi](https://github.com/fredbi)) - Document contribution guidelines [\#1607](https://github.com/go-swagger/go-swagger/pull/1607) ([fredbi](https://github.com/fredbi)) - Review doc site [\#1604](https://github.com/go-swagger/go-swagger/pull/1604) ([fredbi](https://github.com/fredbi)) - regen examples [\#1600](https://github.com/go-swagger/go-swagger/pull/1600) ([fredbi](https://github.com/fredbi)) - Update vendor - keep up to date with go-openapi repo [\#1599](https://github.com/go-swagger/go-swagger/pull/1599) ([fredbi](https://github.com/fredbi)) - Refactor debug code [\#1598](https://github.com/go-swagger/go-swagger/pull/1598) ([fredbi](https://github.com/fredbi)) - Fix some linting and mispelling issues [\#1597](https://github.com/go-swagger/go-swagger/pull/1597) ([fredbi](https://github.com/fredbi)) - Validation of string with format "byte" [\#1593](https://github.com/go-swagger/go-swagger/pull/1593) ([fredbi](https://github.com/fredbi)) - Tuple serializer [\#1592](https://github.com/go-swagger/go-swagger/pull/1592) ([fredbi](https://github.com/fredbi)) - Add go report card and golangci badges [\#1590](https://github.com/go-swagger/go-swagger/pull/1590) ([fredbi](https://github.com/fredbi)) - Doc for new flatten [\#1589](https://github.com/go-swagger/go-swagger/pull/1589) ([fredbi](https://github.com/fredbi)) - Minimal flatten [\#1588](https://github.com/go-swagger/go-swagger/pull/1588) ([fredbi](https://github.com/fredbi)) - Add license scan report and status [\#1586](https://github.com/go-swagger/go-swagger/pull/1586) ([fossabot](https://github.com/fossabot)) - Update vendor 20180630 [\#1585](https://github.com/go-swagger/go-swagger/pull/1585) ([fredbi](https://github.com/fredbi)) - Create .golangci.yml [\#1578](https://github.com/go-swagger/go-swagger/pull/1578) ([JonKohler](https://github.com/JonKohler)) - Update README.md to add Nutanix to the list [\#1577](https://github.com/go-swagger/go-swagger/pull/1577) ([JonKohler](https://github.com/JonKohler)) - Replace tylerb/graceful with inbuilt methods Go 1.8 onwards - new request [\#1574](https://github.com/go-swagger/go-swagger/pull/1574) ([tortuoise](https://github.com/tortuoise)) - fix: Shutdown method didn't shutdown all the schemes [\#1569](https://github.com/go-swagger/go-swagger/pull/1569) ([dreamlover](https://github.com/dreamlover)) - Anonymous body parameters and responses [\#1568](https://github.com/go-swagger/go-swagger/pull/1568) ([fredbi](https://github.com/fredbi)) - swagger:type Documentation [\#1567](https://github.com/go-swagger/go-swagger/pull/1567) ([nathanwilk7](https://github.com/nathanwilk7)) - Render and validate maps in body parameters [\#1566](https://github.com/go-swagger/go-swagger/pull/1566) ([fredbi](https://github.com/fredbi)) - Fix typo in clone command [\#1564](https://github.com/go-swagger/go-swagger/pull/1564) ([dbmalkovsky](https://github.com/dbmalkovsky)) - Generate consumer/producer handlers that are not whitelisted [\#1557](https://github.com/go-swagger/go-swagger/pull/1557) ([Xzya](https://github.com/Xzya)) - Doc dependencies requirement [\#1555](https://github.com/go-swagger/go-swagger/pull/1555) ([fredbi](https://github.com/fredbi)) - Allow parameter code generation when struct is inside a function. [\#1550](https://github.com/go-swagger/go-swagger/pull/1550) ([josephspurrier](https://github.com/josephspurrier)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
84da4f9
2018-07-12 05:25
下载
0.14.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/0.13.0...0.14.0) **Implemented enhancements:** - Multipart with no file causes InternalServerError [\#1400](https://github.com/go-swagger/go-swagger/issues/1400) - Generated configure file has confusing directions. [\#1384](https://github.com/go-swagger/go-swagger/issues/1384) - Quiet mode and log redirection [\#1370](https://github.com/go-swagger/go-swagger/issues/1370) - Custom templating: custom templates not associated with non-asset dependencies [\#1362](https://github.com/go-swagger/go-swagger/issues/1362) - How to generate a correct struct file name from "\#/definitions/IPAM" [\#1344](https://github.com/go-swagger/go-swagger/issues/1344) - Shutdown method on server do not close the server [\#1316](https://github.com/go-swagger/go-swagger/issues/1316) - Enhancement: multiple instances of error messages for invalid spec [\#1307](https://github.com/go-swagger/go-swagger/issues/1307) - Allow adding/overriding Consumers and Producers [\#1301](https://github.com/go-swagger/go-swagger/issues/1301) - Invalid recursive type [\#1277](https://github.com/go-swagger/go-swagger/issues/1277) - Examples are not validated [\#1231](https://github.com/go-swagger/go-swagger/issues/1231) - Security definition order is not consistent between code generations [\#1214](https://github.com/go-swagger/go-swagger/issues/1214) - Security only supports "OR" logic, not "AND" [\#1089](https://github.com/go-swagger/go-swagger/issues/1089) - swagger validate: the need for better error messages [\#859](https://github.com/go-swagger/go-swagger/issues/859) - max int64 and uint64 handling [\#581](https://github.com/go-swagger/go-swagger/issues/581) - implement validation: unique scopes in security reference [\#14](https://github.com/go-swagger/go-swagger/issues/14) **Fixed bugs:** - No validation is called when the object referring to the array type parameter [\#1537](https://github.com/go-swagger/go-swagger/issues/1537) - Body params that are Arrays of Objects generate un-compilable code due to Validate method [\#1536](https://github.com/go-swagger/go-swagger/issues/1536) - Allof with a polymorphic type can have conflicting field names [\#1532](https://github.com/go-swagger/go-swagger/issues/1532) - Nested tuple is not validated [\#1487](https://github.com/go-swagger/go-swagger/issues/1487) - Generated validation method miss some fields [\#1479](https://github.com/go-swagger/go-swagger/issues/1479) - mixin removes securityDefinitions [\#1471](https://github.com/go-swagger/go-swagger/issues/1471) - Invalid code generation with AdditionalProperties [\#1453](https://github.com/go-swagger/go-swagger/issues/1453) - Simple aliased model type does not validate format [\#1437](https://github.com/go-swagger/go-swagger/issues/1437) - Generator does not support polymorphic and addl props in the same type. [\#1409](https://github.com/go-swagger/go-swagger/issues/1409) - responses with external $ref thrown nil pointer dereference [\#1406](https://github.com/go-swagger/go-swagger/issues/1406) - Required properties are not validated when additionalProperties: true is provided [\#1397](https://github.com/go-swagger/go-swagger/issues/1397) - No validation is called on body of array type parameter. [\#1392](https://github.com/go-swagger/go-swagger/issues/1392) - server generation chokes on flattened definitions [\#1388](https://github.com/go-swagger/go-swagger/issues/1388) - Default values for simple arrays generate code that does not compile [\#1378](https://github.com/go-swagger/go-swagger/issues/1378) - Codegen fixture \[discriminators\] produces code that doesn't compile [\#1376](https://github.com/go-swagger/go-swagger/issues/1376) - Generated server with form-data required=false evaluates file to nil [\#1373](https://github.com/go-swagger/go-swagger/issues/1373) - --dump-data no longer working [\#1356](https://github.com/go-swagger/go-swagger/issues/1356) - `--skip-validator` not work for `swagger generate model` [\#1354](https://github.com/go-swagger/go-swagger/issues/1354) - \[feedback\] format mac does not work in swagger:strfmt [\#1348](https://github.com/go-swagger/go-swagger/issues/1348) - Why not validate not required field even if it has format [\#1347](https://github.com/go-swagger/go-swagger/issues/1347) - JSON marshaling and unmarshaling broken for object containing array of polymorphic types. [\#1336](https://github.com/go-swagger/go-swagger/issues/1336) - Temporary files are not deleted on program termination [\#1331](https://github.com/go-swagger/go-swagger/issues/1331) - Invalid receiver error for a response of type `file` [\#1327](https://github.com/go-swagger/go-swagger/issues/1327) - ressource id type array leads to invalid generated code [\#1314](https://github.com/go-swagger/go-swagger/issues/1314) - Generated client parameter does not set request body for arbitrary object. [\#1309](https://github.com/go-swagger/go-swagger/issues/1309) - nested properties [\#1296](https://github.com/go-swagger/go-swagger/issues/1296) - embedded spec discards information from original spec [\#1281](https://github.com/go-swagger/go-swagger/issues/1281) - BodyParam of type array doesn't properly generate client code [\#1280](https://github.com/go-swagger/go-swagger/issues/1280) - swagger flatten generates invalid spec [\#1270](https://github.com/go-swagger/go-swagger/issues/1270) - Server generation: open 'xxx.json/yyy.json' no such file or directory \[cascading $ref\] [\#1259](https://github.com/go-swagger/go-swagger/issues/1259) - Server generation: object has no key \[cascading $ref\] [\#1258](https://github.com/go-swagger/go-swagger/issues/1258) - Type ref don't contain value check [\#1237](https://github.com/go-swagger/go-swagger/issues/1237) - Examples are not validated [\#1231](https://github.com/go-swagger/go-swagger/issues/1231) - Codegen generates invalid go code for `additionalProperties: true` [\#1198](https://github.com/go-swagger/go-swagger/issues/1198) - Invalid server code generated for file response [\#1195](https://github.com/go-swagger/go-swagger/issues/1195) - Adding length to a string with `uri` format will result i unworkable generated code [\#1191](https://github.com/go-swagger/go-swagger/issues/1191) - Client requires non-required field for validation. [\#1187](https://github.com/go-swagger/go-swagger/issues/1187) - Generated code does not handle 307 redirects properly [\#1170](https://github.com/go-swagger/go-swagger/issues/1170) - Problem with datetime format [\#1084](https://github.com/go-swagger/go-swagger/issues/1084) - Valid struct is not generated [\#1066](https://github.com/go-swagger/go-swagger/issues/1066) - Client generation fails with `object has no key "UserBase"` [\#1065](https://github.com/go-swagger/go-swagger/issues/1065) - Missing declarations and invalid code [\#1062](https://github.com/go-swagger/go-swagger/issues/1062) - dot symbol in the path cause problems [\#1050](https://github.com/go-swagger/go-swagger/issues/1050) - Missing fields in generated marshaler/unmarshaler when the object extends other objects [\#1042](https://github.com/go-swagger/go-swagger/issues/1042) - referenced path item cause an error [\#1034](https://github.com/go-swagger/go-swagger/issues/1034) - Response examples break definition references [\#1013](https://github.com/go-swagger/go-swagger/issues/1013) - incorrect API response if using allof ref [\#979](https://github.com/go-swagger/go-swagger/issues/979) - swagger GSMA [\#951](https://github.com/go-swagger/go-swagger/issues/951) - Generated server marks all parameters in response as required [\#910](https://github.com/go-swagger/go-swagger/issues/910) - UUIDs do not appear to be validated [\#909](https://github.com/go-swagger/go-swagger/issues/909) - Resolver does not expand relative path references [\#890](https://github.com/go-swagger/go-swagger/issues/890) - Generator don't generates validation for embended models [\#866](https://github.com/go-swagger/go-swagger/issues/866) - Non-compiling generated code when parameter is array type with enum validation and underscore in name [\#863](https://github.com/go-swagger/go-swagger/issues/863) - handler in todo-list tutorial doesn't match the example code [\#858](https://github.com/go-swagger/go-swagger/issues/858) - Multiple validation errors results in only one validation being shown in response [\#667](https://github.com/go-swagger/go-swagger/issues/667) - Broken model code generated for polymorphic swagger types that have lists of non-concrete types. [\#607](https://github.com/go-swagger/go-swagger/issues/607) - Missing Validate method on polymorphic/discriminator types [\#606](https://github.com/go-swagger/go-swagger/issues/606) - Code generation error for binary stream producer, consumer [\#533](https://github.com/go-swagger/go-swagger/issues/533) **Closed issues:** - `swagger validate` fails to complete when referencing another file [\#1535](https://github.com/go-swagger/go-swagger/issues/1535) - Go vendors dependencies: Cannot use a generated client in a server [\#1534](https://github.com/go-swagger/go-swagger/issues/1534) - Embedded spec is not flattened and won't work if there are external references. [\#1528](https://github.com/go-swagger/go-swagger/issues/1528) - How to print the error message in response sample using "swagger:response" tag [\#1526](https://github.com/go-swagger/go-swagger/issues/1526) - Response schema of type array being aliased [\#1524](https://github.com/go-swagger/go-swagger/issues/1524) - Validating a Standard spec [\#1522](https://github.com/go-swagger/go-swagger/issues/1522) - Client parameters don't set body when model is an enum [\#1513](https://github.com/go-swagger/go-swagger/issues/1513) - Spec generation doesn't honour the ",string" JSON struct tag [\#1510](https://github.com/go-swagger/go-swagger/issues/1510) - How to add static sections? [\#1509](https://github.com/go-swagger/go-swagger/issues/1509) - Type mismatch in flatten source [\#1504](https://github.com/go-swagger/go-swagger/issues/1504) - Not possible to hide individual struct fields [\#1497](https://github.com/go-swagger/go-swagger/issues/1497) - strfmt.Datetime how to omit when empty, nil or time.Time{} [\#1491](https://github.com/go-swagger/go-swagger/issues/1491) - Breaking change in Authenticator runtime [\#1488](https://github.com/go-swagger/go-swagger/issues/1488) - Request model is not loading in swagger [\#1476](https://github.com/go-swagger/go-swagger/issues/1476) - Unable to generate Swagger spec [\#1475](https://github.com/go-swagger/go-swagger/issues/1475) - Passing empty slice as parameter results in panic [\#1462](https://github.com/go-swagger/go-swagger/issues/1462) - malloc deadlock [\#1454](https://github.com/go-swagger/go-swagger/issues/1454) - Support for optional auth? [\#1446](https://github.com/go-swagger/go-swagger/issues/1446) - Optional SSN field performs no validation [\#1434](https://github.com/go-swagger/go-swagger/issues/1434) - Possible to have models in Subdirectory? [\#1428](https://github.com/go-swagger/go-swagger/issues/1428) - Do we have to specifically allow HEAD requests? [\#1426](https://github.com/go-swagger/go-swagger/issues/1426) - How to pass TLS structure from net.HttpRequest into my handler? [\#1423](https://github.com/go-swagger/go-swagger/issues/1423) - Undefined variable "filterI" presents after code generation when using nested "collectionFormat": "csv" [\#1414](https://github.com/go-swagger/go-swagger/issues/1414) - New feature to allow Parameters section [\#1404](https://github.com/go-swagger/go-swagger/issues/1404) - flatten command remove the empty security properties [\#1396](https://github.com/go-swagger/go-swagger/issues/1396) - Getting duplicate Definitions under 0.13 [\#1385](https://github.com/go-swagger/go-swagger/issues/1385) - Add Title generation for info part of spec. [\#1382](https://github.com/go-swagger/go-swagger/issues/1382) - package and file name contain underscore \(after a change in go-swagger\) [\#1380](https://github.com/go-swagger/go-swagger/issues/1380) - match for the market the limit of the new system with esi [\#1374](https://github.com/go-swagger/go-swagger/issues/1374) - Standard library packages not found [\#1359](https://github.com/go-swagger/go-swagger/issues/1359) - Why is vendor folder still version controlled? [\#1352](https://github.com/go-swagger/go-swagger/issues/1352) - Newbie needs help with wiring server-side handlers [\#1351](https://github.com/go-swagger/go-swagger/issues/1351) - The generate server command sorts the Operations but not the Models. [\#1349](https://github.com/go-swagger/go-swagger/issues/1349) - Compilation failure from pestore example [\#1346](https://github.com/go-swagger/go-swagger/issues/1346) - Improper UnmarshalJSON of polymorphic object contained in another object [\#1341](https://github.com/go-swagger/go-swagger/issues/1341) - Generated client ignores application/x-www-form-urlencoded and uses multipart. [\#1332](https://github.com/go-swagger/go-swagger/issues/1332) - can't compile generated server code for "file" in requests [\#1330](https://github.com/go-swagger/go-swagger/issues/1330) - Improper import for a models directory placed in a subdirectory [\#1326](https://github.com/go-swagger/go-swagger/issues/1326) - Make generated client take an `io.Reader` for parameters of type `file` [\#1325](https://github.com/go-swagger/go-swagger/issues/1325) - Additional struct inserted when using allOf and an inline definition compared to 0.9.0 [\#1323](https://github.com/go-swagger/go-swagger/issues/1323) - External References Aren't Expanded for Models [\#1322](https://github.com/go-swagger/go-swagger/issues/1322) - How to define multiple content-type for one API [\#1319](https://github.com/go-swagger/go-swagger/issues/1319) - Using go-swagger to generate other artifacts using custom templates not working from 0.12.0 [\#1312](https://github.com/go-swagger/go-swagger/issues/1312) - unit test output is too verbose [\#1299](https://github.com/go-swagger/go-swagger/issues/1299) - Master broken g8f4ad4c [\#1293](https://github.com/go-swagger/go-swagger/issues/1293) - Issue with folded paths [\#1292](https://github.com/go-swagger/go-swagger/issues/1292) - server generate : can't run custom template in operationGroups [\#1290](https://github.com/go-swagger/go-swagger/issues/1290) - .security in body must be of type array: "null" [\#1286](https://github.com/go-swagger/go-swagger/issues/1286) - Stream server problem [\#1278](https://github.com/go-swagger/go-swagger/issues/1278) - custom templating: need the target path as base import [\#1274](https://github.com/go-swagger/go-swagger/issues/1274) - improve error handling in generator [\#1272](https://github.com/go-swagger/go-swagger/issues/1272) - Feature Request: Renaming interface method from handle to actual method name [\#1271](https://github.com/go-swagger/go-swagger/issues/1271) - generate client errors out because of a nullable field in a definition [\#1265](https://github.com/go-swagger/go-swagger/issues/1265) - Command line option to specify copyright does not work in long mode [\#1263](https://github.com/go-swagger/go-swagger/issues/1263) - Code generation fails when swagger description property includes text "\*/" [\#1254](https://github.com/go-swagger/go-swagger/issues/1254) - Changing SwaggerUI [\#1250](https://github.com/go-swagger/go-swagger/issues/1250) - Codegen gives SIGSEGV [\#1238](https://github.com/go-swagger/go-swagger/issues/1238) - Go-swagger v0.12.0 - invalid memory address or nil pointer dereference [\#1171](https://github.com/go-swagger/go-swagger/issues/1171) - Generating spec pulls in unused enumeration types from Protobuf-generated files [\#1149](https://github.com/go-swagger/go-swagger/issues/1149) - How the Response Sample was Executeing? [\#1144](https://github.com/go-swagger/go-swagger/issues/1144) - migrate to use net.Context [\#96](https://github.com/go-swagger/go-swagger/issues/96) **Merged pull requests:** - Update vendor - 2018-05-24 [\#1547](https://github.com/go-swagger/go-swagger/pull/1547) ([fredbi](https://github.com/fredbi)) - Allow white space sensitive markdown in comments. [\#1541](https://github.com/go-swagger/go-swagger/pull/1541) ([dougnd](https://github.com/dougnd)) - Polymorphic unmarshaller [\#1540](https://github.com/go-swagger/go-swagger/pull/1540) ([fredbi](https://github.com/fredbi)) - Body validations [\#1539](https://github.com/go-swagger/go-swagger/pull/1539) ([fredbi](https://github.com/fredbi)) - Ordering security definitions and requirements [\#1533](https://github.com/go-swagger/go-swagger/pull/1533) ([fredbi](https://github.com/fredbi)) - Update custom-server.md [\#1531](https://github.com/go-swagger/go-swagger/pull/1531) ([arunvm123](https://github.com/arunvm123)) - revamp README [\#1529](https://github.com/go-swagger/go-swagger/pull/1529) ([fredbi](https://github.com/fredbi)) - Allow struct fields to be annotated with swagger:ignore [\#1527](https://github.com/go-swagger/go-swagger/pull/1527) ([neilgarb](https://github.com/neilgarb)) - Fix complex anonymous additional properties [\#1521](https://github.com/go-swagger/go-swagger/pull/1521) ([fredbi](https://github.com/fredbi)) - Fix build deps [\#1515](https://github.com/go-swagger/go-swagger/pull/1515) ([casualjim](https://github.com/casualjim)) - fix writing enum parameters \(\#1513\) [\#1514](https://github.com/go-swagger/go-swagger/pull/1514) ([stevecookform3](https://github.com/stevecookform3)) - Honour JSON ",string" directive when generating spec [\#1511](https://github.com/go-swagger/go-swagger/pull/1511) ([neilgarb](https://github.com/neilgarb)) - Generated client parameter does not set request body for map types [\#1508](https://github.com/go-swagger/go-swagger/pull/1508) ([koron](https://github.com/koron)) - Lifts validations [\#1507](https://github.com/go-swagger/go-swagger/pull/1507) ([fredbi](https://github.com/fredbi)) - missing letter in message \(possiby =\> possibly\) [\#1500](https://github.com/go-swagger/go-swagger/pull/1500) ([tmatias](https://github.com/tmatias)) - support --skip-flatten for model generation [\#1498](https://github.com/go-swagger/go-swagger/pull/1498) ([zhuangqh](https://github.com/zhuangqh)) - Fix typos in docs/use/middleware.html [\#1492](https://github.com/go-swagger/go-swagger/pull/1492) ([davidmi](https://github.com/davidmi)) - Extend gen operation group [\#1482](https://github.com/go-swagger/go-swagger/pull/1482) ([fredbi](https://github.com/fredbi)) - Composed auth example [\#1481](https://github.com/go-swagger/go-swagger/pull/1481) ([fredbi](https://github.com/fredbi)) - Allow AND and Optional auth expressions [\#1478](https://github.com/go-swagger/go-swagger/pull/1478) ([casualjim](https://github.com/casualjim)) - server: generic interface body is never filled [\#1474](https://github.com/go-swagger/go-swagger/pull/1474) ([koron](https://github.com/koron)) - Fix panic on empty slice PathParam [\#1463](https://github.com/go-swagger/go-swagger/pull/1463) ([marclop](https://github.com/marclop)) - FAQ update [\#1460](https://github.com/go-swagger/go-swagger/pull/1460) ([fredbi](https://github.com/fredbi)) - \* Fix model build issue with AdditionalItems \(serialization, validation\) [\#1455](https://github.com/go-swagger/go-swagger/pull/1455) ([fredbi](https://github.com/fredbi)) - Acknowledge bug fixes and add CI fixtures. [\#1452](https://github.com/go-swagger/go-swagger/pull/1452) ([fredbi](https://github.com/fredbi)) - Vendor update as of 2018-03-09 [\#1451](https://github.com/go-swagger/go-swagger/pull/1451) ([fredbi](https://github.com/fredbi)) - Failure to parse multiform data results in HTTP 400 status [\#1449](https://github.com/go-swagger/go-swagger/pull/1449) ([fredbi](https://github.com/fredbi)) - Fixes \#910 [\#1448](https://github.com/go-swagger/go-swagger/pull/1448) ([fredbi](https://github.com/fredbi)) - Acknowledge corrected issues with test cases [\#1447](https://github.com/go-swagger/go-swagger/pull/1447) ([fredbi](https://github.com/fredbi)) - Small refactoring of schemavalidator.gotmpl [\#1445](https://github.com/go-swagger/go-swagger/pull/1445) ([fredbi](https://github.com/fredbi)) - Enable validation for inline body parameters [\#1444](https://github.com/go-swagger/go-swagger/pull/1444) ([fredbi](https://github.com/fredbi)) - Fixing \#1437 uncovered another issue on type aliasing. [\#1443](https://github.com/go-swagger/go-swagger/pull/1443) ([fredbi](https://github.com/fredbi)) - Add --skip-validation option to generate model command [\#1442](https://github.com/go-swagger/go-swagger/pull/1442) ([fredbi](https://github.com/fredbi)) - Added codegen fixtures to acknowledge fixed issues. [\#1441](https://github.com/go-swagger/go-swagger/pull/1441) ([fredbi](https://github.com/fredbi)) - Small refactoring on custom extensions usage [\#1440](https://github.com/go-swagger/go-swagger/pull/1440) ([fredbi](https://github.com/fredbi)) - Fixes \#1437 \[format validation in simple schemas\] [\#1438](https://github.com/go-swagger/go-swagger/pull/1438) ([fredbi](https://github.com/fredbi)) - Document how to avoid "target must reside inside a location in the $GOPATH/src" using docker [\#1435](https://github.com/go-swagger/go-swagger/pull/1435) ([tschaub](https://github.com/tschaub)) - Vendor update [\#1424](https://github.com/go-swagger/go-swagger/pull/1424) ([fredbi](https://github.com/fredbi)) - Sort AllOf schemas for generation [\#1422](https://github.com/go-swagger/go-swagger/pull/1422) ([fredbi](https://github.com/fredbi)) - Added test case from issue\#1414 as fixture [\#1421](https://github.com/go-swagger/go-swagger/pull/1421) ([fredbi](https://github.com/fredbi)) - Fixes issue \#1084 [\#1420](https://github.com/go-swagger/go-swagger/pull/1420) ([fredbi](https://github.com/fredbi)) - Add test for \#1198 which was fixed with \#1397 [\#1411](https://github.com/go-swagger/go-swagger/pull/1411) ([gregmarr](https://github.com/gregmarr)) - Support both discriminated and addl props in one type \#1409 [\#1410](https://github.com/go-swagger/go-swagger/pull/1410) ([gregmarr](https://github.com/gregmarr)) - docs: replace `httpkit` with `runtime` [\#1407](https://github.com/go-swagger/go-swagger/pull/1407) ([darkowlzz](https://github.com/darkowlzz)) - Added Parameters section to swagger:route [\#1405](https://github.com/go-swagger/go-swagger/pull/1405) ([jucardi](https://github.com/jucardi)) - Properties not validated w/additionalProperties \#1397 [\#1403](https://github.com/go-swagger/go-swagger/pull/1403) ([gregmarr](https://github.com/gregmarr)) - fixes writing client stream body [\#1399](https://github.com/go-swagger/go-swagger/pull/1399) ([casualjim](https://github.com/casualjim)) - Fix issues on simple params [\#1394](https://github.com/go-swagger/go-swagger/pull/1394) ([fredbi](https://github.com/fredbi)) - Support checking presence of path, header, and body parameters [\#1390](https://github.com/go-swagger/go-swagger/pull/1390) ([ZachEddy](https://github.com/ZachEddy)) - Make generate server sort the models \#1349 [\#1387](https://github.com/go-swagger/go-swagger/pull/1387) ([gregmarr](https://github.com/gregmarr)) - Add quiet mode and output redirection [\#1371](https://github.com/go-swagger/go-swagger/pull/1371) ([fredbi](https://github.com/fredbi)) - 1348 Add generation of validate on MAC format [\#1369](https://github.com/go-swagger/go-swagger/pull/1369) ([fredbi](https://github.com/fredbi)) - Add format validation on non required schema properties [\#1367](https://github.com/go-swagger/go-swagger/pull/1367) ([fredbi](https://github.com/fredbi)) - Fixed dump-data as json [\#1366](https://github.com/go-swagger/go-swagger/pull/1366) ([fredbi](https://github.com/fredbi)) - Added dependency resolution with repository on custom templates \(not … [\#1365](https://github.com/go-swagger/go-swagger/pull/1365) ([fredbi](https://github.com/fredbi)) - Adding fix for issue \#1341 [\#1364](https://github.com/go-swagger/go-swagger/pull/1364) ([nickrmc83](https://github.com/nickrmc83)) - Edit the todo tutorial for grammar and clarity [\#1363](https://github.com/go-swagger/go-swagger/pull/1363) ([autarch](https://github.com/autarch)) - Added a flag to add more intialisms [\#1353](https://github.com/go-swagger/go-swagger/pull/1353) ([diego-fu-hs](https://github.com/diego-fu-hs)) - case sensitive import path on Windows [\#1345](https://github.com/go-swagger/go-swagger/pull/1345) ([koron](https://github.com/koron)) - Fix doc links [\#1343](https://github.com/go-swagger/go-swagger/pull/1343) ([fredbi](https://github.com/fredbi)) - Integration PR from validate: go-openapi/validate\#42 \(issue go-openapi/validate\#44\) [\#1340](https://github.com/go-swagger/go-swagger/pull/1340) ([casualjim](https://github.com/casualjim)) - 1331 - Delete temporary files [\#1333](https://github.com/go-swagger/go-swagger/pull/1333) ([sebastien-rosset](https://github.com/sebastien-rosset)) - support file as response schema [\#1329](https://github.com/go-swagger/go-swagger/pull/1329) ([casualjim](https://github.com/casualjim)) - update vendor [\#1324](https://github.com/go-swagger/go-swagger/pull/1324) ([kreamyx](https://github.com/kreamyx)) - Add shutdown handling of graceful server on calls to Server.Shutdown [\#1320](https://github.com/go-swagger/go-swagger/pull/1320) ([Crevil](https://github.com/Crevil)) - Removed check of array type of body when writing to request [\#1318](https://github.com/go-swagger/go-swagger/pull/1318) ([geret13](https://github.com/geret13)) - fix a typo in template [\#1317](https://github.com/go-swagger/go-swagger/pull/1317) ([koron](https://github.com/koron)) - move language specific baseImport check to LanguageOpts \#1312 [\#1315](https://github.com/go-swagger/go-swagger/pull/1315) ([elakito](https://github.com/elakito)) - client request parameter will set body param for array of interface{} [\#1313](https://github.com/go-swagger/go-swagger/pull/1313) ([e-zhang](https://github.com/e-zhang)) - check for interface body param in client parameter WriteToRequest [\#1310](https://github.com/go-swagger/go-swagger/pull/1310) ([e-zhang](https://github.com/e-zhang)) - 342 fix add fixture [\#1306](https://github.com/go-swagger/go-swagger/pull/1306) ([fredbi](https://github.com/fredbi)) - 1171. Add fixture [\#1305](https://github.com/go-swagger/go-swagger/pull/1305) ([fredbi](https://github.com/fredbi)) - 1238-fix: add fixture in UT [\#1304](https://github.com/go-swagger/go-swagger/pull/1304) ([fredbi](https://github.com/fredbi)) - Enriched UT on template\_repo.go [\#1303](https://github.com/go-swagger/go-swagger/pull/1303) ([fredbi](https://github.com/fredbi)) - Allow adding or overriding consumers and producers [\#1302](https://github.com/go-swagger/go-swagger/pull/1302) ([dmjones500](https://github.com/dmjones500)) - 1299-fix-unit-test-verbosity [\#1300](https://github.com/go-swagger/go-swagger/pull/1300) ([fredbi](https://github.com/fredbi)) - 1290-fix server generation now supports operationGroups templates jus… [\#1298](https://github.com/go-swagger/go-swagger/pull/1298) ([fredbi](https://github.com/fredbi)) - Bump go-openapi/spec [\#1287](https://github.com/go-swagger/go-swagger/pull/1287) ([databus23](https://github.com/databus23)) - Ref resolution changes in the swagger binary side [\#1285](https://github.com/go-swagger/go-swagger/pull/1285) ([kreamyx](https://github.com/kreamyx)) - bump go-openapi/spec [\#1282](https://github.com/go-swagger/go-swagger/pull/1282) ([databus23](https://github.com/databus23)) - Fix \#1274 - add a new template variable in GenCommon. [\#1275](https://github.com/go-swagger/go-swagger/pull/1275) ([fredbi](https://github.com/fredbi)) - fix \#1272 - Improve error handling in generator [\#1273](https://github.com/go-swagger/go-swagger/pull/1273) ([fredbi](https://github.com/fredbi)) \* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
25e637c
2018-05-26 12:29
下载
0.13.0
b015bda
2017-11-13 07:41
下载
下载
请输入验证码,防止盗链导致资源被占用
取消
下载
1
https://gitee.com/brucelin-cn/go-swagger.git
git@gitee.com:brucelin-cn/go-swagger.git
brucelin-cn
go-swagger
go-swagger
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册