Skip to content

Commit

Permalink
Merge pull request #2 from slodge/ideasMerged
Browse files Browse the repository at this point in the history
Fix for file/binary api types in swagger
  • Loading branch information
slodge committed Nov 13, 2023
2 parents 20672a0 + cef9014 commit 25e1a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/openapi-spec.R
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ parametersSpecification <- function(endpointParams, pathParams, funcParams = NUL
requestBody = NULL
)
inBody <- filterApiTypes("requestBody", "location")
inRaw <- filterApiTypes("binary", "format")
inRaw <- filterApiTypes("binary", "openApiFormat")
for (p in unique(c(names(endpointParams), pathParams$name, names(funcParams), names(serializerParams)))) {

# Dealing with priorities endpointParams > pathParams > funcParams
Expand Down

0 comments on commit 25e1a24

Please sign in to comment.