Skip to content

Commit

Permalink
Adds optionality record fields to the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadnawzad committed Sep 26, 2024
1 parent 07fd7b9 commit 04401bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,8 @@ Some examples' attributes can be overwritten via RSpec metadata options. Example
description: 'list all posts ordered by pub_date',
tags: %w[v1 posts],
required_request_params: %w[limit],
optional_request_params: %w[data optional_address], # request body parameters that will NOT be set as required
optional_headers: %w[Accept-Languages rowsPerPage], # request header params that can be optional
security: [{"MyToken" => []}],
} do
# ...
Expand Down

0 comments on commit 04401bf

Please sign in to comment.