Aldin-SXR / flight-php-swagger

Flight PHP micro-framework bundled with Swagger, PHPUnit and other useful utilities.
MIT License
12 stars 3 forks source link

"Not Found docs/swagger.json" #9

Open spekulatius opened 4 years ago

spekulatius commented 4 years ago

Hey @Aldin-SXR

just playing around to see if I can get it working and stumbled upon this error:

image

Not sure if I missed a step or this is an actual error?

Cheers, Peter

Aldin-SXR commented 4 years ago

Hi Peter,

I just ran a fresh installation and encountered no issues. The example Swagger docs were loaded.

Could you provided more details about your environment? What operating system and HTTP server are you using? Can you see more details about the error when you inspect the Network tab?

Best regards, Aldin

spekulatius commented 4 years ago

Hey Aldin,

I'm using a elementary 5 OS (debian-based Linux) with Nginx. The network tab shows only a regular 404 send by Nginx:

image

(Any non-custom 404 would look like this with Nginx.)

Cheers, Peter