MCPcopy Index your code
hub / github.com/ChrisFeldmeier/OpenCodeRust / provider_routes

Function provider_routes

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

Source from the content-addressed store, hash-verified

2139}
2140
2141fn provider_routes() -> Router<Arc<ServerState>> {
2142 Router::new()
2143 .route("/", get(list_providers))
2144 .route("/auth", get(get_provider_auth))
2145 .route("/{id}/oauth/authorize", post(oauth_authorize))
2146 .route("/{id}/oauth/callback", post(oauth_callback))
2147}
2148
2149#[derive(Debug, Serialize)]
2150pub struct ProviderListResponse {

Callers 1

routerFunction · 0.85

Calls 2

newFunction · 0.85
getFunction · 0.50

Tested by

no test coverage detected