diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/LuaClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/LuaClientCodegen.java index d235fd634ca..a930d0bd3b1 100644 --- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/LuaClientCodegen.java +++ b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/LuaClientCodegen.java @@ -36,11 +36,11 @@ public class LuaClientCodegen extends DefaultCodegen implements CodegenConfig { static Logger LOGGER = LoggerFactory.getLogger(LuaClientCodegen.class); protected String specFolder = "spec"; - protected String packageName = "swagger-client"; + protected String packageName = "openapi-client"; protected String packageVersion = "1.0.0-1"; protected String apiDocPath = "docs/"; protected String modelDocPath = "docs/"; - protected String luaRocksFilename = "swagger-client-1.0.0-1.rockspec"; + protected String luaRocksFilename = "openapi-client-1.0.0-1.rockspec"; public CodegenType getTag() { return CodegenType.CLIENT; diff --git a/samples/client/petstore/lua/spec/api_response_spec.lua b/samples/client/petstore/lua/spec/api_response_spec.lua index 191436941f8..3d463e6f9be 100644 --- a/samples/client/petstore/lua/spec/api_response_spec.lua +++ b/samples/client/petstore/lua/spec/api_response_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.model.api_response -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("api_response", function() diff --git a/samples/client/petstore/lua/spec/category_spec.lua b/samples/client/petstore/lua/spec/category_spec.lua index 300e6e9339a..411832b5f3d 100644 --- a/samples/client/petstore/lua/spec/category_spec.lua +++ b/samples/client/petstore/lua/spec/category_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.model.category -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("category", function() diff --git a/samples/client/petstore/lua/spec/order_spec.lua b/samples/client/petstore/lua/spec/order_spec.lua index 03bc1ea94f8..2dc80e00692 100644 --- a/samples/client/petstore/lua/spec/order_spec.lua +++ b/samples/client/petstore/lua/spec/order_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.model.order -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("order", function() diff --git a/samples/client/petstore/lua/spec/pet_api_spec.lua b/samples/client/petstore/lua/spec/pet_api_spec.lua index e8e16229bc9..fc7c09ad1f9 100644 --- a/samples/client/petstore/lua/spec/pet_api_spec.lua +++ b/samples/client/petstore/lua/spec/pet_api_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.api.pet_api -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("pet_api", function() diff --git a/samples/client/petstore/lua/spec/pet_spec.lua b/samples/client/petstore/lua/spec/pet_spec.lua index ee27654a9e3..88581e10828 100644 --- a/samples/client/petstore/lua/spec/pet_spec.lua +++ b/samples/client/petstore/lua/spec/pet_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.model.pet -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("pet", function() diff --git a/samples/client/petstore/lua/spec/store_api_spec.lua b/samples/client/petstore/lua/spec/store_api_spec.lua index 7b3104e0e1e..dca89765496 100644 --- a/samples/client/petstore/lua/spec/store_api_spec.lua +++ b/samples/client/petstore/lua/spec/store_api_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.api.store_api -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("store_api", function() diff --git a/samples/client/petstore/lua/spec/tag_spec.lua b/samples/client/petstore/lua/spec/tag_spec.lua index 5ecc2405f1f..c23d5de3ef2 100644 --- a/samples/client/petstore/lua/spec/tag_spec.lua +++ b/samples/client/petstore/lua/spec/tag_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.model.tag -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("tag", function() diff --git a/samples/client/petstore/lua/spec/user_api_spec.lua b/samples/client/petstore/lua/spec/user_api_spec.lua index 9cddd8dce6d..eae858d3e00 100644 --- a/samples/client/petstore/lua/spec/user_api_spec.lua +++ b/samples/client/petstore/lua/spec/user_api_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.api.user_api -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("user_api", function() diff --git a/samples/client/petstore/lua/spec/user_spec.lua b/samples/client/petstore/lua/spec/user_spec.lua index 03c6d655e30..17d97e2f455 100644 --- a/samples/client/petstore/lua/spec/user_spec.lua +++ b/samples/client/petstore/lua/spec/user_spec.lua @@ -1,16 +1,16 @@ --[[ - Swagger Petstore + OpenAPI Petstore - This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters. + This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. OpenAPI spec version: 1.0.0 - Contact: apiteam@swagger.io - Generated by: https://github.com/swagger-api/swagger-codegen.git + + Generated by: https://openapi-generator.tech ]] --[[ Unit tests for petstore.model.user -Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen) +Automatically generated by openapi-generator (https://openapi-generator.tech) Please update as you see appropriate ]] describe("user", function()