Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthegeek committed Oct 16, 2023
1 parent cc1a9f1 commit 2f1fbbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions R/as_bk_data.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ S7::method(as_bk_data, rapid::security_scheme_collection) <- function(x) {
.security_scheme_description_fill <- function(description, type) {
if (is.na(description)) {
return(
switch(
type,
switch(type,
api_key = .security_scheme_description_api_key(),
NA_character_
)
Expand Down
4 changes: 2 additions & 2 deletions vignettes/beekeeper.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ If your target API follows the OAS, you can use your API's OpenAPI Document to c
```{r config-guru}
# Note: Running these commands will create or overwrite "_beekeeper.yml" in your
# working directory.
url("https://api.apis.guru/v2/openapi.yaml") |>
url("https://api.apis.guru/v2/openapi.yaml") |>
use_beekeeper(
api_abbr = "guru"
)
# Or for the FEC
url("https://api.apis.guru/v2/specs/fec.gov/1.0/openapi.yaml") |>
url("https://api.apis.guru/v2/specs/fec.gov/1.0/openapi.yaml") |>
use_beekeeper(
api_abbr = "fec"
)
Expand Down

0 comments on commit 2f1fbbc

Please sign in to comment.