Skip to content

Commit fdae19b

Browse files
authored
Merge pull request #3111 from swagger-api/perl_license
[Perl] add apache 2.0 license to perl api client
2 parents 5ea2e2f + 7de95c5 commit fdae19b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+3562
-417
lines changed

modules/swagger-codegen/src/main/resources/perl/ApiClient.mustache

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{>partial_license}}
2+
#
3+
# NOTE: This class is auto generated by the swagger code generator program.
4+
# Do not edit the class manually.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
6+
#
17
package {{moduleName}}::ApiClient;
28

39
use strict;

modules/swagger-codegen/src/main/resources/perl/ApiFactory.mustache

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{>partial_license}}
2+
#
3+
# NOTE: This class is auto generated by the swagger code generator program.
4+
# Do not edit the class manually.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
6+
#
17
package {{moduleName}}::ApiFactory;
28

39
use strict;

modules/swagger-codegen/src/main/resources/perl/AutoDoc.mustache

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{>partial_license}}
2+
#
3+
# NOTE: This class is auto generated by the swagger code generator program.
4+
# Do not edit the class manually.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
6+
#
17
package {{moduleName}}::Role::AutoDoc;
28
use List::MoreUtils qw(uniq);
39

modules/swagger-codegen/src/main/resources/perl/BaseObject.mustache

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{>partial_license}}
2+
#
3+
# NOTE: This class is auto generated by the swagger code generator program.
4+
# Do not edit the class manually.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
6+
#
17
__PACKAGE__->mk_classdata('attribute_map' => {});
28
__PACKAGE__->mk_classdata('swagger_types' => {});
39
__PACKAGE__->mk_classdata('method_documentation' => {});

modules/swagger-codegen/src/main/resources/perl/Configuration.mustache

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{>partial_license}}
2+
#
3+
# NOTE: This class is auto generated by the swagger code generator program.
4+
# Do not edit the class manually.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
6+
#
17
package {{moduleName}}::Configuration;
28

39
use strict;

modules/swagger-codegen/src/main/resources/perl/Role.mustache

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{>partial_license}}
2+
#
3+
# NOTE: This class is auto generated by the swagger code generator program.
4+
# Do not edit the class manually.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
6+
#
17
package {{moduleName}}::Role;
28
use utf8;
39

modules/swagger-codegen/src/main/resources/perl/api.mustache

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1-
#
2-
# Copyright 2016 SmartBear Software
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-
#
1+
{{>partial_license}}
162
#
173
# NOTE: This class is auto generated by the swagger code generator program.
184
# Do not edit the class manually.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
196
#
207
package {{moduleName}}::{{classname}};
218

modules/swagger-codegen/src/main/resources/perl/api_test.mustache

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,8 @@
1-
#
2-
# Copyright 2016 SmartBear Software
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-
#
1+
{{>partial_license}}
162
#
173
# NOTE: This class is auto generated by Swagger Codegen
18-
# Please update the test case below to test the API endpoints.
4+
# Please update the test cases below to test the API endpoints.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
196
#
207
use Test::More tests => 1; #TODO update number of test cases
218
use Test::Exception;

modules/swagger-codegen/src/main/resources/perl/object.mustache

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
{{>partial_license}}
2+
#
3+
# NOTE: This class is auto generated by the swagger code generator program.
4+
# Do not edit the class manually.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
6+
#
17
{{#models}}
28
{{#model}}
39
package {{moduleName}}::Object::{{classname}};
@@ -19,7 +25,8 @@ use base ("Class::Accessor", "Class::Data::Inheritable");
1925
#
2026
#{{description}}
2127
#
22-
#NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
28+
# NOTE: This class is auto generated by the swagger code generator program. Do not edit the class manually.
29+
# REF: https://github.com/swagger-api/swagger-codegen
2330
#
2431

2532
{{>BaseObject}}

modules/swagger-codegen/src/main/resources/perl/object_test.mustache

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
{{>partial_license}}
2+
#
13
# NOTE: This class is auto generated by the Swagger Codegen
2-
# Please update the test case below to test the model.
3-
4+
# Please update the test cases below to test the model.
5+
# Ref: https://github.com/swagger-api/swagger-codegen
6+
#
47
use Test::More tests => 2;
58
use Test::Exception;
69

0 commit comments

Comments
 (0)