Skip to content

Conversation

@Tristan-WorkGH
Copy link
Contributor

@Tristan-WorkGH Tristan-WorkGH commented Oct 3, 2024

Add a swagger-ui on http://localhost:9080/swagger/ that can show the specs of any server.
new_swagger_ui

Why? because we haven't to remember what is the port of each server.

Note

The servers have CORS activated with rules that forbid another domain. So a plugin is needed to force the navigator to ignore CORS rules, like:

An overlay in nginx is done to relay from the same domain the specs that are on different servers (ie domains for navigators). That induce a rewrite of urls through a swagger plugin to be transparent to the user.

Note

A dark theme has been added for the ease of eyes 😄

Rework URLs to be clickable and add some commands that can be helpful
@Tristan-WorkGH Tristan-WorkGH added the enhancement New feature or request label Oct 3, 2024
@Tristan-WorkGH Tristan-WorkGH self-assigned this Oct 3, 2024
@Tristan-WorkGH Tristan-WorkGH marked this pull request as ready for review October 3, 2024 01:38
Add pot number in show dropdown
But loose the server url in the ui
use nginx as a a proxy to add missing CORS headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants