Skip to content

Commit 027fb2f

Browse files
stkrworkwing328
authored andcommitted
- Removed unnecessary line in in Restbed Codegen Constructor (#6675)
- Updated samples
1 parent 96444d3 commit 027fb2f

File tree

20 files changed

+19
-21
lines changed

20 files changed

+19
-21
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ public RestbedCodegen() {
9999
addOption(DEFAULT_INCLUDE,
100100
"The default include statement that should be placed in all headers for including things like the declspec (convention: #include \"Commons.h\" ",
101101
this.defaultInclude);
102-
103-
reservedWords = new HashSet<String>();
104102

105103
supportingFiles.add(new SupportingFile("gitignore.mustache", "", ".gitignore"));
106104
supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.2.3-SNAPSHOT
1+
2.3.0-SNAPSHOT

samples/server/petstore/restbed/api/PetApi.cpp

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

samples/server/petstore/restbed/api/PetApi.h

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

samples/server/petstore/restbed/api/StoreApi.cpp

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

samples/server/petstore/restbed/api/StoreApi.h

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

samples/server/petstore/restbed/api/UserApi.cpp

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

samples/server/petstore/restbed/api/UserApi.h

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

samples/server/petstore/restbed/model/ApiResponse.cpp

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

samples/server/petstore/restbed/model/ApiResponse.h

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

samples/server/petstore/restbed/model/Category.cpp

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

samples/server/petstore/restbed/model/Category.h

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

samples/server/petstore/restbed/model/Order.cpp

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

samples/server/petstore/restbed/model/Order.h

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

samples/server/petstore/restbed/model/Pet.cpp

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

samples/server/petstore/restbed/model/Pet.h

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

samples/server/petstore/restbed/model/Tag.cpp

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

samples/server/petstore/restbed/model/Tag.h

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

samples/server/petstore/restbed/model/User.cpp

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

samples/server/petstore/restbed/model/User.h

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

0 commit comments

Comments
 (0)