Invalid swagger base url #7

Open
opened 2023-02-27 16:05:31 +00:00 by dstepanov-yadro · 0 comments
dstepanov-yadro commented 2023-02-27 16:05:31 +00:00 (Migrated from github.com)

Swagger doesnt fetch valid base url

Expected Behavior

Swagger uses actual url as base url

Current Behavior

Swagger uses localhost:8090 as base url

Steps to Reproduce (for bugs)

  1. Open frostfs-dev-env, make up
  2. Go to http://192.168.130.83:8090/v1/docs#/
  3. Try to make any request
  4. Request fails with Failed to fetch, because base url will be localhost:8090 instead of 192.168.130.83:8090
Swagger doesnt fetch valid base url ## Expected Behavior Swagger uses actual url as base url ## Current Behavior Swagger uses localhost:8090 as base url ## Steps to Reproduce (for bugs) 1. Open frostfs-dev-env, `make up` 2. Go to http://192.168.130.83:8090/v1/docs#/ 3. Try to make any request 4. Request fails with Failed to fetch, because base url will be localhost:8090 instead of 192.168.130.83:8090
alexvanin added this to the v0.6.0 milestone 2023-03-21 08:18:44 +00:00
This repo is archived. You cannot comment on issues.
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-rest-gw#7
No description provided.