-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Server url missing port #825
Comments
Is this a problem in swagger-ui only? |
No, also in the definition of openApi file |
Any update? :) |
Would you like to send a Pull Request to address this issue? Remember to add unit tests. |
Is it possible this line in your swagger-ui registration is removing the port in non-production environments? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Fastify version
5.0.0
Plugin version
9.0.0
Node.js version
21.7.3
Operating system
Windows
Operating system version (i.e. 20.04, 11.3, 10)
Windows 11
Description
Hi, i update the Fastify version to the latest and also all related plugins.
When i define the server object inside swagger plugin the port is not shown on swagger-ui and also inside openApi definition.
I logged the config.swaggerServerUrl and is correct.
How can i solve this? Thanks :)
Link to code that reproduces the bug
https://github.com/BossHogg97/fastify-ver-5
Expected Behavior
The server url has to be : http://localhost:5015
The text was updated successfully, but these errors were encountered: