Maybe I misunderstood how "specification-arg-resolver" integrates with Springdoc-openapi, but I cannot set a description in the @Spec annotation, in order to properly document the parameter(s). I think it should be enough to add a "description" String in the @Spec, then pass it to net.kaczmarzyk.spring.data.jpa.swagger.springdoc.SpecificationArgResolverSpringdocOperationCustomizer#createParameters and finally assign it to the specParam.setDescription() method.
What do you think?
Thanks!
Maybe I misunderstood how "specification-arg-resolver" integrates with Springdoc-openapi, but I cannot set a description in the
@Specannotation, in order to properly document the parameter(s). I think it should be enough to add a "description" String in the@Spec, then pass it tonet.kaczmarzyk.spring.data.jpa.swagger.springdoc.SpecificationArgResolverSpringdocOperationCustomizer#createParametersand finally assign it to thespecParam.setDescription()method.What do you think?
Thanks!