2.0.0
Removed support for:
- RAML 0.8
- Spring 3
- RAML creation (we're focused on the contract-first approach)
- Keeping code and RAML in sync
Improvements:
Bugfixes
- #235 Delete does not generate body parameter
- #236 Generated client sends query param even if the value is null
Other changes:
- Project is restructured. Also, packages changed and new rules' package is
com.phoenixnap.oss.ramlplugin.raml2code.rules
so new configuration might look like this:
<configuration>
<ramlPath>src/main/resources/public/api.raml</ramlPath>
<outputRelativePath>target/generated-raml-mvc</outputRelativePath>
...
<rule>com.phoenixnap.oss.ramlplugin.raml2code.rules.Spring4ControllerDecoratorRule</rule>
<generationConfig>
<useCommonsLang3>true</useCommonsLang3>
<includeConstructors>true</includeConstructors>
<generateBuilders>true</generateBuilders>
</generationConfig>
</configuration>
- Method naming logic is changed. Previously, methos names were generated based on resource path and now based on request/response objects and parameters.