登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
轻量养虾,开箱即用!低 Token + 稳定算力,Gitee & 模力方舟联合出品的 PocketClaw 正式开售!点击了解详情
代码拉取完成,页面将自动刷新
开源项目
>
WEB应用开发
>
API 网关/接口管理
&&
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
3
Star
2
Fork
0
Gitee 极速下载
/
go-swagger
代码
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
开发画像分析
我知道了,不再自动展开
标签
标签名
描述
提交信息
操作
v0.33.2
Upgraded to go 1.25
624cccc
2026-03-16 05:29
下载
v0.33.1
2af7725
2025-10-08 02:05
下载
v0.33.0
d3bd0a0
2025-10-08 00:27
下载
v0.32.3
ac5bae8
2025-06-09 18:29
下载
v0.32.2
a277c87
2025-06-09 18:05
下载
v0.32.1
aece8f0
2025-06-09 16:03
下载
v0.32.0
9f15686
2025-04-25 22:47
下载
v0.31.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.30.5...v0.31.0) **Implemented enhancements:** - doc: refurbish doc site [\#3086](https://github.com/go-swagger/go-swagger/issues/3086) - Diff should detect extension value changes [\#2984](https://github.com/go-swagger/go-swagger/issues/2984) - Diff does not report on request param extensions [\#2983](https://github.com/go-swagger/go-swagger/issues/2983) - add support for ULID to swagger:strfmt [\#2467](https://github.com/go-swagger/go-swagger/issues/2467) - Flatten changes case on definitions [\#2334](https://github.com/go-swagger/go-swagger/issues/2334) - External $refs and polymorphism: models for subtypes not generated [\#1885](https://github.com/go-swagger/go-swagger/issues/1885) - Add validation for a 'readOnly' property [\#936](https://github.com/go-swagger/go-swagger/issues/936) - API Gateway vendor extensions? [\#659](https://github.com/go-swagger/go-swagger/issues/659) - edit but don't overwrite configure\_xxx.go [\#397](https://github.com/go-swagger/go-swagger/issues/397) **Fixed bugs:** - Adding or removing a schema from response is not being recorded in the diff [\#3074](https://github.com/go-swagger/go-swagger/issues/3074) - generating a command line : undefined: cli [\#2969](https://github.com/go-swagger/go-swagger/issues/2969) - Adding an optional field to request body shouldn't be a breaking change [\#2962](https://github.com/go-swagger/go-swagger/issues/2962) - Go-swagger diff runtime error when comparing schema with different response codes [\#2952](https://github.com/go-swagger/go-swagger/issues/2952) - v0.30.4 panics during flatten [\#2919](https://github.com/go-swagger/go-swagger/issues/2919) - Swagger Generate Server Generates `go` Code With Cycles [\#2866](https://github.com/go-swagger/go-swagger/issues/2866) - JSON Schema in swagger API response [\#2821](https://github.com/go-swagger/go-swagger/issues/2821) - "swagger diff" does not work with spec that has a recursive definition [\#2774](https://github.com/go-swagger/go-swagger/issues/2774) - request Content-Type isn't multipart/form-data [\#2773](https://github.com/go-swagger/go-swagger/issues/2773) - fields named like "+1" cause swagger to fail gnerating a cli [\#2764](https://github.com/go-swagger/go-swagger/issues/2764) - Flatten stopped processing nested directories in v0.26.0 [\#2743](https://github.com/go-swagger/go-swagger/issues/2743) - Wrong import path generated for an operation called "client" [\#2730](https://github.com/go-swagger/go-swagger/issues/2730) - New lines in description create incorrect markdown [\#2700](https://github.com/go-swagger/go-swagger/issues/2700) - `remove-unused` does not remove all unused definitions [\#2657](https://github.com/go-swagger/go-swagger/issues/2657) - "swagger generate cli" generates code that does not compile [\#2650](https://github.com/go-swagger/go-swagger/issues/2650) - Generated code fails to call the Validate function on embedded structs resulting in incorrect validation [\#2604](https://github.com/go-swagger/go-swagger/issues/2604) - Validation code for `maxProperties` is generated incorrectly [\#2587](https://github.com/go-swagger/go-swagger/issues/2587) - Invalid code generated for parameters of array types with empty array as default value [\#2533](https://github.com/go-swagger/go-swagger/issues/2533) - panic: assignment to entry in nil map [\#2527](https://github.com/go-swagger/go-swagger/issues/2527) - Incompatible API with Helm Transitive Dependency [\#2525](https://github.com/go-swagger/go-swagger/issues/2525) - Generate models failed after separate swagger files, maybe caused by a self-ref property of a definition in the separated swagger file [\#2346](https://github.com/go-swagger/go-swagger/issues/2346) - "Invalid ref" error when generating server with cross-file reference when "--keep-spec-order" specified [\#2216](https://github.com/go-swagger/go-swagger/issues/2216) - swagger generate client command fails with invalid token reference [\#1898](https://github.com/go-swagger/go-swagger/issues/1898) - escaped parameters fail to generate the correct url path when a base path is present. [\#1083](https://github.com/go-swagger/go-swagger/issues/1083) **Closed issues:** - How to disable try it out option for the swagger-ui go-openapi/runtime/middleware [\#3102](https://github.com/go-swagger/go-swagger/issues/3102) - Broken swagger:response Generation with Go 1.22.0 + 1.21.5 darwin/arm64 [\#3071](https://github.com/go-swagger/go-swagger/issues/3071) - Install swagger server failed! [\#3067](https://github.com/go-swagger/go-swagger/issues/3067) - Enum fields are not properly scanned \(and documented\) [\#3002](https://github.com/go-swagger/go-swagger/issues/3002) - feat: provide SwaggerUI middleware to serve spec file [\#2988](https://github.com/go-swagger/go-swagger/issues/2988) - Swagger generates broken code in $GOPATH [\#2982](https://github.com/go-swagger/go-swagger/issues/2982) - wrong generated swagger.yml file when using flatten [\#2978](https://github.com/go-swagger/go-swagger/issues/2978) - API client generation without requiring go-openapi modules [\#2976](https://github.com/go-swagger/go-swagger/issues/2976) - API Client Generation - Strange naming of folder inside of client folder [\#2974](https://github.com/go-swagger/go-swagger/issues/2974) - CVE-2022-4742 | CVSS Score: 9.8 | Category: CWE-1321 | A vulnerability, which was classified as critical, has been found in json-pointer. Affected by this issue is the function set of the file index.js. The manipulation leads to improperly controlled modification of object prototype attributes \('prototype pollution'\). The attack may be launched remotely. The name of the patch is 859c9984b6c407fc2d5a0a7e47c7274daa681941. It is recommended to apply a patch to fix this issue. VDB-216794 is the identifier assigned to this vulnerability. [\#2971](https://github.com/go-swagger/go-swagger/issues/2971) - Generated server.go has default write timeout value of 60s [\#2967](https://github.com/go-swagger/go-swagger/issues/2967) - pprof is a tool for visualization and analysis of profiling data [\#2966](https://github.com/go-swagger/go-swagger/issues/2966) - diff result has no URL, when there is an object type array field in the schema [\#2964](https://github.com/go-swagger/go-swagger/issues/2964) - bug: incorrect logic and missing imports [\#2939](https://github.com/go-swagger/go-swagger/issues/2939) - swagger generate markdown doesn't respect both '--output' and '--target' [\#2938](https://github.com/go-swagger/go-swagger/issues/2938) - Add diff support for extensions [\#2935](https://github.com/go-swagger/go-swagger/issues/2935) - is support for generic structures? [\#2920](https://github.com/go-swagger/go-swagger/issues/2920) - When the response refers to a structure with the same name under a different package, only the structure of the latest structure will be generated [\#2918](https://github.com/go-swagger/go-swagger/issues/2918) - \[Bug\] The parameters section can't be generate under go1.20 [\#2913](https://github.com/go-swagger/go-swagger/issues/2913) - ContextValidate panics if the field is `nil` for discriminator types [\#2911](https://github.com/go-swagger/go-swagger/issues/2911) - \[Bug?\] Swagger Flatten, Not Recognizing Nested Operations [\#2908](https://github.com/go-swagger/go-swagger/issues/2908) - Object has no field "components", but it has \(flattening error\) [\#2903](https://github.com/go-swagger/go-swagger/issues/2903) - Swagger docs validate failed when enums\_as\_ints=true [\#2890](https://github.com/go-swagger/go-swagger/issues/2890) - Generation error against something that used to work ok \(2 years ago :-\) \) [\#2887](https://github.com/go-swagger/go-swagger/issues/2887) - Docs not updated for 0.30.4 [\#2883](https://github.com/go-swagger/go-swagger/issues/2883) - UUID regex more liberal than spec [\#2878](https://github.com/go-swagger/go-swagger/issues/2878) - swagger flatten randomizes order in yaml output [\#2850](https://github.com/go-swagger/go-swagger/issues/2850) - Custom server tutorials raise an error while swagger generates files [\#2833](https://github.com/go-swagger/go-swagger/issues/2833) - Upload of large files permanently leaves files in TEMPDIR [\#2789](https://github.com/go-swagger/go-swagger/issues/2789) - How to modify CSS / Color using Swagger V2? [\#2788](https://github.com/go-swagger/go-swagger/issues/2788) - the context passed to ContextValidate is not the request context [\#2748](https://github.com/go-swagger/go-swagger/issues/2748) - minimum misspelled [\#2740](https://github.com/go-swagger/go-swagger/issues/2740) - Documentation missing for parameters section in swagger:route [\#2719](https://github.com/go-swagger/go-swagger/issues/2719) - Substags not provided [\#2686](https://github.com/go-swagger/go-swagger/issues/2686) - Installation instructions are not up-to-date [\#2664](https://github.com/go-swagger/go-swagger/issues/2664) - Problem with generate server [\#2634](https://github.com/go-swagger/go-swagger/issues/2634) - Using minItems not generating correct validation code [\#2597](https://github.com/go-swagger/go-swagger/issues/2597) - Generated client code prints a pointer in Error\(\) func [\#2590](https://github.com/go-swagger/go-swagger/issues/2590) - Support for a "description" struct tag [\#2541](https://github.com/go-swagger/go-swagger/issues/2541) - Get an error "invalid character '-' in numeric literal\n\nrequest body: " when using formData. [\#2491](https://github.com/go-swagger/go-swagger/issues/2491) - Single Model has rogue type with no explanation [\#2254](https://github.com/go-swagger/go-swagger/issues/2254) - Update README with a new section about OpenAPI 3.0 to avoid more questions [\#2192](https://github.com/go-swagger/go-swagger/issues/2192) - \[Go\] Client Generated Code: Type is incorrect [\#1850](https://github.com/go-swagger/go-swagger/issues/1850) **Merged pull requests:** - ci: added retries on codecov coverage report upload [\#3108](https://github.com/go-swagger/go-swagger/pull/3108) ([fredbi](https://github.com/fredbi)) - chore: Add missing favicon [\#3106](https://github.com/go-swagger/go-swagger/pull/3106) ([truescotian](https://github.com/truescotian)) - chore: use errors.New to replace fmt.Errorf with no parameters [\#3105](https://github.com/go-swagger/go-swagger/pull/3105) ([ChengenH](https://github.com/ChengenH)) - chore\(deps\): bump golang.org/x/net from 0.22.0 to 0.23.0 [\#3103](https://github.com/go-swagger/go-swagger/pull/3103) ([dependabot[bot]](https://github.com/apps/dependabot)) - chore: fix some comments [\#3101](https://github.com/go-swagger/go-swagger/pull/3101) ([careworry](https://github.com/careworry)) - Adding support for s390x [\#3099](https://github.com/go-swagger/go-swagger/pull/3099) ([dilipgb](https://github.com/dilipgb)) - ci: try again to fix scorecard stuff [\#3097](https://github.com/go-swagger/go-swagger/pull/3097) ([fredbi](https://github.com/fredbi)) - ci: fixed scorecard analysis issue \(upgraded\) [\#3096](https://github.com/go-swagger/go-swagger/pull/3096) ([fredbi](https://github.com/fredbi)) - doc\(readme\): tidy up a shorter README [\#3095](https://github.com/go-swagger/go-swagger/pull/3095) ([fredbi](https://github.com/fredbi)) - doc: removed doc deployment on PRs [\#3092](https://github.com/go-swagger/go-swagger/pull/3092) ([fredbi](https://github.com/fredbi)) - Feat/docgen with hugo \(\#1\) [\#3088](https://github.com/go-swagger/go-swagger/pull/3088) ([fredbi](https://github.com/fredbi)) - doc\(serve\): fixed a few inacurracies in swagger serve documentation [\#3083](https://github.com/go-swagger/go-swagger/pull/3083) ([fredbi](https://github.com/fredbi)) - fix\(deps\): fixed undue go.mod replace [\#3082](https://github.com/go-swagger/go-swagger/pull/3082) ([fredbi](https://github.com/fredbi)) - chore\(go\): go-swagger and go-openapi require go.1.20 across the board [\#3081](https://github.com/go-swagger/go-swagger/pull/3081) ([fredbi](https://github.com/fredbi)) - doc: sync'ed doc source with website [\#3079](https://github.com/go-swagger/go-swagger/pull/3079) ([fredbi](https://github.com/fredbi)) - ci: reenacted codecov secret token [\#3078](https://github.com/go-swagger/go-swagger/pull/3078) ([fredbi](https://github.com/fredbi)) - ci: fixed test coverage computation [\#3077](https://github.com/go-swagger/go-swagger/pull/3077) ([fredbi](https://github.com/fredbi)) - chore\(lint\): relinted test [\#3076](https://github.com/go-swagger/go-swagger/pull/3076) ([fredbi](https://github.com/fredbi)) - record adding and removing schema from response in swagger diff \#3074 [\#3075](https://github.com/go-swagger/go-swagger/pull/3075) ([zmay2030](https://github.com/zmay2030)) - fix: fix memory pools & race issues in go-openapi/validate [\#3073](https://github.com/go-swagger/go-swagger/pull/3073) ([fredbi](https://github.com/fredbi)) - golangci-lint: enable testifylint linter [\#3068](https://github.com/go-swagger/go-swagger/pull/3068) ([mmorel-35](https://github.com/mmorel-35)) - ci: fixed up codecov project threshold config [\#3066](https://github.com/go-swagger/go-swagger/pull/3066) ([fredbi](https://github.com/fredbi)) - ci: added tolerance threshold on codecov reports [\#3065](https://github.com/go-swagger/go-swagger/pull/3065) ([fredbi](https://github.com/fredbi)) - perf\(validate\): upgrade go-openapi validate [\#3064](https://github.com/go-swagger/go-swagger/pull/3064) ([fredbi](https://github.com/fredbi)) - perf\(codegen\): reduced allocated memory [\#3063](https://github.com/go-swagger/go-swagger/pull/3063) ([fredbi](https://github.com/fredbi)) - fix\(flatten\): onboard fix for relative $ref in params&responses [\#3059](https://github.com/go-swagger/go-swagger/pull/3059) ([fredbi](https://github.com/fredbi)) - Update docs: choosing a principal [\#3058](https://github.com/go-swagger/go-swagger/pull/3058) ([ghost](https://github.com/ghost)) - chore: updated dependencies for examples [\#3057](https://github.com/go-swagger/go-swagger/pull/3057) ([fredbi](https://github.com/fredbi)) - Revert "ci: setup ossf scorecard and codql workflows" [\#3056](https://github.com/go-swagger/go-swagger/pull/3056) ([casualjim](https://github.com/casualjim)) - chore\(deps\): bump docker/metadata-action from 4.6.0 to 5.5.0 [\#3051](https://github.com/go-swagger/go-swagger/pull/3051) ([dependabot[bot]](https://github.com/apps/dependabot)) - chore\(deps\): bump actions/checkout from 3.1.0 to 4.1.1 [\#3050](https://github.com/go-swagger/go-swagger/pull/3050) ([dependabot[bot]](https://github.com/apps/dependabot)) - ci: setup ossf scorecard and codql workflows [\#3049](https://github.com/go-swagger/go-swagger/pull/3049) ([mmorel-35](https://github.com/mmorel-35)) - chore\(ci\): refactored ci workflows [\#3048](https://github.com/go-swagger/go-swagger/pull/3048) ([fredbi](https://github.com/fredbi)) - fix\(cli codegen\): fixed missing imports [\#3046](https://github.com/go-swagger/go-swagger/pull/3046) ([fredbi](https://github.com/fredbi)) - fix\(cli\): deconflicted names for variables and funcs [\#3045](https://github.com/go-swagger/go-swagger/pull/3045) ([fredbi](https://github.com/fredbi)) - fix\(markdown\): handled multi-lines blocks in descriptions [\#3044](https://github.com/go-swagger/go-swagger/pull/3044) ([fredbi](https://github.com/fredbi)) - fix\(codegen\): fixed operation package mangling when tag is v1 [\#3043](https://github.com/go-swagger/go-swagger/pull/3043) ([fredbi](https://github.com/fredbi)) - feat\(gen client\): added support to work with multiple mimes [\#3042](https://github.com/go-swagger/go-swagger/pull/3042) ([fredbi](https://github.com/fredbi)) - fix\(codegen\): fixed import conflict when tag is "client" [\#3040](https://github.com/go-swagger/go-swagger/pull/3040) ([fredbi](https://github.com/fredbi)) - chore\(go build\): removed code that requires go \< 1.19 to build [\#3038](https://github.com/go-swagger/go-swagger/pull/3038) ([fredbi](https://github.com/fredbi)) - chore\(test\): reduced the verbosity of tests [\#3037](https://github.com/go-swagger/go-swagger/pull/3037) ([fredbi](https://github.com/fredbi)) - doc: sync'ed markdown source with addition to HTML site [\#3036](https://github.com/go-swagger/go-swagger/pull/3036) ([fredbi](https://github.com/fredbi)) - fix\(validations\): fixed missing validation in embedded structs [\#3034](https://github.com/go-swagger/go-swagger/pull/3034) ([fredbi](https://github.com/fredbi)) - fix\(validations\): fixed MinProperties/MaxProperties [\#3033](https://github.com/go-swagger/go-swagger/pull/3033) ([fredbi](https://github.com/fredbi)) - fix\(strfmt\): stricter UUID validation [\#3032](https://github.com/go-swagger/go-swagger/pull/3032) ([fredbi](https://github.com/fredbi)) - feat\(validation\): added --rooted-error-path to generate models [\#3031](https://github.com/go-swagger/go-swagger/pull/3031) ([fredbi](https://github.com/fredbi)) - fixed client generation test re sensitiveness to GOPATH [\#3030](https://github.com/go-swagger/go-swagger/pull/3030) ([fredbi](https://github.com/fredbi)) - test\(client\): added dynamic test to assert path params [\#3029](https://github.com/go-swagger/go-swagger/pull/3029) ([fredbi](https://github.com/fredbi)) - chore: checkpoint - regenerating examples [\#3028](https://github.com/go-swagger/go-swagger/pull/3028) ([fredbi](https://github.com/fredbi)) - doc\(example\): fixed doc for custom-server example [\#3027](https://github.com/go-swagger/go-swagger/pull/3027) ([fredbi](https://github.com/fredbi)) - fix: follow-up on \#3019 - fixed templates [\#3026](https://github.com/go-swagger/go-swagger/pull/3026) ([fredbi](https://github.com/fredbi)) - fix\(flatten\): flatten should remove unused models recursively [\#3025](https://github.com/go-swagger/go-swagger/pull/3025) ([fredbi](https://github.com/fredbi)) - fix\(mangling\): fixes name mangling in the presence of a special character [\#3024](https://github.com/go-swagger/go-swagger/pull/3024) ([fredbi](https://github.com/fredbi)) - feat\(formats\): added built-in support for ULID format [\#3023](https://github.com/go-swagger/go-swagger/pull/3023) ([fredbi](https://github.com/fredbi)) - fix\(faq\): updating doc to get swagger UI [\#3022](https://github.com/go-swagger/go-swagger/pull/3022) ([souradeepmajumdar05](https://github.com/souradeepmajumdar05)) - fix\(codegen\): fixed panic on invalid parameters in spec [\#3021](https://github.com/go-swagger/go-swagger/pull/3021) ([fredbi](https://github.com/fredbi)) - fix\(flatten\): fixed code generation with circular $ref AND expand option [\#3020](https://github.com/go-swagger/go-swagger/pull/3020) ([fredbi](https://github.com/fredbi)) - fix\(client\): alleviates issues with pointers in error reporting [\#3019](https://github.com/go-swagger/go-swagger/pull/3019) ([fredbi](https://github.com/fredbi)) - chore\(ci\): linter & ci configuration [\#3018](https://github.com/go-swagger/go-swagger/pull/3018) ([fredbi](https://github.com/fredbi)) - Use mockery V2 argument style [\#3017](https://github.com/go-swagger/go-swagger/pull/3017) ([fredbi](https://github.com/fredbi)) - fix\(codegen\): invalid token reference when referencing an extension [\#3016](https://github.com/go-swagger/go-swagger/pull/3016) ([fredbi](https://github.com/fredbi)) - fix\(flatten\): fixed panic in marshal YAML [\#3015](https://github.com/go-swagger/go-swagger/pull/3015) ([fredbi](https://github.com/fredbi)) - fix\(flatten\): added option to flatten without transforming names [\#3014](https://github.com/go-swagger/go-swagger/pull/3014) ([fredbi](https://github.com/fredbi)) - fix\(diff\): fixed diff status on added required property [\#3011](https://github.com/go-swagger/go-swagger/pull/3011) ([fredbi](https://github.com/fredbi)) - Bump golang.org/x/crypto from 0.14.0 to 0.17.0 [\#3010](https://github.com/go-swagger/go-swagger/pull/3010) ([dependabot[bot]](https://github.com/apps/dependabot)) - fix\(markdown\): added support for --target flag [\#3009](https://github.com/go-swagger/go-swagger/pull/3009) ([fredbi](https://github.com/fredbi)) - Bump golang.org/x/net from 0.10.0 to 0.17.0 [\#3008](https://github.com/go-swagger/go-swagger/pull/3008) ([dependabot[bot]](https://github.com/apps/dependabot)) - fix\(yaml\): fixed panic when MarshalYAML returns an error [\#3006](https://github.com/go-swagger/go-swagger/pull/3006) ([fredbi](https://github.com/fredbi)) - 3002 enum parse [\#3004](https://github.com/go-swagger/go-swagger/pull/3004) ([dimovnike](https://github.com/dimovnike)) - Add missing line from custom server example code [\#3001](https://github.com/go-swagger/go-swagger/pull/3001) ([kevinbarbour](https://github.com/kevinbarbour)) - enable misspell linter and fix linters [\#2992](https://github.com/go-swagger/go-swagger/pull/2992) ([mmorel-35](https://github.com/mmorel-35)) - use Go standard errors [\#2990](https://github.com/go-swagger/go-swagger/pull/2990) ([mmorel-35](https://github.com/mmorel-35)) - fix: 1\) adds supports for Diff to report on changed extension values … [\#2986](https://github.com/go-swagger/go-swagger/pull/2986) ([zmay2030](https://github.com/zmay2030)) - fix typo in zsh completion [\#2981](https://github.com/go-swagger/go-swagger/pull/2981) ([mehmetumit](https://github.com/mehmetumit)) - Feat: new client constructors wo go-openapi [\#2979](https://github.com/go-swagger/go-swagger/pull/2979) ([LukasDeco](https://github.com/LukasDeco)) - Updated to handle cases where 'body' is not present in the YAML file … [\#2973](https://github.com/go-swagger/go-swagger/pull/2973) ([Shimizu1111](https://github.com/Shimizu1111)) - Fix default write timeout value from 60s to 30s in Server struct [\#2968](https://github.com/go-swagger/go-swagger/pull/2968) ([aiwasaki126](https://github.com/aiwasaki126)) - fix: diff result has no URL, when there is an object type array field… [\#2965](https://github.com/go-swagger/go-swagger/pull/2965) ([EarthSoar](https://github.com/EarthSoar)) - Add support for x-go-custom-tag in generated parameter [\#2957](https://github.com/go-swagger/go-swagger/pull/2957) ([MAAF72](https://github.com/MAAF72)) - Support type alias when generating spec [\#2953](https://github.com/go-swagger/go-swagger/pull/2953) ([invzhi](https://github.com/invzhi)) - Fix typo in codescan/spec.go [\#2950](https://github.com/go-swagger/go-swagger/pull/2950) ([ryomak](https://github.com/ryomak)) - Update README.md with projects using go-swagger [\#2940](https://github.com/go-swagger/go-swagger/pull/2940) ([tejash-jl](https://github.com/tejash-jl)) - Fixes \#2740 - Minimum misspelled [\#2787](https://github.com/go-swagger/go-swagger/pull/2787) ([afagundes](https://github.com/afagundes)) - Add details on how to install using go install [\#2772](https://github.com/go-swagger/go-swagger/pull/2772) ([vidhill](https://github.com/vidhill)) - Fix \#2764 Allow number as field in cli generation [\#2766](https://github.com/go-swagger/go-swagger/pull/2766) ([youyuanwu](https://github.com/youyuanwu)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
77f973a
2024-05-14 01:21
下载
v0.30.5
v0.30.5
ab6a788
2023-06-11 02:01
下载
v0.30.4
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.30.3...v0.30.4) **Closed issues:** - swagger代码扫描如何支持范型 [\#2873](https://github.com/go-swagger/go-swagger/issues/2873) - formData parameter is not present while swagger generate cli [\#2857](https://github.com/go-swagger/go-swagger/issues/2857) - Error parsing time with format "Y-m-d H:i:s" into time object [\#2855](https://github.com/go-swagger/go-swagger/issues/2855) - Where is the output when using a generated CLI command ? [\#2853](https://github.com/go-swagger/go-swagger/issues/2853) - How to use/need for Validate function in model.go file [\#2844](https://github.com/go-swagger/go-swagger/issues/2844) **Merged pull requests:** - update dependencies and prepare for v0.30.4 [\#2881](https://github.com/go-swagger/go-swagger/pull/2881) ([casualjim](https://github.com/casualjim)) - Ensure that the stratoscale client is able to handle non success-response types [\#2879](https://github.com/go-swagger/go-swagger/pull/2879) ([samj1912](https://github.com/samj1912)) - Make stratoscale template easier to test [\#2870](https://github.com/go-swagger/go-swagger/pull/2870) ([samj1912](https://github.com/samj1912)) - fix route extensions not being parsed [\#2864](https://github.com/go-swagger/go-swagger/pull/2864) ([jamescostian](https://github.com/jamescostian)) - Configurable consumers in stratoscale templates [\#2863](https://github.com/go-swagger/go-swagger/pull/2863) ([jhernand](https://github.com/jhernand)) - Fix some misspells [\#2856](https://github.com/go-swagger/go-swagger/pull/2856) ([nrnrk](https://github.com/nrnrk)) - swager: ignore documentation. [\#2767](https://github.com/go-swagger/go-swagger/pull/2767) ([pansachin](https://github.com/pansachin)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
df6da9b
2023-01-17 02:25
下载
v0.30.3
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.30.2...v0.30.3) **Closed issues:** - The latest version is not generating schema for swagger:parameters [\#2842](https://github.com/go-swagger/go-swagger/issues/2842) - Generate empty models [\#2841](https://github.com/go-swagger/go-swagger/issues/2841) - can not generate swagger spec [\#2838](https://github.com/go-swagger/go-swagger/issues/2838) - Handle circular references [\#2831](https://github.com/go-swagger/go-swagger/issues/2831) - Unable to locate package swagger [\#2800](https://github.com/go-swagger/go-swagger/issues/2800) - generate: YAML parse error in meta doc when using tabs [\#2756](https://github.com/go-swagger/go-swagger/issues/2756) **Merged pull requests:** - build without -trimpath because it causes issues when generating a spec [\#2843](https://github.com/go-swagger/go-swagger/pull/2843) ([casualjim](https://github.com/casualjim)) - Support for extensions within swagger:parameters [\#2836](https://github.com/go-swagger/go-swagger/pull/2836) ([cccRaim](https://github.com/cccRaim)) - Fix \#2800 Update key import method for debian [\#2834](https://github.com/go-swagger/go-swagger/pull/2834) ([tina-hello](https://github.com/tina-hello)) - fixes \#2831, circular dependency issue [\#2832](https://github.com/go-swagger/go-swagger/pull/2832) ([Aven30](https://github.com/Aven30)) - made up for missing packages from template [\#2824](https://github.com/go-swagger/go-swagger/pull/2824) ([koron](https://github.com/koron)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
ecf6f05
2022-09-26 03:27
下载
v0.30.2
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.30.1...v0.30.2) **Closed issues:** - go-swagger mixin outputs json with the `--format=yaml` option [\#2817](https://github.com/go-swagger/go-swagger/issues/2817) **Merged pull requests:** - format output as yaml [\#2819](https://github.com/go-swagger/go-swagger/pull/2819) ([casualjim](https://github.com/casualjim)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
0c07e91
2022-09-02 14:04
下载
v0.30.1
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.30.0...v0.30.1) **Closed issues:** - v0.30.0 won't install on golang\(1.18/1.19\)-alpine container [\#2816](https://github.com/go-swagger/go-swagger/issues/2816) - v0.30.0 causes build comment error in go install [\#2815](https://github.com/go-swagger/go-swagger/issues/2815) **Merged pull requests:** - Allow older go [\#2818](https://github.com/go-swagger/go-swagger/pull/2818) ([casualjim](https://github.com/casualjim)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
3e0288c
2022-09-02 01:07
下载
v0.30.0
[Full Changelog](https://github.com/go-swagger/go-swagger/compare/v0.29.0...v0.30.0) **Implemented enhancements:** - Support for extensions within swagger:route [\#1957](https://github.com/go-swagger/go-swagger/issues/1957) - How to get enums to show up in a swagger specification? [\#954](https://github.com/go-swagger/go-swagger/issues/954) **Closed issues:** - any type \(generics\) [\#2809](https://github.com/go-swagger/go-swagger/issues/2809) - Question: how to make snakize to ignore some abbreviation? [\#2794](https://github.com/go-swagger/go-swagger/issues/2794) - Work around for name collisions? [\#2792](https://github.com/go-swagger/go-swagger/issues/2792) - Specify the same parameter more than one time [\#2786](https://github.com/go-swagger/go-swagger/issues/2786) - unhandled type to resolve JSON pointer [\#2768](https://github.com/go-swagger/go-swagger/issues/2768) - Go 1.19 change breaks swagger [\#2759](https://github.com/go-swagger/go-swagger/issues/2759) - \[CLI\] Generating an empty object using `swagger:type object` does not work as expected. [\#2758](https://github.com/go-swagger/go-swagger/issues/2758) - generate: Ref property in response doesn't have a description [\#2757](https://github.com/go-swagger/go-swagger/issues/2757) - swagger generate client returns `info.title in body is required` [\#2739](https://github.com/go-swagger/go-swagger/issues/2739) - Add trimPrefix and trimSuffix to template FuncMap [\#2737](https://github.com/go-swagger/go-swagger/issues/2737) - Generated CLI does not compile when using arrays as query parameters [\#2735](https://github.com/go-swagger/go-swagger/issues/2735) - How can I import from a yaml file [\#2729](https://github.com/go-swagger/go-swagger/issues/2729) - Middleware not stopping request execution [\#2723](https://github.com/go-swagger/go-swagger/issues/2723) - @Failure, @Success Response Type Usage Error [\#2722](https://github.com/go-swagger/go-swagger/issues/2722) - Need to fix the options of `todo-list-server` in todo-list example [\#2716](https://github.com/go-swagger/go-swagger/issues/2716) - Call for transparent HTTP status codes in generated struct [\#2706](https://github.com/go-swagger/go-swagger/issues/2706) - strfmt.ObjectId is scanned back as an array of strings [\#2704](https://github.com/go-swagger/go-swagger/issues/2704) - Cannot convert an expression of the type 'map\[string\]SomeType' to the type 'SomeType' [\#2682](https://github.com/go-swagger/go-swagger/issues/2682) - Installing go-swagger as Debian packages fails [\#2558](https://github.com/go-swagger/go-swagger/issues/2558) - swagger:type override is not working [\#2229](https://github.com/go-swagger/go-swagger/issues/2229) - Generating code for go modules is much slower than under GOPATH [\#1826](https://github.com/go-swagger/go-swagger/issues/1826) **Merged pull requests:** - Fixes for go 1.19 [\#2808](https://github.com/go-swagger/go-swagger/pull/2808) ([casualjim](https://github.com/casualjim)) - fixbug: `interface{}` in a `map` as value should be generated/typed to `any` [\#2776](https://github.com/go-swagger/go-swagger/pull/2776) ([emilgpa](https://github.com/emilgpa)) - Fix docker command in install.md [\#2765](https://github.com/go-swagger/go-swagger/pull/2765) ([tingstad](https://github.com/tingstad)) - 1957: Support for extensions within swagger:route [\#2751](https://github.com/go-swagger/go-swagger/pull/2751) ([Huckletoon](https://github.com/Huckletoon)) - \#2748 passing request context to ConextValidate\(\) [\#2749](https://github.com/go-swagger/go-swagger/pull/2749) ([dimovnike](https://github.com/dimovnike)) - support swagger:type on structs [\#2747](https://github.com/go-swagger/go-swagger/pull/2747) ([casualjim](https://github.com/casualjim)) - Add support for template plugins [\#2745](https://github.com/go-swagger/go-swagger/pull/2745) ([kevinbarbour](https://github.com/kevinbarbour)) - Update jwt library [\#2744](https://github.com/go-swagger/go-swagger/pull/2744) ([katyanna](https://github.com/katyanna)) - Add sprig library for template functions. [\#2741](https://github.com/go-swagger/go-swagger/pull/2741) ([kevinbarbour](https://github.com/kevinbarbour)) - Fix issue assigning slice pointer to slice in CLI [\#2736](https://github.com/go-swagger/go-swagger/pull/2736) ([kevinbarbour](https://github.com/kevinbarbour)) - support `MarshalText` in custom type [\#2727](https://github.com/go-swagger/go-swagger/pull/2727) ([emilgpa](https://github.com/emilgpa)) - fixes using indexed property for accessing additional properties [\#2725](https://github.com/go-swagger/go-swagger/pull/2725) ([casualjim](https://github.com/casualjim)) - Update the option --tls-certificate-key to --tls-key of todo-list-server in todo-list example [\#2718](https://github.com/go-swagger/go-swagger/pull/2718) ([nishipy](https://github.com/nishipy)) - support for passing basepath as an argument [\#2713](https://github.com/go-swagger/go-swagger/pull/2713) ([svyotov](https://github.com/svyotov)) - add an interface to deal with client responses based on the status code [\#2708](https://github.com/go-swagger/go-swagger/pull/2708) ([casualjim](https://github.com/casualjim)) - support key non-string in map if the key implements TextMarshaler interface [\#2707](https://github.com/go-swagger/go-swagger/pull/2707) ([emilgpa](https://github.com/emilgpa)) - \#2704 codescan fix for strfmt.ObjectId [\#2705](https://github.com/go-swagger/go-swagger/pull/2705) ([dimovnike](https://github.com/dimovnike)) \* *This Changelog was automatically generated by [github_changelog_generator](https://github.com/github-changelog-generator/github-changelog-generator)*
927fa83
2022-08-30 01:42
下载
v0.29.0
release v0.29.0
53696ca
2022-01-24 05:34
下载
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
下载
下载
请输入验证码,防止盗链导致资源被占用
取消
下载
Go
1
https://gitee.com/mirrors/go-swagger.git
git@gitee.com:mirrors/go-swagger.git
mirrors
go-swagger
go-swagger
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册