Skip to content

High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.

refactor: prepare endpoint struct for enriched documentation (params, examples, descriptions)

Mario8564d231af3c
diff --git a/scripts/gen-api-docs/main.go b/scripts/gen-api-docs/main.go
index d02cfddb..09979246 100644
--- a/scripts/gen-api-docs/main.go
+++ b/scripts/gen-api-docs/main.go
@@ -14,10 +14,20 @@ import (
)
type Endpoint struct {
- Method string
- Path string
- Handler string
- Doc string
+ Method string
+ Path string
+ Handler string
+ Doc string
+ Description string
+ Params []Param
+ Examples map[string]string // format -> example code
+}
+
+type Param struct {
+ Name string
+ Type string
+ Location string // query, body, path
+ Description string
}
func main() {