Skip to content

Commit b7f5265

Browse files
authored
remove apache license in jaxrs, update samples (#7553)
1 parent 494c02e commit b7f5265

File tree

10 files changed

+8
-32
lines changed

10 files changed

+8
-32
lines changed

modules/openapi-generator/src/main/resources/JavaJaxRS/cxf-ext/licenseInfo.mustache

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,4 @@
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
1010
* Do not edit the class manually.
11-
*
12-
* Licensed under the Apache License, Version 2.0 (the "License");
13-
* you may not use this file except in compliance with the License.
14-
* You may obtain a copy of the License at
15-
*
16-
* https://www.apache.org/licenses/LICENSE-2.0
17-
*
18-
* Unless required by applicable law or agreed to in writing, software
19-
* distributed under the License is distributed on an "AS IS" BASIS,
20-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21-
* See the License for the specific language governing permissions and
22-
* limitations under the License.
2311
*/

modules/openapi-generator/src/main/resources/JavaJaxRS/cxf/licenseInfo.mustache

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,4 @@
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
99
* https://openapi-generator.tech
1010
* Do not edit the class manually.
11-
*
12-
* Licensed under the Apache License, Version 2.0 (the "License");
13-
* you may not use this file except in compliance with the License.
14-
* You may obtain a copy of the License at
15-
*
16-
* https://www.apache.org/licenses/LICENSE-2.0
17-
*
18-
* Unless required by applicable law or agreed to in writing, software
19-
* distributed under the License is distributed on an "AS IS" BASIS,
20-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21-
* See the License for the specific language governing permissions and
22-
* limitations under the License.
2311
*/

samples/client/petstore/jaxrs-cxf-client/src/gen/java/org/openapitools/api/UserApi.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public interface UserApi {
3434
*
3535
*/
3636
@POST
37+
3738
@ApiOperation(value = "Create user", tags={ })
3839
@ApiResponses(value = {
3940
@ApiResponse(code = 200, message = "successful operation") })

samples/server/petstore/jaxrs-cxf-test-data/src/gen/java/org/openapitools/model/FormatTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ public FormatTest string(String string) {
251251
*/
252252
@JsonProperty("byte")
253253
@NotNull
254-
@Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") public byte[] getByte() {
254+
public byte[] getByte() {
255255
return _byte;
256256
}
257257

samples/server/petstore/jaxrs-cxf-test-data/src/main/java/org/openapitools/api/impl/AnotherFakeApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class AnotherFakeApiServiceImpl implements AnotherFakeApi {
3535
{
3636
try {
3737
File cacheFile = new File(System.getProperty("jaxrs.test.server.json",
38-
"/Users/par/git/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
38+
"/Users/williamcheng/Code/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
3939
cache = JsonCache.Factory.instance.get("test-data").load(cacheFile).child("/org.openapitools.api/AnotherFakeApi");
4040
} catch (CacheException e) {
4141
e.printStackTrace();

samples/server/petstore/jaxrs-cxf-test-data/src/main/java/org/openapitools/api/impl/FakeApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class FakeApiServiceImpl implements FakeApi {
4343
{
4444
try {
4545
File cacheFile = new File(System.getProperty("jaxrs.test.server.json",
46-
"/Users/par/git/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
46+
"/Users/williamcheng/Code/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
4747
cache = JsonCache.Factory.instance.get("test-data").load(cacheFile).child("/org.openapitools.api/FakeApi");
4848
} catch (CacheException e) {
4949
e.printStackTrace();

samples/server/petstore/jaxrs-cxf-test-data/src/main/java/org/openapitools/api/impl/FakeClassnameTags123ApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class FakeClassnameTags123ApiServiceImpl implements FakeClassnameTags123A
3535
{
3636
try {
3737
File cacheFile = new File(System.getProperty("jaxrs.test.server.json",
38-
"/Users/par/git/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
38+
"/Users/williamcheng/Code/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
3939
cache = JsonCache.Factory.instance.get("test-data").load(cacheFile).child("/org.openapitools.api/FakeClassnameTags123Api");
4040
} catch (CacheException e) {
4141
e.printStackTrace();

samples/server/petstore/jaxrs-cxf-test-data/src/main/java/org/openapitools/api/impl/PetApiServiceImpl.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import org.openapitools.model.ModelApiResponse;
99
import org.openapitools.model.Pet;
1010
import java.util.Set;
11-
import org.openapitools.model.Tag;
1211

1312
import java.io.InputStream;
1413
import java.io.OutputStream;
@@ -40,7 +39,7 @@ public class PetApiServiceImpl implements PetApi {
4039
{
4140
try {
4241
File cacheFile = new File(System.getProperty("jaxrs.test.server.json",
43-
"/Users/par/git/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
42+
"/Users/williamcheng/Code/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
4443
cache = JsonCache.Factory.instance.get("test-data").load(cacheFile).child("/org.openapitools.api/PetApi");
4544
} catch (CacheException e) {
4645
e.printStackTrace();

samples/server/petstore/jaxrs-cxf-test-data/src/main/java/org/openapitools/api/impl/StoreApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class StoreApiServiceImpl implements StoreApi {
3535
{
3636
try {
3737
File cacheFile = new File(System.getProperty("jaxrs.test.server.json",
38-
"/Users/par/git/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
38+
"/Users/williamcheng/Code/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
3939
cache = JsonCache.Factory.instance.get("test-data").load(cacheFile).child("/org.openapitools.api/StoreApi");
4040
} catch (CacheException e) {
4141
e.printStackTrace();

samples/server/petstore/jaxrs-cxf-test-data/src/main/java/org/openapitools/api/impl/UserApiServiceImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class UserApiServiceImpl implements UserApi {
3535
{
3636
try {
3737
File cacheFile = new File(System.getProperty("jaxrs.test.server.json",
38-
"/Users/par/git/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
38+
"/Users/williamcheng/Code/openapi-generator/samples/server/petstore/jaxrs-cxf-test-data/src/main/resources/test-data.json"));
3939
cache = JsonCache.Factory.instance.get("test-data").load(cacheFile).child("/org.openapitools.api/UserApi");
4040
} catch (CacheException e) {
4141
e.printStackTrace();

0 commit comments

Comments
 (0)