Skip to content

Commit

Permalink
Add fields query parameter to API v2 for users/fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
albullington committed Nov 3, 2021
1 parent 1704e72 commit 0434505
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion openapi/paths/v2/users/{id}.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ module.exports = sendWrapper => {
}],
parameters: [
transform( Joi.string( ).label( "id" ).meta( { in: "path" } )
.required( ) )
.required( ) ),
transform( Joi.string( ).label( "fields" ).meta( { in: "query" } ) ),
transform( Joi.string( ).label( "X-HTTP-Method-Override" ).meta( { in: "header" } ) )
],
responses: {
200: {
Expand Down

0 comments on commit 0434505

Please sign in to comment.