-
Notifications
You must be signed in to change notification settings - Fork 130
Open
Description
I'm submitting a
- bug report.
Current Behaviour:
While exploring app.py and conf.py, I observed that even if I pass a different port or api-name inconf.py it still listen to base-url & api-name provided while making documentation using doc.writer.HydraDoc(). It can be verified in the below image:

Api-name in the hydra_doc_sample.py (reference image attached below) is api but in conf.py I passed it as testapi . When I fire a request on /api then it gives me 200 but for /testapi it throws 404.
Expected Behaviour:
The server should listen to http://localhost:8080/testapi rather than http://localhost:8080/api
Steps to reproduce:
- change
API_NAMEinconf.pyfrom toapitotestapi - run
app.pyand fire request onhttp://localhost:8080/testapi
Environment:
- python version - 3.8.0
- pip version - 22.0.2
- OS details
- Name - Microsoft Windows 11 Home Single Language
- Version - 10.0.22000 N/A Build 22000
Do you want to work on this issue?
Yes
Metadata
Metadata
Assignees
Labels
No labels

