openapi-generator/samples/client/petstore/lua/petstore-1.0.0-1.rockspec
William Cheng a2410b210c
Add auto-generated rockspec file to Lua API client (#7475)
* add luarocks spec

* remove trailing spaces

* remove rockspec filename option

* update lua rockspec

* update rockspec based on feedback

* remove configuration which is not needed

* remove api_client, which is no longer needed
2018-01-27 17:09:45 +08:00

37 lines
1.1 KiB
Lua

package = "petstore"
version = "1.0.0-1"
source = {
url = "https://github.com/GIT_USER_ID/GIT_REPO_ID.git"
}
description = {
summary = "API client genreated by Swagger Codegen",
detailed = [[
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.]],
homepage = "https://github.com/swagger-api/swagger-codegen",
license = "Unlicense",
maintainer = "Swagger Codegen contributors",
}
dependencies = {
"lua >= 5.2",
"http",
"dkjson",
"basexx"
}
build = {
type = "builtin",
modules = {
["pet_api"] = "petstore/api/pet_api.lua";
["store_api"] = "petstore/api/store_api.lua";
["user_api"] = "petstore/api/user_api.lua";
["api_response"] = "petstore/model/api_response.lua";
["category"] = "petstore/model/category.lua";
["order"] = "petstore/model/order.lua";
["pet"] = "petstore/model/pet.lua";
["tag"] = "petstore/model/tag.lua";
["user"] = "petstore/model/user.lua";
}
}