anchor.diff:  |schemes |String |The protocol schemes to use. Multiple values can be
   separated by comma such as "http,https". The default value is "http".
   
  -|base.path |String |*Required*: To setup the base path where the REST services is available.
  +|base.path |String |*Required*: To set up the base path where the REST services are available.
   The path is relative (eg do not start with http/https) and
   camel-swagger-java will calculate the absolute base path at runtime,
   which will be `protocol://host:port/context-path/base.path`
   
  -|api.path |String |To setup the path where the API is available (eg /api-docs). The path is
  +|api.path |String |To set up the path where the API is available (eg /api-docs). The path is
   relative (eg do not start with http/https) and camel-swagger-java will
   calculate the absolute base path at runtime, which will be `protocol://host:port/context-path/api.path`
   So using relative paths is much easier. See above for an example.
  
positive.code: configure using a servlet you use the init-param as shown above. When
  configuring directly in the rest-dsl, you use the appropriate method,
  such as `enableCORS`, `host,contextPath`, dsl. The options
  with `api.xxx` is configured using `apiProperty` dsl.
  
  [width="100%",cols="10%,10%,80%",options="header",]
  |===
  |Option |Type |Description
  
  |cors |Boolean |Whether to enable CORS. Notice this only enables CORS for the api
  browser, and not the actual access to the REST services. Is default
  false.
  
  |swagger.version |String |Swagger spec version. Is default 2.0.
  
negative.code: 
  *Since Camel 2.22.0*
  
  The Rest DSL now supports declaring Swagger `securityDefinitions` in the generated API documentation.
  For example as shown below:
  
  [source,java]
  