Unhandled exception. System.AggregateException: One or more errors occurred. (JsonTypeInfo metadata for type 'System.Threading.Tasks.Task`1[System.String]' was not provided by TypeInfoResolver of type '[SpinHttpWorld.wit.exports.wasi.http.v0_2_0.AppJsonSerializerContext, Microsoft.AspNetCore.OpenApi.OpenApiJsonSchemaContext]'. If using source generation, ensure that all root types passed to the serializer have been annotated with 'JsonSerializableAttribute', along with any types that might be serialized polymorphically.)
Given a minimal API endpoint such as the following:
Results in an error at runtime: