Skip to content

Commit eb8be6f

Browse files
authored
Merge pull request #85 from hauner/header
resolves #83
2 parents b2582cc + 839a6fb commit eb8be6f

File tree

34 files changed

+51
-32
lines changed

34 files changed

+51
-32
lines changed

src/main/groovy/com/github/hauner/openapi/spring/model/datatypes/NoneDataType.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,5 @@ class NoneDataType implements DataType {
4242
Set<String> getReferencedImports () {
4343
[]
4444
}
45+
4546
}

src/main/groovy/com/github/hauner/openapi/spring/model/datatypes/ObjectDataType.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,5 @@ class ObjectDataType implements DataType {
7272
DataTypeConstraints getConstraints () {
7373
constraints
7474
}
75+
7576
}

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019 the original authors
2+
* Copyright 2019-2020 the original authors
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@ class HeaderWriter {
2525

2626
static String HEADER = """\
2727
/*
28-
* This class is auto generated by https://github.com/hauner/openapi-generatr-spring.
28+
* This class is auto generated by https://github.com/hauner/openapi-processor-spring.
2929
* DO NOT EDIT.
3030
*/
3131
@@ -34,4 +34,5 @@ class HeaderWriter {
3434
void write(Writer target) {
3535
target.write (HEADER)
3636
}
37+
3738
}

src/test/groovy/com/github/hauner/openapi/spring/model/datatypes/MappedDataTypeSpec.groovy

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2019 the original authors
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package com.github.hauner.openapi.spring.model.datatypes
218

319
import spock.lang.Specification

src/testInt/resources/bean-validation/generated/api/EndpointApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This class is auto generated by https://github.com/hauner/openapi-generatr-spring.
2+
* This class is auto generated by https://github.com/hauner/openapi-processor-spring.
33
* DO NOT EDIT.
44
*/
55

src/testInt/resources/bean-validation/generated/model/Obj1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This class is auto generated by https://github.com/hauner/openapi-generatr-spring.
2+
* This class is auto generated by https://github.com/hauner/openapi-processor-spring.
33
* DO NOT EDIT.
44
*/
55

src/testInt/resources/bean-validation/generated/model/Obj2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This class is auto generated by https://github.com/hauner/openapi-generatr-spring.
2+
* This class is auto generated by https://github.com/hauner/openapi-processor-spring.
33
* DO NOT EDIT.
44
*/
55

src/testInt/resources/endpoint-exclude/generated/api/Api.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This class is auto generated by https://github.com/hauner/openapi-generatr-spring.
2+
* This class is auto generated by https://github.com/hauner/openapi-processor-spring.
33
* DO NOT EDIT.
44
*/
55

src/testInt/resources/endpoint-exclude/generated/api/ExcludedApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This class is auto generated by https://github.com/hauner/openapi-generatr-spring.
2+
* This class is auto generated by https://github.com/hauner/openapi-processor-spring.
33
* DO NOT EDIT.
44
*/
55

src/testInt/resources/no-response-content/generated/api/EndpointApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* This class is auto generated by https://github.com/hauner/openapi-generatr-spring.
2+
* This class is auto generated by https://github.com/hauner/openapi-processor-spring.
33
* DO NOT EDIT.
44
*/
55

0 commit comments

Comments
 (0)