Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change request url #9760

Open
TW-KM opened this issue Mar 27, 2024 · 0 comments
Open

change request url #9760

TW-KM opened this issue Mar 27, 2024 · 0 comments

Comments

@TW-KM
Copy link

TW-KM commented Mar 27, 2024

Q&A (please complete the following information)

  • OS: Windows
  • Browser: Chrome
  • Version: 123
  • Method of installation: docker
  • Swagger-UI version: latest docker 2024/03/27
  • Swagger/OpenAPI version: Swagger 2.0

Content & configuration

I mapped a swagger.json to the docker container

docker-compose.yml

version: '3.8'

services:
  swagger-secretserver:
    image: swaggerapi/swagger-ui
    container_name: swagger
    restart: unless-stopped
    ports:
      - 10002:8080
    volumes:
      - ./data/swagger.json:/usr/share/nginx/html/swagger.json

    environment:
      - SWAGGER_JSON_URL=swagger.json

How can we help?

If I click on Execute Now the request URL is the IP of the host itself. How can I change that to a different server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant