Skip to content
#

protocols

Here are 137 public repositories matching this topic...

terrypacker
terrypacker commented Nov 7, 2018

Because of the way our Swagger implementation layers annotations it is necessary to set required=true when using the @ApiParam annotation with @PathVariable

The short reason is that:

  1. path variables are always required in the OpenAPI spec
  2. Spring allows non required path variable which makes the Api non-compliant
  3. The annotations are layered Spring --> Swagger and required

Improve this page

Add a description, image, and links to the protocols topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the protocols topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.