ContributionsMost RecentMost LikesSolutionsRe: Failed to fetch default response Hi msens, there's no way to do this unfortunately. Swagger UI won't let you "fake" a response when the entire request fails. If you want this behavior, I suggest putting a load balancer or reverse proxy in front of your server that is capable of sending back HTTP 500 responses when your API server is unavailable. Re: OAuth via Auth0 with a JWT kbcb, are you sure your Auth0 instance is configured to hand back an Access Token as a JWT? Swagger UI just uses token that it is given by the tokenUrl, so this is probably an issue with your auth provider. Re: Codeblock color and text color changed itself cricketics it doesn't, you'd need to have your own instance of Swagger Editor deployed in order to use custom CSS. Re: Download updated Swagger JSON after setting host Hi suhasOracle! There's no way to have Swagger UI produce a JSON document based on the host information you're setting with setHost(), but you can have it dynamically change based on the URL of your swagger.json by leaving host out completely: If the host is not included, the host serving the documentation is to be used (including the port) OpenAPI 2.0 Specification Re: swagger-ui, deepLinking does not seem to be working Hey phillip! This sounds like a bug -- please open a new Swagger UI issue on GitHub! Re: Codeblock color and text color changed itself Hi cricketics! We recently changed the code block styling to be more consistent throughout Swagger UI - previously, the styling differed based on where your code block was in your document. We may change it again in the future, as there's a larger review of our design and UX going on. In the meantime, here's some custom CSS that may restore the functionality you want: .swagger-ui .markdown code, .swagger-ui .renderedMarkdown code { color: white; background-color: black; } Re: Can "try it out" be disabled/hidden from online editor Swagger UI is free as well, you can find it on GitHub: http://github.com/swagger-api/swagger-ui/ You don't need to switch to Swagger UI to use the option I mentioned, though. Swagger Editor has Swagger UI embedded, so you can just pass any Swagger UI option you'd like to Swagger Editor and it will be handed off to Swagger UI. Re: Can "try it out" be disabled/hidden from online editor Hey cricketics, You can't control configuration options in the online editor, but Swagger UI's supportedSubmitMethods option is available if you're using Swagger Editor in your own codebase. Re: Code block markdown in description help required No problem! Glad you got it fixed. Here's a page with some helpful information about multiline strings in YAML: https://yaml-multiline.info Specifically, you might want to take a look at what the | character is doing for you behind the scenes, and consider using a block indentation indicator if you really want to change how indentation detection is happening. Re: Code block markdown in description help required Hi cricketics! You're seeing this because your `"message"` line is less indented than the first line of your string, which has the triple-backticks. YAML requires that you not go below the initial line's indentation level when writing a multiline string.