Closed behrica closed 2 years ago
I just started with martian and it's a geat project.
martian
On this swagger json definition:
"https://api.swaggerhub.com/apis/EFSA/fsbio/1.0.0"
I get an empty vector back from (martian/explore) using this code :
(require '[martian.core :as martian] '[martian.clj-http :as martian-http]) (def url "https://api.swaggerhub.com/apis/EFSA/fsbio/1.0.0") (def m (martian-http/bootstrap-openapi url {:server-url "https://efsa-ai-prototypes.westeurope.cloudapp.azure.com/efsafsnlpapi/api/1.0.0"})) (martian/explore m)
I found the reason. I have no operationIds defined.
as documented :smile:
I just started with
martian
and it's a geat project.On this swagger json definition:
"https://api.swaggerhub.com/apis/EFSA/fsbio/1.0.0"
I get an empty vector back from (martian/explore) using this code :