openapi-generator/modules
Oleksandr Slynko 919f867eba [go] Fix go client formatting (#7283)
* Fix some go client formatting issues

* Fix go client go imports

* Run `goimports -w .` on examples directory

* Sort imports in api

* Add new line between each property

Before secret feature was used to add new line using two property
declaration in the same line. There should be no new line before
first property. The easiest way is to use `-first` special
property
https://github.com/samskivert/jmustache#-first-and--last

New line are required so `goimports` won't reformat  whitespaces between
property name and type.

* Change whitespaces to tabs

* Fix whitespaces in api_client

There is a new line between each service to prevent `goimports` from
adding whitespaces between types and names

* Fix more whitespaces

There was a need to set special delimeter for formatting in the commit.
Go slices use curly braces and `jmustache` got confused when found
triple curly braces.

* Fix whitespaces in configuration.mustache

* Fix whitespaces for api response

* Support for optional description

Do not add whitespace if description is missing

* Add new lines between enum values to prevent formatting

* Generate go code from current code

- imports are not sorted :(
- there are extra whitespaces for different languages. I don't know why

* Run generate for security tests
2018-01-07 11:53:55 +08:00
..
swagger-codegen [go] Fix go client formatting (#7283) 2018-01-07 11:53:55 +08:00
swagger-codegen-cli update version to 2.4.0-SNAPSHOT 2018-01-07 11:04:05 +08:00
swagger-codegen-maven-plugin update version to 2.4.0-SNAPSHOT 2018-01-07 11:04:05 +08:00
swagger-generator update version to 2.4.0-SNAPSHOT 2018-01-07 11:04:05 +08:00