You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Datastore file: datastore.json
Datastore location: /home/tomi/src/github/dotnet-fake-json-server/FakeServer
Static files: default wwwroot
Hosting environment: Development
Content root path: /home/xxxx/dotnet-fake-json-server/FakeServer
Now listening on: http://localhost:57603
Application started. Press Ctrl+C to shut down.
Add Swagger Open API as a last line.
Now listening on: http://localhost:57603
Application started. Press Ctrl+C to shut down.
Swagger Open API is available on: http://localhost:57603/swagger
Pretty likely this needs to be done in Startup.cs as we need to be able to check what is the current port in use.
The text was updated successfully, but these errors were encountered:
Would turning off default .net core startup messaging and logging out to console manually be acceptable?
AFAIK, you want to inject line between two default core startup messages ("now listening" and "app started") which is not possible.
No need to do any extra work by configuring messages. Swagger-line can be after Content root path-line and before those default .net core startup messages.
Current output
Add Swagger Open API as a last line.
Pretty likely this needs to be done in
Startup.cs
as we need to be able to check what is the current port in use.The text was updated successfully, but these errors were encountered: