diff --git a/internal/exception/definitions/common.yaml b/cmd/gen_exception/definitions/common.yaml similarity index 100% rename from internal/exception/definitions/common.yaml rename to cmd/gen_exception/definitions/common.yaml diff --git a/internal/exception/definitions/endpoint.yaml b/cmd/gen_exception/definitions/endpoint.yaml similarity index 100% rename from internal/exception/definitions/endpoint.yaml rename to cmd/gen_exception/definitions/endpoint.yaml diff --git a/internal/exception/definitions/middleware.yaml b/cmd/gen_exception/definitions/middleware.yaml similarity index 100% rename from internal/exception/definitions/middleware.yaml rename to cmd/gen_exception/definitions/middleware.yaml diff --git a/internal/exception/definitions/service.yaml b/cmd/gen_exception/definitions/service.yaml similarity index 100% rename from internal/exception/definitions/service.yaml rename to cmd/gen_exception/definitions/service.yaml diff --git a/internal/exception/definitions/specific.yaml b/cmd/gen_exception/definitions/specific.yaml similarity index 100% rename from internal/exception/definitions/specific.yaml rename to cmd/gen_exception/definitions/specific.yaml diff --git a/internal/exception/definitions/status.yaml b/cmd/gen_exception/definitions/status.yaml similarity index 100% rename from internal/exception/definitions/status.yaml rename to cmd/gen_exception/definitions/status.yaml diff --git a/internal/exception/definitions/types.yaml b/cmd/gen_exception/definitions/types.yaml similarity index 100% rename from internal/exception/definitions/types.yaml rename to cmd/gen_exception/definitions/types.yaml diff --git a/cmd/gen_exception/main.go b/cmd/gen_exception/main.go index 3f70a89..44407a8 100644 --- a/cmd/gen_exception/main.go +++ b/cmd/gen_exception/main.go @@ -52,7 +52,7 @@ func recursiveParse(prefix string, raw any, items *[]ErrorItem) { } func main() { - yamlDir := "internal/exception/definitions" + yamlDir := "cmd/gen_exception/definitions" outputDir := "internal/exception" tplPath := "cmd/gen_exception/exception.tmpl"