diff --git a/third/swagger3.config b/third/swagger3.config index 669d36b7..4ee8cd41 100644 --- a/third/swagger3.config +++ b/third/swagger3.config @@ -20,6 +20,16 @@ api.tag[@io.swagger.v3.oas.annotations.tags.Tags]=groovy:``` @it.annValue("io.swagger.v3.oas.annotations.tags.Tags").collect{it.name} ``` +#Schema +param.required=groovy:it.ann("io.swagger.v3.oas.annotations.media.Schema","requiredMode")?.endsWith("REQUIRED") +param.doc=@io.swagger.v3.oas.annotations.media.Schema#description +param.ignore=@io.swagger.v3.oas.annotations.media.Schema#hidden +field.required=groovy:it.ann("io.swagger.v3.oas.annotations.media.Schema","requiredMode")?.endsWith("REQUIRED") +field.name=@io.swagger.v3.oas.annotations.media.Schema#name +field.doc=@io.swagger.v3.oas.annotations.media.Schema#description +field.ignore=@io.swagger.v3.oas.annotations.media.Schema#hidden +api.tag[@io.swagger.v3.oas.annotations.media.Schema#deprecated]=deprecated + #Parameter param.ignore=@io.swagger.v3.oas.annotations.Parameter#hidden param.required=@io.swagger.v3.oas.annotations.Parameter#required