MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / experimental_routes

Function experimental_routes

crates/opencode-server/src/routes.rs:3992–4013  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3990}
3991
3992fn experimental_routes() -> Router<Arc<ServerState>> {
3993 Router::new()
3994 .route("/", get(list_experimental))
3995 .route("/analyze", post(experimental_analyze))
3996 .route("/generate", post(experimental_generate))
3997 .route("/refactor", post(experimental_refactor))
3998 .route("/test", post(experimental_test))
3999 .route(
4000 "/{feature}",
4001 post(enable_experimental).delete(disable_experimental),
4002 )
4003 .route("/tool/ids", get(list_tool_ids))
4004 .route("/tool", get(list_tools))
4005 .route(
4006 "/worktree",
4007 get(list_worktrees)
4008 .post(create_worktree)
4009 .delete(remove_worktree),
4010 )
4011 .route("/worktree/reset", post(reset_worktree))
4012 .route("/resource", get(list_resources))
4013}
4014
4015#[derive(Debug, Serialize)]
4016pub struct ExperimentalFeature {

Callers 1

routerFunction · 0.85

Calls 3

newFunction · 0.85
getFunction · 0.50
deleteMethod · 0.45

Tested by

no test coverage detected