From 0997edddc20255d4d6d8181e2627552b836bf0f4 Mon Sep 17 00:00:00 2001 From: "Stefan M." Date: Wed, 26 Mar 2025 11:33:38 +0100 Subject: [PATCH] Fix kotlin defaultRequest indention --- quickstart/server.mdx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/quickstart/server.mdx b/quickstart/server.mdx index 94f86b9..0b5107e 100644 --- a/quickstart/server.mdx +++ b/quickstart/server.mdx @@ -1255,12 +1255,12 @@ The tool execution handler is responsible for actually executing the logic of ea // Create an HTTP client with a default request configuration and JSON content negotiation val httpClient = HttpClient { defaultRequest { - url("https://api.weather.gov") - headers { - append("Accept", "application/geo+json") - append("User-Agent", "WeatherApiClient/1.0") - } - contentType(ContentType.Application.Json) + url("https://api.weather.gov") + headers { + append("Accept", "application/geo+json") + append("User-Agent", "WeatherApiClient/1.0") + } + contentType(ContentType.Application.Json) } // Install content negotiation plugin for JSON serialization/deserialization install(ContentNegotiation) { json(Json { ignoreUnknownKeys = true }) }