SwaggerScalaModelConverter

Companion:
class
class Object
trait Matchable
class Any

Value members

Concrete methods

If you use swagger annotations to override what is automatically derived, then be aware that io.swagger.v3.oas.annotations.media.Schema annotation has required = false, by default. You are advised to set the required flag on this annotation to the correct value. If you would prefer to have the Schema annotation required flag ignored and to rely on the this module inferring the value (as ot would if you don't annotate the classes or fields), then set SwaggerScalaModelConverter.setRequiredBasedOnAnnotation to true and the required property on the annotation will be ignored, unless the field is an Option.

If you use swagger annotations to override what is automatically derived, then be aware that io.swagger.v3.oas.annotations.media.Schema annotation has required = false, by default. You are advised to set the required flag on this annotation to the correct value. If you would prefer to have the Schema annotation required flag ignored and to rely on the this module inferring the value (as ot would if you don't annotate the classes or fields), then set SwaggerScalaModelConverter.setRequiredBasedOnAnnotation to true and the required property on the annotation will be ignored, unless the field is an Option.

Returns:

value: true by default

If you use swagger annotations to override what is automatically derived, then be aware that io.swagger.v3.oas.annotations.media.Schema annotation has required = false, by default. You are advised to set the required flag on this annotation to the correct value. If you would prefer to have the Schema annotation required flag ignored and to rely on the this module inferring the value (as ot would if you don't annotate the classes or fields), then set SwaggerScalaModelConverter.setRequiredBasedOnAnnotation to true and the required property on the annotation will be ignored, unless the field is an Option.

If you use swagger annotations to override what is automatically derived, then be aware that io.swagger.v3.oas.annotations.media.Schema annotation has required = false, by default. You are advised to set the required flag on this annotation to the correct value. If you would prefer to have the Schema annotation required flag ignored and to rely on the this module inferring the value (as ot would if you don't annotate the classes or fields), then set SwaggerScalaModelConverter.setRequiredBasedOnAnnotation to true and the required property on the annotation will be ignored, unless the field is an Option.

Value parameters:
value

true by default

Concrete fields