Closed
Description
Hello @jonthegeek ,
the {beekeeper}
homepage says that "Add support for APIs using the OAS json format" was implemented in v0.2.
However, I was not able to get past this:
rapid::as_rapid("https://api.apis.guru/v2/specs/sportsdata.io/csgo-v3-scores/1.0/openapi.json")
Error in `method(as_rapid, class_any)`:
! `x` must be comprised of properly formed, supported elements.
Caused by error in `as_rapid()`:
!
`"[https://api.apis.guru/v2/specs/sportsdata.io/csgo-v3-scores/1.0/openapi.json](vscode-file://vscode-app/Applications/Positron.app/Contents/Resources/app/out/vs/code/electron-sandbox/workbench/workbench.html#)"`
must have names "info", "servers", "components", "paths", or "security".
• Any other names are ignored.
or this:
url("https://api.apis.guru/v2/specs/sportsdata.io/csgo-v3-scores/1.0/openapi.json") |> beekeeper::use_beekeeper()
Error in `as_rapid()`:
! Failed to parse paths from OpenAPI spec.
I tried with a few more random API links that I found with anyapi::find_api("data")
, but to no avail.
So is the json support supposed to work in the current version or am I doing something wrong?
Metadata
Metadata
Assignees
Projects
Status
✅ Done