File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
src/main/groovy/com/github/hauner/openapi/spring Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import com.github.hauner.openapi.api.OpenApiGeneratr
2020import com.github.hauner.openapi.spring.converter.ApiConverter
2121import com.github.hauner.openapi.spring.converter.ApiOptions
2222import com.github.hauner.openapi.spring.writer.ApiWriter
23- import com.github.hauner.openapi.spring.writer.BeanValidationWriter
23+ import com.github.hauner.openapi.spring.writer.BeanValidationFactory
2424import com.github.hauner.openapi.spring.writer.DataTypeWriter
2525import com.github.hauner.openapi.spring.writer.HeaderWriter
2626import com.github.hauner.openapi.spring.writer.InterfaceWriter
@@ -63,7 +63,7 @@ class SpringGeneratr implements OpenApiGeneratr {
6363 def api = cv. convert (result. openAPI)
6464
6565 def headerWriter = new HeaderWriter ()
66- def beanValidationWriter = new BeanValidationWriter ()
66+ def beanValidationWriter = new BeanValidationFactory ()
6767 def writer = new ApiWriter (options,
6868 new InterfaceWriter (
6969 headerWriter : headerWriter,
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ import com.github.hauner.openapi.spring.model.datatypes.StringDataType
3232/**
3333 * @author Bastian Wilhelm
3434 */
35- class BeanValidationWriter {
35+ class BeanValidationFactory {
3636 Set<String > collectImports (DataType dataType ) {
3737 Set<String > imports = []
3838
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ import com.github.hauner.openapi.support.Identifier
3030class DataTypeWriter {
3131 ApiOptions apiOptions
3232 HeaderWriter headerWriter
33- BeanValidationWriter beanValidationWriter
33+ BeanValidationFactory beanValidationWriter
3434
3535 void write (Writer target , ObjectDataType dataType ) {
3636 headerWriter. write (target)
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ class InterfaceWriter {
3030 ApiOptions apiOptions
3131 HeaderWriter headerWriter
3232 MethodWriter methodWriter
33- BeanValidationWriter beanValidationWriter
33+ BeanValidationFactory beanValidationWriter
3434
3535 void write (Writer target , Interface itf ) {
3636 headerWriter. write (target)
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ import com.github.hauner.openapi.support.Identifier
3131class MethodWriter {
3232
3333 ApiOptions apiOptions
34- BeanValidationWriter beanValidationWriter
34+ BeanValidationFactory beanValidationWriter
3535
3636 void write (Writer target , Endpoint endpoint ) {
3737 target. write (""" \
You can’t perform that action at this time.
0 commit comments