Implemented enhancements:
- Clean up tutorial #275
Fixed bugs:
Closed issues:
- Support for cookies in the client runtime #308
- Generated server is misinterpreting request type as application/octet-stream #306
- Operation specific "produces" not overriding global "produces" #304
- Move things out of the main package #302
swagger generate client
with-t
directory target puts client code in unexpected directory #230- support not embedding the schema into the server generated code #222
- autodetect swagger base path #120
Merged pull requests:
- adds a ResponderFunc helper #315 (casualjim)
- fixes #222 server optionally embeds spec #314 (casualjim)
- 302 reprise #313 (casualjim)
- anchor strfmt import (fixes #255) #312 (casualjim)
- 304 consumes produces override #311 (casualjim)
- 306 octet stream consumer producer #310 (casualjim)
- Add support for cookies in the client runtime #309 (stoyanr)
- fix file type parameter when the parameter is required #297 (adasescu)
- 275 clean up tutorial #296 (andregmoeller)
0.3.0 (2016-02-15)
Implemented enhancements:
- Add http/unix socket transport #278
Fixed bugs:
- Enums are no longer pointers if not required #277
- Cannot use "." in route definition #271
- Enum generated Validate code has duplicate if checks #265
- fields with special chars lose the special chars #257
- Panic: interface is spec.Schema, not spec.Parameter for formField file #253
Closed issues:
- httpkit/client/runtime strips trailing slash from request path causing 301 #289
- Generate: No Producer or stub for "text/plain" #287
- DELETE method without body #264
- clientgen: Properties with "format": "date-time" that are not required are not generated as pointers #251
- build cross platform binaries #247
- race in Runtime.Submit #242
- swagger validate silently returns 0 when input does not exist #233
- Unmarshal error returned without further context #77
Merged pull requests:
- prepare for 0.3.0 release #295 (casualjim)
- adds unix domain sockets to generated server #294 (casualjim)
- generate stabler operation names #293 (casualjim)
- Preserve trailing slash in URL path in runtime #292 (jonathaningram)
- more lenient path matching for routes #291 (casualjim)
- fixes both issues related to enums #290 (casualjim)
- add text/plain in server generator #288 (casualjim)
- transliterate some common special chars #286 (casualjim)
- adds swagger:file annotation, fixes #253 #285 (casualjim)
- use sync.Once for client #284 (casualjim)
- nullable dates #283 (casualjim)
- returns a more useful error message #282 (casualjim)
- readme update for distribution channels #281 (casualjim)
0.2.17 (2016-02-13)
0.2.16 (2016-02-13)
0.2.15 (2016-02-13)
0.2.14 (2016-02-13)
0.2.13 (2016-02-13)
0.2.12 (2016-02-13)
0.2.11 (2016-02-13)
0.2.10 (2016-02-13)
0.2.9 (2016-02-13)
0.2.8 (2016-02-13)
0.2.7 (2016-02-13)
0.2.6 (2016-02-13)
0.2.5 (2016-02-13)
0.2.4 (2016-02-13)
Closed issues:
- spec generator strips out special characters in the beginning of lines #276
- Add Support for Extensions on the root Swagger Document #268
- server consuming
application/x-www-form-urlencoded
doesn't work #263
Merged pull requests:
- scan: strip only special chars that are used in annotations #280 (fsouza)
- go generate the generator/bindata.go to fix #263 #273 (MStoykov)
- Bugfix for POST Ops not setting Content Length #272 (akutz)
- Add Support for Extensions on the swagger root object. #269 (pytlesk4)
- Fixes #263. #267 (pieter-lazzaro)
0.2.3 (2016-02-09)
Merged pull requests:
0.2.2 (2016-02-08)
Merged pull requests:
- disable bintray publishing for now #262 (casualjim)
- update release to use tag from args #261 (casualjim)
- update drone.sec #260 (casualjim)
- first stab at automated releases through tags #259 (casualjim)
0.2.1 (2016-02-07)
Implemented enhancements:
- Support not embedding swagger schema into generated Go code #190
- Add a command to initialize a swagger yaml spec #187
- Allow for client templates to be overridden with local versions #101
- validation: referencable references #16
- support huge file uploads #8
- documentation site #5
Fixed bugs:
- Kubernetes 2.0 Spec #239
- Generated models with shared enums do not compile #227
- Go swagger does not support plain values in bodies. #217
- Generated server should allow for cleanup on shutting down #198
- Crash when using swagger generate client #197
- Generated BindRequest has call to Validate, even if no validation is specified #196
- parameter integers are always send #195
- Wrong documentation for swagger:parameters annotation #194
- format of parameters leads to bad generated code #193
- Validation dereferencing non-pointer #186
- Generated Validate method does not dereference pointer #182
- Generated Validatator on slice from interface method incorrect #181
- Don't set query params if they are nil #174
Closed issues:
- Nested references in definitions cause failure #254
- Server/client with enums generate uncompilable golang #252
- array body parameters lead to uncompilable client code #249
- Optional query param enums are not validated #248
- provide a version command #246
- Map as property created as pointer on objects #243
- Make generated client use
consumes
in schema for Accept headers, rather than transport consumers #235 - Schemes passed into httpkit New ignored #228
- Example for generating spec with securityDefinitions? #225
- wrong identifier used in generated code when validating parameter with not valid (in golang) identifier #223
- Delete requests with bodies cause a runtime error #219
- not an issue #216
- Empty string not validated in body schema #212
- Generated server main is currently always overwritten #210
- Allow addition of custom command line options to generated server code #207
- Sole TextMarshaler and TextUnmarshaler interfaces are left aside for embedded types #205
- Invalid code client generated in Default Parameter constructor #201
- Getting io.EOF error returned from successful HTTP response #192
- Client: Generated validator does not reference field #189
- Random model properties #180
- Submit server golang code generator in swagger-codegen. #110
- Submit client generator integration to swagger-codegen #109
Merged pull requests:
- fixes #252 primitives are not nullable #258 (casualjim)
- generator: Print unknown models out when gathering models #256 (chancez)
- don't share Params between requests of a Handler #240 (MStoykov)
- httpkit/client: Only set the content-type if the body isnt empty #238 (chancez)
- Better custom template solution #237 (pieter-lazzaro)
- Use schemas consumes to determine accept headers #236 (chancez)
- Fix for shared enums #234 (casualjim)
- fixes generation of bitbucket client #231 (casualjim)
- fixes #217 skip validate for impossible types #229 (casualjim)
- pascalize struct fields before concating them to struct identifiers F… #224 (MStoykov)
- #101 Custom templates #221 (pieter-lazzaro)
- allow delete requests to have bodies #220 (azylman)
- Fix godoc for client code #214 (Xe)
- skip generating server main if it exists: #211 (dfuentes)
- Fix import path for operations that lack tags #209 (dfuentes)
- Added possibility for custom command line option parsing #208 (Tobi042)
- Change strfmt.DateTime and strfmt.Date types to alias #206 (aleksandr-vin)
- generate bindata #204 (chancez)
- generator: Use new buffer to avoid reading empty buffer #203 (chancez)
- generator: Take address of default params for non-required, parameters with defaults #202 (chancez)
- FIXES #193 #200 (MStoykov)
- Proposed solution to Issue #198 #199 (Tobi042)
v0.2.0 (2015-12-25)
Implemented enhancements:
- Add appveyor build #153
- Document supported vendor extensions #131
- Add documentation for generated server #130
Fixed bugs:
- Polymorphic/generic subtypes: discriminator getter method, and unmarshal function do not use definition name #175
- Spec generator fails for swagger:route that has no tags #171
- client: Polymorphic types as parameter generates pointer to interface #169
- client should respect default values #135
- models: missing optional fields must not be rejected by validators and must have a distinguishable zero value #132
Closed issues:
- Add server support for default header values in responses #172
- doesn't generate the instagram api server #170
Merged pull requests:
- Refactor strfmt/time tests, add strfmt.NewDateTime function #177 (aleksandr-vin)
- Add default value support for response headers, fixes #172 #173 (aleksandr-vin)
- fix test failing on windows. #168 (faguirre1)
v0.1.0 (2015-12-14)
Implemented enhancements:
- check licenses of dependencies #154
- Empty or duplicate operation ids in codegen #134
- no empty names for path parameters #128
- Add validation for only body or formdata params #127
- Add support for security definitions to server codegen #113
- [scanner] security schemes #112
- [scanner] spec generation should fail when a struct is decorated with more than 1 annotation #92
- Struct references in operation parameter objects are generated as struct fields instead of pointers. #60
- validation: default values must validate against schema #18
- validation: referenced objects #17
- implement validation: circular ancestry #13
- implement validation: duplicate property name declaration #12
- Generate a swagger spec from go code #3
Fixed bugs:
- no code generated to handle unmarshalling a slice of a generic type #160
- swagger generate server with
-t
leads to non-compiliable generated code #155 - apiKey SecurityDefinitions work only if the header name=security definition name #152
- add allowEmptyValue support for a parameter #149
- Polymorphic validation code does not invoke generated Getter methods #146
- generate commands should work with urls too #145
- responses with a body of type interface{} don't render well #137
- responses with a schema render lots of extra schemas #136
- Validation fails with circular dependency #123
- server should have options for SSL when https scheme is present #115
- no enum detected for enum properties in combination with allOf #107
- Problem with query parameter with type array and collectionFormat: multi #106
- [scanner] Exported fields typed interface result in an invalid schema #93
- make go gettable without authentication #89
- client should infer schemes from the spec #88
- respect vendor specific media types #87
- client generation doesn't use tags #86
- client generation doesn't pick up on params from path level #85
- Enum model validation broken #79
- Client examples? #76
- When scanning a response the definition is not ref'ed #75
- enum validation for anonymous nested object is missing #74
- additional properties: false still gets treated as if it was set to true #73
- models composed with discriminators and allOf end up with empty bodies #65
- [validation] pathItems properties are not strictly validated #62
- Go-swagger validation issues #61
- Array references are generated as array of structs rather than array of pointers. #59
- Generated configure_{app}.go has missing import and invalid reference #56
- bind{Param} function may need casting for UUID #55
- Generated imports for models are incorrect #54
- Validation:"swagger" field must validate against schema #53
- scanner.go panics with index out of bounds #50
- generate spec doesn't add "swagger":2.0 at the beginning of the spec, but it's needed by swagger-ui #46
- may be bug on URI parse #37
- make generate spec support validations for nested collections #22
- make generated server support responses #21
Closed issues:
- server with valid schema and an extra slash (/) does not remove the extra #167
- divan/num2words causing
go get
failure #166 - Sample swagger.yml generating server fails for boolean, integer, number types in query params #163
- Does not support json keys that are numerical #162
- Support setting fields on interface/discriminated types #158
- Add HTTP/2 support #156
- Server does not compile if parameter description is missing #148
- Client GenCode tries to access field as method and
func\(\) httpkit.JSONConsumer
not being called. #147 - [scanner] support discriminators #142
- panic: assignment to entry in nil map #141
- main.go:XX: handler declared and not used #133
- codegen should account for reserved words #122
- look into using shippable #118
- inline schemas in responses fail to generate #116
- Consumers do not handle headers with charset in them #114
- Can't get models in the definitions #111
- untyped additional properties incorrectly flagged as having validations #108
- Inconsistent model method generation #105
- Inconsistent import/use of package in frontend_client.go generation #104
- optional strfmt types are not always used by their pointers #103
- Order of the generated operations should be consistent between generations #94
- generated server should have annotations to generate a spec #90
- Missed 'models' import in generated server when operations declared with 'default' response first #84
- various client generation fixes #82
- configure file for generated server is missing operations package #81
- Schemas without validations don't implement the Validate interface #80
- model: template: schemavalidations:78:62: executing "mapvalidator" at <.AdditionalPropertie...>: nil pointer evaluating *generator.GenSchema.HasValidations #72
- nil pointer evaluating *generator.GenSchema.HasValidations #71
- Possibility to add any headers #70
- Problems getting models in the definitions #67
- [validation] incorrect validation of path parameters defined in /parameters #63
- Validation failed for json swagger if the response schema defined type=array #58
- Nil pointer dereference exception while validate an swagger without path #52
- generate spec doesn't fill in the description field for responses, which is required. #51
- generate spec should remove request body params with the
json:"-"
tag #49 - Is there a way to set the "reason" or "response model" fields for a response? #48
- generate spec fails if code doesn't compile, breaking app engine support #47
- Support for JSON schema cross-file references. #45
- Generated fields with
format: "date-time"
have invalid validation code. #42 - Security names are mangled in generated
AuthenticatorsFor
method. #40 - Ability to generate
all
operations but not the model. #38 - Please export common embedded structs as public #36
strfmt
types should implement database marshaling methods. #35- packages order #28
- import package issue #27
- Generated Go code fails to transform multiline descriptions #23
- go install undefined #20
- Add support for the password format #7
- Move all the packages to their proper homes #4
- Support password extended string format #1
Merged pull requests:
- Support commonly used x-nullable in addition to x-isnullable #157 (chancez)
- Update README.md #138 (frapposelli)
- Fix #81 missing operations package #83 (aleksandr-vin)
- Allow http status 201 to have a response body #78 (florindragos)
- Ensure operation.Package has a value. #69 (jtopjian)
- Some space #66 (rgbkrk)
- validation: show path in path parameter validation errors #64 (dolmen)
- Fix generated code missing
strfmt
andhttpkit/middleware
imports. #43 (chakrit) - sql.Scanner and driver.Valuer implementation
strfmt
types. #39 (chakrit) - Fix package path handling on Windows #34 (magnushiie)
- Regenerate bindata for server templates. #33 (chakrit)
- Revert "fix support.go known Consumers/Producers and configureApi func" #32 (casualjim)
- fix support.go known Consumers/Producers and configureApi func #30 (midoblgsm)
- Fixing package and target order #29 (midoblgsm)
- Replace casualjim with go-swagger in deps and templates #26 (gbjk)
- Fix -target path injected at end of operations instead of beginning #25 (gbjk)
- Replace casualjim with go-swagger in imports #24 (gbjk)
- Add a Gitter chat badge to README.md #2 (gitter-badger)
* This Change Log was automatically generated by github_changelog_generator