Skip to content

Commit 1a4bda1

Browse files
author
Bastian Wilhelm
committed
#34 rename
1 parent d13747a commit 1a4bda1

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/main/groovy/com/github/hauner/openapi/spring/generatr/SpringGeneratr.groovy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import com.github.hauner.openapi.api.OpenApiGeneratr
2020
import com.github.hauner.openapi.spring.converter.ApiConverter
2121
import com.github.hauner.openapi.spring.converter.ApiOptions
2222
import 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
2424
import com.github.hauner.openapi.spring.writer.DataTypeWriter
2525
import com.github.hauner.openapi.spring.writer.HeaderWriter
2626
import 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,

src/main/groovy/com/github/hauner/openapi/spring/writer/BeanValidationWriter.groovy renamed to src/main/groovy/com/github/hauner/openapi/spring/writer/BeanValidationFactory.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

src/main/groovy/com/github/hauner/openapi/spring/writer/DataTypeWriter.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import com.github.hauner.openapi.support.Identifier
3030
class 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)

src/main/groovy/com/github/hauner/openapi/spring/writer/InterfaceWriter.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

src/main/groovy/com/github/hauner/openapi/spring/writer/MethodWriter.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import com.github.hauner.openapi.support.Identifier
3131
class MethodWriter {
3232

3333
ApiOptions apiOptions
34-
BeanValidationWriter beanValidationWriter
34+
BeanValidationFactory beanValidationWriter
3535

3636
void write (Writer target, Endpoint endpoint) {
3737
target.write ("""\

0 commit comments

Comments
 (0)