Slackbot
08/07/2023, 7:00 AMJian Shen Yap
08/08/2023, 4:31 PMAsaf Alina
08/08/2023, 4:51 PM".".
this happens when the generated swagger (docs.json file) has the following entry:
servers:
- url: <https://host:1234/path/to/api/v1>
instead of the default one:
servers:
- url: "."
in FastAPI it is possible to set the server as follows:
url = "<https://host:1234/path/to/api/v1>"
app = FastAPI(
servers=[{"url": url}],
)
I was wondering if there’s a similar way to get this done with bento service.Jian Shen Yap
08/11/2023, 5:01 AMJian Shen Yap
08/11/2023, 5:01 AM