MMLib.SwaggerForOcelot | This repo contains swagger extension for ocelot | Proxy library
kandi X-RAY | MMLib.SwaggerForOcelot Summary
kandi X-RAY | MMLib.SwaggerForOcelot Summary
SwaggerForOcelot combines two amazing projects Swashbuckle.AspNetCore and Ocelot. Allows you to view and use swagger documentation for downstream services directly through the Ocelot project. Direct via provides documentation for downstream services configured in ocelot.json. Additionally, the addresses are modified to match the UpstreamPathTemplate from the configuration. Did this project help you? You can now buy me a beer .
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of MMLib.SwaggerForOcelot
MMLib.SwaggerForOcelot Key Features
MMLib.SwaggerForOcelot Examples and Code Snippets
Community Discussions
Trending Discussions on MMLib.SwaggerForOcelot
QUESTION
I'm using Swagger for Ocelot in .Net microservice gateway. I'm using the following package for ocelot swagger:
Install-Package MMLib.SwaggerForOcelot -Version 1.10.1
I'm getting this following issue.
As I mentioned in the image, the http is replicating in the gateway request URL
My project config is following,
...ANSWER
Answered 2020-Jan-17 at 06:49It looks like issue The scheme is duplicated.
Unfortunately it is still not fixed.
As a workaround you can downgrade to version 1.8
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install MMLib.SwaggerForOcelot
Configure SwaggerGen in your downstream services. Follow the SwashbuckleAspNetCore documentation.
Install Nuget package into yout ASP.NET Core Ocelot project. dotnet add package MMLib.SwaggerForOcelot
Configure SwaggerForOcelot in ocelot.json.
In the ConfigureServices method of Startup.cs, register the SwaggerForOcelot generator.
In Configure method, insert the SwaggerForOcelot middleware to expose interactive documentation.
Show your microservices interactive documentation. http://ocelotserviceurl/swagger
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page