File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1255,12 +1255,12 @@ The tool execution handler is responsible for actually executing the logic of ea
1255
1255
// Create an HTTP client with a default request configuration and JSON content negotiation
1256
1256
val httpClient = HttpClient {
1257
1257
defaultRequest {
1258
- url(" https://api.weather.gov" )
1259
- headers {
1260
- append(" Accept" , " application/geo+json" )
1261
- append(" User-Agent" , " WeatherApiClient/1.0" )
1262
- }
1263
- contentType(ContentType .Application .Json )
1258
+ url(" https://api.weather.gov" )
1259
+ headers {
1260
+ append(" Accept" , " application/geo+json" )
1261
+ append(" User-Agent" , " WeatherApiClient/1.0" )
1262
+ }
1263
+ contentType(ContentType .Application .Json )
1264
1264
}
1265
1265
// Install content negotiation plugin for JSON serialization/deserialization
1266
1266
install(ContentNegotiation ) { json(Json { ignoreUnknownKeys = true }) }
You can’t perform that action at this time.
0 commit comments