bluesky49New Contributor3 years agoIntegration swagger with ExpressI have faced critical issue while integrating swagger into express project.I have followed the swagger document but swagger endpoint returns raw HTML.Who can help me?
2 RepliesReplies sorted by Most LikedponelatStaff3 years agoHI bluesky49 , That sounds like a middleware issue, where the "Content-Type" is text/plain (or similar), instead of text/html. bluesky49New Contributor to ponelat3 years agoI have tried it, but the error happened again.
ponelatStaff3 years agoHI bluesky49 , That sounds like a middleware issue, where the "Content-Type" is text/plain (or similar), instead of text/html.
Recent DiscussionsHow do I validate the key of a object type schema | v3.0.4Use anyOf/oneOf with codegen?Hiding one of multiple routes for an endpoint - Swagger c# .net 4.8
Related ContentHow to express an array in a swagger definitionError: "No operations defined in spec!" - using ES6 Node Express with Consign & SwaggerReadyApi integration with Swagger