Skip to content

Commit

Permalink
Style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonthegeek committed Mar 28, 2024
1 parent 670b2c0 commit c447587
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion R/generate_pkg-paths.R
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ S7::method(as_bk_data, class_paths) <- function(x) {
nest(
filter(
unnest(x, "operations"),
!deprecated
!.data$deprecated
),
.by = "tags", .key = "endpoints"
)
Expand Down
9 changes: 6 additions & 3 deletions R/generate_pkg-security.R
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ S7::method(as_bk_data, class_security_schemes) <- function(x) {
if (is.na(description)) {
return(
switch(type,
api_key = .security_scheme_description_api_key,
NA_character_
api_key = .security_scheme_description_api_key,
NA_character_
)
)
}
Expand Down Expand Up @@ -139,7 +139,10 @@ S7::method(as_bk_data, class_api_key_security_scheme) <- function(x) {
return(list())
}

# S7::method(as_bk_data, rapid::class_oauth2_authorization_code_flow) <- function(x) {
# S7::method(
# as_bk_data,
# rapid::class_oauth2_authorization_code_flow
# ) <- function(x) {
# if (!length(x)) {
# return(list())
# }
Expand Down
6 changes: 3 additions & 3 deletions R/use_beekeeper.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
#'
#' @inheritParams rlang::args_dots_empty
#' @param x An object to use to define the configuration. It must be
#' translatable to a [rapid::class_rapid()] object by [rapid::as_rapid()]. Usually
#' this will be a url pointing to an OpenAPI document, or a list generated by
#' reading such a document.
#' translatable to a [rapid::class_rapid()] object by [rapid::as_rapid()].
#' Usually this will be a url pointing to an OpenAPI document, or a list
#' generated by reading such a document.
#' @param api_abbr A short (about 2-5 letter) abbreviation for the API, for use
#' in function names and environment variables.
#' @param config_file The path to which the configuration should be written.
Expand Down
6 changes: 3 additions & 3 deletions man/use_beekeeper.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c447587

Please sign in to comment.