ghga-de / sandbox-storage

An implementation of the GA4GH DRS specs for controlled access to files on S3.
Apache License 2.0
1 stars 0 forks source link

Feature/port to openapi #14 #20

Closed MoritzHahn1337 closed 3 years ago

MoritzHahn1337 commented 3 years ago

Port FastApi to openAPI

14

KerstenBreuer commented 3 years ago

I cannot reach anything in my browser when I run dev_launcher.

I tried: http://localhost:8080/ (expected the index route) http://localhost:8080/ghga/drs/v1/ http://localhost:8080/ghga/drs/v1/openapi.yaml (expected the docs)

I also don't see any logs when running that command. Am I doing something wrong?

MoritzHahn1337 commented 3 years ago

I cannot reach anything in my browser when I run dev_launcher.

I tried: http://localhost:8080/ (expected the index route)

This now works

http://localhost:8080/ghga/drs/v1/

If you omit the trailing / it works

http://localhost:8080/ghga/drs/v1/openapi.yaml (expected the docs)

This now works

I also don't see any logs when running that command. Am I doing something wrong?

What kind of logs are you expecting? I get logs for calling URLs...

127.0.0.1 - - [02/Aug/2021 14:06:50] "GET / HTTP/1.1" 200 27
127.0.0.1 - - [02/Aug/2021 14:06:54] "GET / HTTP/1.1" 200 27
127.0.0.1 - - [02/Aug/2021 14:07:46] "GET /ghga/drs/v1/ HTTP/1.1" 404 165
KerstenBreuer commented 3 years ago

Sobald die static code analysis passed können wir es mergen