forked from loafle/openapi-generator-original
update lua default value (#379)
This commit is contained in:
parent
ded082202e
commit
b24df8882f
@ -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;
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user