Implementing Swashbuckle/Swagger with .net Core 2 API I am now receiving the 500 error when accessing swagger.json:
NotSupportedException: Ambiguous HTTP
Similar to totonho's answer you can use
[ApiExplorerSettings(IgnoreApi=true)]
(From https://github.com/domaindrivendev/Swashbuckle/issues/153 )