refactor: extract id parameter
This commit is contained in:
parent
57593db96d
commit
4c0a7ae938
9 changed files with 17 additions and 13 deletions
|
|
@ -67,5 +67,9 @@ module ApiHelper
|
|||
it_handles_invalid_token(*args)
|
||||
it_handles_invalid_scope(*args)
|
||||
end
|
||||
|
||||
def self.id_url_param
|
||||
parameter name: :id, in: :path, type: :integer, required: true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue