Closed eloekset closed 4 years ago
I've got an OData API that defines an action like this:
// ExportCustomerLicenseContent ActionConfiguration exportCustomerLicenseContent = builder.Action(nameof(CustomerLicenseViewModelsController.ExportCustomerLicenseContent)); exportCustomerLicenseContent.Parameter<Guid>("CustomerLicenseId");
The controller method returns void. This is intended, and the API works fine. But Swashbuckle.OData expects an action to always have a return type, and fails to generate a SwaggerDocument for my API.
I've got an OData API that defines an action like this:
The controller method returns void. This is intended, and the API works fine. But Swashbuckle.OData expects an action to always have a return type, and fails to generate a SwaggerDocument for my API.