0.9.0 (2017-04-09)
Implemented enhancements:
- Allow Bypassing FormatContent on Render #894
- tutorial needed on how to generate a service using kvstore as an example #889
- support bash/zsh autocompletion for swagger #886
- validate spec before generating, with opt-out option #825
- Improve Defaults of Server (API) Configuration #810
- Support new
operationannotation #793 - Complete swagger:route generator based on full OpenAPI router spec #790
- Question: Is it possible to use existing type instead of generated model? #778
- Couldn't find swag.DateTime(strfmt.DateTime) *strfmt.DateTime #734
- How to implement URLs to resources? #604
- Generate an url builder method for every resource path #119
- validate spec prior to gen. client/server #852 (GlenDC)
- add HTTPClient parameter functions #849 (GlenDC)
Fixed bugs:
- Path parameters not unescaped correctly #928
- routing issue when path param name contains a dash #907
- path params not always set to required:true #905
- Path not found error for endpoint with trailing slash #899
- Flattened spec does not validate. #898
- Generating array in response-header fails #881
- Spec generation examples and documentation does not match #879
- don't allow empty items in spec in resolveSimpleType #875
- root path
/operations cannot be found in generated serverapi #870 - Debugging generated client at runtime #862
- Mistype #853
- Type using allOf in generate server has broken MarshalJSON and UnmarshalJSON in 0.8.0 #847
- responses dont have a stable order #846
- Wrong field selectors are generated when using allOf in response schema definition #844
- Model compilation problems when
additionalProperties: true#822 - unresolvable blank format, generates in swagger-codegen, created repo with results #811
- Parameter names with brackets fail to generate valid Go variables #809
- Client gen not respecting
--tagsparameters #795 - Incorrect Validation generated for object field #786
- Can't reference definition from file in same directory #776
- baseImport doesn't handle case-insensitive paths on windows properly #775
- Model property default values not effective on server side processing #769
- Validation code for lists of int32s with minimum/maximum inside object fails to compile #763
- Server returns 405 Method not allowed instead of 404 for PUT, POST requests with invalid basepath #761
- Responses should support a description #738
- swagger generate client fails on validated swagger.json #733
- Validation error with spec that contains refs to local files #729
- Duplicate imports in main.go on pet-store's swagger file. #665
- [BREAKING] Path tags change code generation in a strange way #500
Closed issues:
- Remove warning messages #993
- Nested Packages: Generating Spec File #991
- Question: package names #971
- How to write comment when API accepts json body? #970
- generate spec from source doesn't support custom name of params on header, query #963
- Read request body in middleware. #955
- validating content type for "application/json" against [] #952
- Scanning of SecureDefinitions returns wrong json #949
- Generated import path ignores capitalization #941
- Error "target must reside inside a location in the $GOPATH/src", target is in $GOPATH/src (Windows) #940
- Not able to generate proper swagger spec #938
- swagger:meta custom description #937
- Set HTTP header on the client side without an explicit swagger parameters #935
- Beam file not being generated. #930
- Need help in successfully running swagger generate commands #929
- How do you remove a not required date-time from your JSON output? #927
- Go-swagger app on Google App Engine Standard? #925
- Similar routing paths that differ at the leaf got dropped out #918
- Embedded pointers cause errors in spec generation #896
- Cannot parse time formats that look like this: 2017-01-17T22:58:45 #873
- Allow customized client constructor while respecting defaults #838
- Implement ValidateNamed method to support validation errors with proper names #837
- Support default value for model property #828
- Newlines in title field breaks docstrings #813
- Code gen: missing import restapi/operations/[name]/get_[name]_parameters.go ; "github.com/go-openapi/runtime/middleware" #590
Merged pull requests:
- no x-go-name on $ref props #994 (casualjim)
- Update response.md #988 (matiasanaya-ffx)
- Allow to set build tags for scanner #980 (gaplyk)
- Fix links in docs/README.md #978 (houjunchen)
- Task: Update generate docs #975 (kenjones-cisco)
- Bugfix: err shadows declaration #974 (kenjones-cisco)
- Bugfix: Check error of SetTimeout #969 (kenjones-cisco)
- Always add default imports #966 (kars7e)
- Respect required for polymorphic types #964 (jbowes)
- update vendored libs #956 (casualjim)
- generator: Generate good godoc style for HTTP error codes #953 (tgraf)
- Add in swagger:meta, security fix. Implementation of secure definitions #950 (gaplyk)
- Fix package lookup. Add ast.SelectorExpr #945 (gaplyk)
- Updates schema scanner to print warning #942 (robertacosta)
- Added custom tag functionality #939 (johnnadratowski)
- Use json.RawMessage to decode polymorphic types #933 (kars7e)
- Set the read and write timeout values for the http scheme #926 (jbowes)
- Remove no-op basePath assignment. #921 (snargleplax)
- Support x-go-name in response elements #916 (tgraf)
- Fix some typos and spelling errors I discovered while reading the docs #915 (flimzy)
- generator: Provide const for all defined response codes #914 (tgraf)
- fix(generator): always use runtime/flagext in server generation #913 (mitch000001)
- fixes path param scan and trailing slash router #906 (casualjim)
- add custom server example and update examples #904 (GlenDC)
- remove unused resolveSimpleType func #903 (GlenDC)
- 886 bash zsh autocompletion #902 (GlenDC)
- add custom server tutorial #900 (GlenDC)
- Fixes #896 - Added *ast.StarExpr to parsers #897 (bjyoungblood)
- Allow CodeGen to skip formatting #895 (steve-gray)
- fix sliceserverheaderbuilder's broken ValueExpression selector #885 (GlenDC)
- Remove unnecessary ToUpper from builder template #882 (posener)
- make sure docs and its inline example match #880 (GlenDC)
- Fix some grammar #878 (PaulCapestany)
- generate root path as empty string in server router #871 (GlenDC)
- Add default imports in templates #867 (JrCs)
- fix for broken link in todo-list tutorial #857 (nathany)
- Generate code that keeps swagger spec as a string instead of a []byte #856 (vburenin)
- fix typo in server/builder.gotmpl #855 (GlenDC)
- fix #847 #851 (Simon-Li)
- ensure constant client response body order #848 (GlenDC)
- generator: strip package name from type name #845 (rjeczalik)
- expose transport config, fixes #838 #843 (GlenDC)
- 837-support-validation-error-with-proper-name #840 (Simon-Li)
- Fix a number of bugs #832 (casualjim)
- 828-Support-default-value-for-model-property #829 (Simon-Li)
- Fix issue #826 (gaplyk)
- allow for gopath to be differently cased from actual #821 (casualjim)
- local file refs for params and responses in server gen #820 (casualjim)
- validate respects local file reference #819 (casualjim)
- improve defaults API constructor, fixes #810 #816 (GlenDC)
- add operation annotation #815 (GlenDC)
- Apply comment function to title in docstring template #814 (lstoll)
- Use existing Go type instead of generated one (fix #778) #812 (nikolay-turpitko)
* This Change Log was automatically generated by github_changelog_generator