From e4123dab32b50ae26f50a0f7ba9d3e2e6aef0143 Mon Sep 17 00:00:00 2001 From: chronolaw Date: Mon, 9 Sep 2024 09:39:01 +0800 Subject: [PATCH] add ldoc comments --- spec/details/dns.lua | 8 ++++++++ spec/details/misc.lua | 8 ++++++++ spec/details/shell.lua | 8 ++++++++ 3 files changed, 24 insertions(+) diff --git a/spec/details/dns.lua b/spec/details/dns.lua index 792ed4bc0873..d7aa04111885 100644 --- a/spec/details/dns.lua +++ b/spec/details/dns.lua @@ -1,3 +1,11 @@ +------------------------------------------------------------------ +-- Collection of utilities to help testing Kong features and plugins. +-- +-- @copyright Copyright 2016-2022 Kong Inc. All rights reserved. +-- @license [Apache 2.0](https://opensource.org/licenses/Apache-2.0) +-- @module spec.helpers + + local cjson = require("cjson.safe") diff --git a/spec/details/misc.lua b/spec/details/misc.lua index 0a288ff13b85..3cd97a91c6fa 100644 --- a/spec/details/misc.lua +++ b/spec/details/misc.lua @@ -1,3 +1,11 @@ +------------------------------------------------------------------ +-- Collection of utilities to help testing Kong features and plugins. +-- +-- @copyright Copyright 2016-2022 Kong Inc. All rights reserved. +-- @license [Apache 2.0](https://opensource.org/licenses/Apache-2.0) +-- @module spec.helpers + + -- miscellaneous diff --git a/spec/details/shell.lua b/spec/details/shell.lua index fffdfc49358d..76a5005d3b91 100644 --- a/spec/details/shell.lua +++ b/spec/details/shell.lua @@ -1,3 +1,11 @@ +------------------------------------------------------------------ +-- Collection of utilities to help testing Kong features and plugins. +-- +-- @copyright Copyright 2016-2022 Kong Inc. All rights reserved. +-- @license [Apache 2.0](https://opensource.org/licenses/Apache-2.0) +-- @module spec.helpers + + local shell = require("resty.shell") local conf_loader = require("kong.conf_loader") local strip = require("kong.tools.string").strip