Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Install
- [api7/jsonschema](https://github.com/api7/jsonschema) — JSON Schema Draft 4/6/7 validation
- [lua-resty-radixtree](https://github.com/api7/lua-resty-radixtree) — radix tree path routing
- [lua-cjson](https://github.com/openresty/lua-cjson) — JSON encoding/decoding
- [lua-cjson](https://github.com/openresty/lua-cjson) — JSON encoding/decoding (bundled with OpenResty, not installed via LuaRocks)

> install by luarocks
Expand Down
38 changes: 38 additions & 0 deletions rockspec/lua-resty-openapi-validator-1.0.6-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
package = "lua-resty-openapi-validator"
version = "1.0.6-1"

source = {
url = "git+https://github.com/api7/lua-resty-openapi-validator.git",
tag = "v1.0.6",
}

description = {
summary = "Pure Lua OpenAPI request validator for OpenResty",
detailed = [[
Validates HTTP requests against OpenAPI 3.0 and 3.1 specifications
using lua-resty-radixtree for path matching and api7/jsonschema for
schema validation. No Go FFI or external processes required.
]],
homepage = "https://github.com/api7/lua-resty-openapi-validator",
license = "Apache-2.0",
}

dependencies = {
"lua >= 5.1",
"jsonschema",
"lua-resty-radixtree",
}

build = {
type = "builtin",
modules = {
["resty.openapi_validator"] = "lib/resty/openapi_validator/init.lua",
["resty.openapi_validator.loader"] = "lib/resty/openapi_validator/loader.lua",
["resty.openapi_validator.refs"] = "lib/resty/openapi_validator/refs.lua",
["resty.openapi_validator.normalize"] = "lib/resty/openapi_validator/normalize.lua",
["resty.openapi_validator.router"] = "lib/resty/openapi_validator/router.lua",
["resty.openapi_validator.params"] = "lib/resty/openapi_validator/params.lua",
["resty.openapi_validator.body"] = "lib/resty/openapi_validator/body.lua",
["resty.openapi_validator.errors"] = "lib/resty/openapi_validator/errors.lua",
},
}
1 change: 0 additions & 1 deletion rockspec/lua-resty-openapi-validator-master-0.1-0.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ dependencies = {
"lua >= 5.1",
"jsonschema",
"lua-resty-radixtree",
"lua-cjson",
}

build = {
Expand Down
Loading