AWS Schema Registry (AWS EventBridge) requires OpenApi3 schema documents.
I have a dotnet assembly with types that are used for Detail of an AWS EventBridge message in an AWS Lambda Function assembly.
I would like to generate the OpenApi3 document for these types.
I have completed a spike where these types are return types of ASP.NET application and checked the swagger output. These desired types are present in the swagger output. But, these types do not live in the ASP.NET application, nor are they used in the ASP.NET core application. So, I know they can be generated into the schema.
I want to leave them in the AWS Lambda Function assembly but generate the schema into an OpenApiDocument. I have tried using nswag studio to examine the assembly, but since they are neither inputs or outputs of controller method (there are no controllers - it is an AWS Lambda assembly), they are not generating.
Any ideas on how I can generate the OpenApi3 schema document from types located in a library assembly like this?