You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**Legacy Swagger 2.0 Support:** Natively parses and processes legacy `swagger: "2.0"` specifications in addition to OpenAPI 3.x, ensuring seamless backwards compatibility and bridging older APIs into the modern Rust ecosystem.
86
+
-**Model Context Protocol (MCP):** Exposes CLI commands as an MCP server over STDIO, allowing seamless integration with AI agents and other MCP clients.
86
87
87
88
## CLI Options
88
89
89
90
```text
90
91
CDD Toolchain CLI
91
92
93
+
Language-Specific Commands:
94
+
sync Synchronize DB schema to Rust models and OpenAPI-ready structs.
95
+
test-gen Generates integration tests based on OpenAPI contracts.
96
+
scaffold Scaffolds handler functions from OpenAPI Routes.
97
+
schema-gen Generates a JSON Schema from a Rust struct or enum.
98
+
92
99
Usage: cdd-rust [OPTIONS] <COMMAND>
93
100
94
101
Commands:
95
102
sync Synchronize DB schema to Rust models and OpenAPI-ready structs
96
103
test-gen Generates integration tests based on OpenAPI contracts
97
104
scaffold Scaffolds handler functions from OpenAPI Routes
98
105
schema-gen Generates a JSON Schema from a Rust struct or enum
99
-
to_docs_json Generate JSON documentation with code snippets for an OpenAPI specification.
100
-
from_openapi Generate code from an OpenAPI specification.
101
-
to_openapi Generate an OpenAPI specification from source code.
102
-
serve_json_rpc Expose CLI interface as a JSON-RPC server.
106
+
to_docs_json Generate JSON documentation with code snippets for an OpenAPI specification
107
+
from_openapi Generate code from an OpenAPI specification
108
+
to_openapi Generate an OpenAPI specification from source code
109
+
serve_json_rpc Expose CLI interface as a JSON-RPC server
110
+
mcp Expose CLI interface as an MCP server over STDIO
103
111
help Print this message or the help of the given subcommand(s)
104
112
105
113
Options:
106
114
-t, --target <TARGET>
107
115
Target mode (server or client)
108
116
109
117
Possible values:
110
-
- server-actix: Generate Actix Web server scaffolding
0 commit comments