Skip to content

Commit 963b9e8

Browse files
authored
Merge branch 'master' into bugfix/go-enum-conflict
2 parents e829f94 + f147928 commit 963b9e8

File tree

549 files changed

+809
-1035
lines changed

Some content is hidden

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

549 files changed

+809
-1035
lines changed

README.md

Lines changed: 2 additions & 0 deletions

modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/FlaskConnexionCodegen.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -688,10 +688,8 @@ public void postProcessPattern(String pattern, Map<String, Object> vendorExtensi
688688
if(pattern != null) {
689689
int i = pattern.lastIndexOf('/');
690690

691-
//Must follow Perl /pattern/modifiers convention
692691
if(pattern.charAt(0) != '/' || i < 2) {
693-
throw new IllegalArgumentException("Pattern must follow the Perl "
694-
+ "/pattern/modifiers convention. "+pattern+" is not valid.");
692+
pattern = String.format("/%s/", pattern);
695693
}
696694

697695
String regex = pattern.substring(1, i).replace("'", "\\'");

modules/swagger-codegen/src/main/java/io/swagger/codegen/languages/PythonClientCodegen.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,8 @@ public void postProcessPattern(String pattern, Map<String, Object> vendorExtensi
265265
if(pattern != null) {
266266
int i = pattern.lastIndexOf('/');
267267

268-
//Must follow Perl /pattern/modifiers convention
269268
if(pattern.charAt(0) != '/' || i < 2) {
270-
throw new IllegalArgumentException("Pattern must follow the Perl "
271-
+ "/pattern/modifiers convention. "+pattern+" is not valid.");
269+
pattern = String.format("/%s/", pattern);
272270
}
273271

274272
String regex = pattern.substring(1, i).replace("'", "\\'");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.0-SNAPSHOT
1+
2.4.3-SNAPSHOT

samples/client/petstore/ada/src/client/samples-petstore-clients.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- OpenAPI spec version: 1.0.0
55
-- Contact: [email protected]
66
--
7-
-- NOTE: This package is auto generated by the swagger code generator 2.4.0-SNAPSHOT.
7+
-- NOTE: This package is auto generated by the swagger code generator 2.4.3-SNAPSHOT.
88
-- https://github.com/swagger-api/swagger-codegen.git
99
-- Do not edit the class manually.
1010
with Swagger.Streams;

samples/client/petstore/ada/src/client/samples-petstore-clients.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- OpenAPI spec version: 1.0.0
55
-- Contact: [email protected]
66
--
7-
-- NOTE: This package is auto generated by the swagger code generator 2.4.0-SNAPSHOT.
7+
-- NOTE: This package is auto generated by the swagger code generator 2.4.3-SNAPSHOT.
88
-- https://github.com/swagger-api/swagger-codegen.git
99
-- Do not edit the class manually.
1010
with Samples.Petstore.Models;

samples/client/petstore/ada/src/model/samples-petstore-models.adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- OpenAPI spec version: 1.0.0
55
-- Contact: [email protected]
66
--
7-
-- NOTE: This package is auto generated by the swagger code generator 2.4.0-SNAPSHOT.
7+
-- NOTE: This package is auto generated by the swagger code generator 2.4.3-SNAPSHOT.
88
-- https://github.com/swagger-api/swagger-codegen.git
99
-- Do not edit the class manually.
1010

samples/client/petstore/ada/src/model/samples-petstore-models.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
-- OpenAPI spec version: 1.0.0
55
-- Contact: [email protected]
66
--
7-
-- NOTE: This package is auto generated by the swagger code generator 2.4.0-SNAPSHOT.
7+
-- NOTE: This package is auto generated by the swagger code generator 2.4.3-SNAPSHOT.
88
-- https://github.com/swagger-api/swagger-codegen.git
99
-- Do not edit the class manually.
1010
with Swagger.Streams;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.0-SNAPSHOT
1+
2.4.3-SNAPSHOT
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.0-SNAPSHOT
1+
2.4.3-SNAPSHOT

0 commit comments

Comments
 (0)