GoSwagger v0.18.0 Release Notes

Release Date: 2018-12-22 // about 2 years ago
  • ๐Ÿ”„ Change Log

    v0.18.0 (2018-12-22)

    Full Changelog

    Implemented enhancements:

    • Client cannot unmarshal struct #1729
    • swagger generation with --with-context result in compiles error #1684
    • Can't have server code in subdirectory #1624
    • Proposal: x-omitempty for general types #1623
    • When generating validations struct pkg references needs to be preserved #578

    ๐Ÿ›  Fixed bugs:

    • Duplicated parentheses #1839
    • Regression with gob encoder optimization #1824
    • generated embedded_spec.go removing refs #1816
    • ๐Ÿ”ง Duplicated imports in configure.go #1808
    • Recursive model errors during flattening stage of generate server #1796
    • Invalid paths in go generate directive #1789
    • race in handleShutdown #1781
    • non-compiling code if an API method contains a parameter named 'result' #1778
    • ๐Ÿ‘ Are external references supported? #1774
    • One spec in multiple files (data types logic override) - error of generating #1767
    • go-swagger generate server: minItems (maxItems) on array fails during validation. #1755
    • โœ… Client wont compile with a route tagged "test" #1683
    • ๐Ÿ“ฆ Generate client does not handle "-" dashes in --client-package consistently #1157

    Closed issues:

    • body parameter of type string results in code that doesn't compile #1832
    • โž• Add an option for placing the docs/docs.go file #1811
    • Deb version 0.17.2 doesn't contain the binary on bintray #1793
    • โš  Parameters in swagger:route produce validation warnings #1785
    • Do not escape '&' character in json response #1763
    • Deb installation is broken with the new version with the "v" prefix #1760
    • ๐Ÿ”Š Validate returns different output in console and logs #1722

    ๐Ÿ”€ Merged pull requests:

    • ๐Ÿš€ Prepare for v0.18.0 release #1843 (casualjim)
    • โšก๏ธ FAQ update #1842 (fredbi)
    • Models: avoids redundant "()" on .ValueExpression #1840 (fredbi)
    • ๐Ÿ‘ route: add support description response tag at path #1829 (d7561985)
    • ๐Ÿ›  Fix #1824 #1827 (fredbi)
    • โž• Add HandlerAPI() function to stratoscale template #1821 (maxatome)
    • โœ‚ Remove x net context from generated code #1819 (fredbi)
    • โšก๏ธ Acknowledge fix #1816 with go-openapi updates #1818 (fredbi)
    • ๐Ÿ›  Fixed go generate paths in configure_xxx.go #1810 (fredbi)
    • ๐Ÿ›  Fixed regression on Windows introduced by #1804 #1809 (fredbi)
    • ๐Ÿ– Handle array examples; document Example usage #1807 (leon-barrett)
    • ๐Ÿ—„ Deprecates --with-context option #1806 (fredbi)
    • ๐Ÿ›  Fixes race condition in generated server #1805 (fredbi)
    • ๐Ÿ“ฆ More mangling for generated package names and path #1804 (fredbi)
    • ๐Ÿ›  Fix slice validations in body param #1803 (fredbi)
    • ๐ŸŽ chore: update vendor for performance #1802 (orisano)
    • ๐Ÿ‘‰ Use JSON for examples of type object #1801 (leon-barrett)
    • ๐Ÿ›  Fix go vet 11 issue with debugAsJSON func #1800 (fredbi)
    • ๐Ÿ›  Fix flattening spec with remote circular $ref #1799 (fredbi)
    • ๐Ÿ‘ Allow '?' character in route path #1792 (andrewmilson)
    • There is a panic when invalid schema of route/operation is used in spec generation. It should prevent it #1791 (marsianin)
    • ๐Ÿ›  fix client cannot unmarshal struct which contains null #1788 (AlexInGitHub)
    • Absorbing api names across multiple lines #1783 (liyuankui)
    • ๐Ÿ›  fixes #1778. Allow 'result' name for API parameter #1780 (mtfelian)

    * This Change Log was automatically generated by github_changelog_generator