Skip to content

1.0.0.M6

Pre-release
Pre-release
Compare
Choose a tag to compare
@hauner hauner released this 25 Jan 16:18
· 1041 commits to master since this release

improvements

  • #68, exclude endpoints. To avoid an all-or-nothing issue it is possible to exclude endpoints when the generatr does not create the expected code. Excluded endpoints will be generated to a sibling interface with an Excluded postfix for reference. To exclude an endpoint set the exclude property on the endpoint in the mapping.yaml:

      map:
        paths:
          /foo:
            exclude: true
    
  • #62, it is now possible to add additional parameters not defined in the OpenAPI description to an endpoint by adding an add/as mapping like this to the mapping.yaml:

      map:
        paths:
          /foo:
            parameters:
              - add: request
                as: javax.servlet.http.HttpServletRequest
    
  • #34, support for bean validations. If enabled maps the openapi constraints to java bean validation annotations. Its off by default, to enable it set bean-validation to true in the mapping.yaml:

      options:
        bean-validation: true
    

    Thanks to @schlagi123