Open
Description
Has anyone used Swagger (eg Swashbuckle) to document an API that exposes a CloudEvent (eg adding Swagger to this sample)?
I'm seeing a bunch of clr types being added to the swagger.json (Type, Assembly etc). This seems to be caused by the CloudEventAttributeType exposing the property ClrType which returns a Type.
I was wondering whether this is a known issue, and whether there's an existing workaround?
I was considering customizing the swagger by providing an override for Type eg https://github.com/cloudevents/sdk-csharp/tree/master/samples/CloudNative.CloudEvents.AspNetCoreSample