File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change 22
33## 1.3.0
44
5- - Add ` : any` type to skip type validation for a given param.
5+ - Add ` any ` type to skip type validation for a given param.
66
77## 1.2.7
88
Original file line number Diff line number Diff line change @@ -781,6 +781,7 @@ Type `:date`. Defines a date parameter. Must be a `Date`.
781781
782782- [ ` :array ` ] ( #array-type )
783783- [ ` :hash ` ] ( #hash-type )
784+ - [ ` :any ` ] ( #any-type )
784785
785786#### Array type
786787
@@ -822,6 +823,14 @@ param :only_scalars, type: :hash
822823param :non_scalars_too , type: :hash , allow_non_scalars: true
823824```
824825
826+ #### Any type
827+
828+ Type ` :any ` . Defines a parameter that is not type checked.
829+
830+ ``` ruby
831+ param :anything_goes , type: :any
832+ ```
833+
825834### Custom types
826835
827836You may register custom types that can be utilized in your schemas.
You can’t perform that action at this time.
0 commit comments