9
9
10
10
## Table of Contents
11
11
12
+ - [ Table of Contents] ( #table-of-contents )
12
13
- [ What is Grape?] ( #what-is-grape )
13
14
- [ Stable Release] ( #stable-release )
14
15
- [ Project Resources] ( #project-resources )
24
25
- [ Rails 5+] ( #rails-5 )
25
26
- [ Alongside Sinatra (or other frameworks)] ( #alongside-sinatra-or-other-frameworks )
26
27
- [ Rails] ( #rails )
27
- - [ Rails < 5.2] ( #rails--52 )
28
+ - [ Rails \ < 5.2] ( #rails--52 )
28
29
- [ Rails 6.0] ( #rails-60 )
29
30
- [ Modules] ( #modules )
30
31
- [ Remounting] ( #remounting )
47
48
- [ Integer/Fixnum and Coercions] ( #integerfixnum-and-coercions )
48
49
- [ Custom Types and Coercions] ( #custom-types-and-coercions )
49
50
- [ Multipart File Parameters] ( #multipart-file-parameters )
50
- - [ First-Class JSON Types] ( #first-class-json-types )
51
+ - [ First-Class ` JSON ` Types] ( #first-class-json-types )
51
52
- [ Multiple Allowed Types] ( #multiple-allowed-types )
52
53
- [ Validation of Nested Parameters] ( #validation-of-nested-parameters )
53
54
- [ Dependent Parameters] ( #dependent-parameters )
54
55
- [ Group Options] ( #group-options )
55
56
- [ Renaming] ( #renaming )
56
57
- [ Built-in Validators] ( #built-in-validators )
57
- - [ allow_blank] ( #allow_blank )
58
- - [ values] ( #values )
59
- - [ except_values] ( #except_values )
60
- - [ same_as] ( #same_as )
61
- - [ regexp] ( #regexp )
62
- - [ mutually_exclusive] ( #mutually_exclusive )
63
- - [ exactly_one_of] ( #exactly_one_of )
64
- - [ at_least_one_of] ( #at_least_one_of )
65
- - [ all_or_none_of] ( #all_or_none_of )
66
- - [ Nested mutually_exclusive, exactly_one_of, at_least_one_of, all_or_none_of] ( #nested-mutually_exclusive-exactly_one_of-at_least_one_of-all_or_none_of )
58
+ - [ ` allow_blank ` ] ( #allow_blank )
59
+ - [ ` values ` ] ( #values )
60
+ - [ ` except_values ` ] ( #except_values )
61
+ - [ ` same_as ` ] ( #same_as )
62
+ - [ ` regexp ` ] ( #regexp )
63
+ - [ ` mutually_exclusive ` ] ( #mutually_exclusive )
64
+ - [ ` exactly_one_of ` ] ( #exactly_one_of )
65
+ - [ ` at_least_one_of ` ] ( #at_least_one_of )
66
+ - [ ` all_or_none_of ` ] ( #all_or_none_of )
67
+ - [ Nested ` mutually_exclusive ` , ` exactly_one_of ` , ` at_least_one_of ` , ` all_or_none_of ` ] ( #nested-mutually_exclusive-exactly_one_of-at_least_one_of-all_or_none_of )
67
68
- [ Namespace Validation and Coercion] ( #namespace-validation-and-coercion )
68
69
- [ Custom Validators] ( #custom-validators )
69
70
- [ Validation Errors] ( #validation-errors )
70
71
- [ I18n] ( #i18n )
71
72
- [ Custom Validation messages] ( #custom-validation-messages )
72
- - [ presence, allow_blank, values, regexp] ( #presence-allow_blank-values-regexp )
73
- - [ same_as] ( #same_as-1 )
74
- - [ all_or_none_of] ( #all_or_none_of-1 )
75
- - [ mutually_exclusive] ( #mutually_exclusive-1 )
76
- - [ exactly_one_of] ( #exactly_one_of-1 )
77
- - [ at_least_one_of] ( #at_least_one_of-1 )
78
- - [ Coerce] ( #coerce )
79
- - [ With Lambdas] ( #with-lambdas )
80
- - [ Pass symbols for i18n translations] ( #pass-symbols-for-i18n-translations )
73
+ - [ ` presence ` , ` allow_blank ` , ` values ` , ` regexp ` ] ( #presence-allow_blank-values-regexp )
74
+ - [ ` same_as ` ] ( #same_as-1 )
75
+ - [ ` all_or_none_of ` ] ( #all_or_none_of-1 )
76
+ - [ ` mutually_exclusive ` ] ( #mutually_exclusive-1 )
77
+ - [ ` exactly_one_of ` ] ( #exactly_one_of-1 )
78
+ - [ ` at_least_one_of ` ] ( #at_least_one_of-1 )
79
+ - [ ` Coerce ` ] ( #coerce )
80
+ - [ ` With Lambdas ` ] ( #with-lambdas )
81
+ - [ ` Pass symbols for i18n translations ` ] ( #pass-symbols-for-i18n-translations )
81
82
- [ Overriding Attribute Names] ( #overriding-attribute-names )
82
83
- [ With Default] ( #with-default )
83
84
- [ Headers] ( #headers )
139
140
- [ Reloading in Rails Applications] ( #reloading-in-rails-applications )
140
141
- [ Performance Monitoring] ( #performance-monitoring )
141
142
- [ Active Support Instrumentation] ( #active-support-instrumentation )
142
- - [ endpoint_run .grape] ( #endpoint_rungrape )
143
- - [ endpoint_render .grape] ( #endpoint_rendergrape )
144
- - [ endpoint_run_filters .grape] ( #endpoint_run_filtersgrape )
145
- - [ endpoint_run_validators .grape] ( #endpoint_run_validatorsgrape )
146
- - [ format_response .grape] ( #format_responsegrape )
143
+ - [ endpoint \_ run .grape] ( #endpoint_rungrape )
144
+ - [ endpoint \_ render .grape] ( #endpoint_rendergrape )
145
+ - [ endpoint \_ run \_ filters .grape] ( #endpoint_run_filtersgrape )
146
+ - [ endpoint \_ run \_ validators .grape] ( #endpoint_run_validatorsgrape )
147
+ - [ format \_ response .grape] ( #format_responsegrape )
147
148
- [ Monitoring Products] ( #monitoring-products )
148
149
- [ Contributing to Grape] ( #contributing-to-grape )
149
150
- [ Security] ( #security )
@@ -160,9 +161,9 @@ content negotiation, versioning and much more.
160
161
161
162
## Stable Release
162
163
163
- You're reading the documentation for the next release of Grape, which should be ** 1.8 .1** .
164
+ You're reading the documentation for the next release of Grape, which should be ** 1.9 .1** .
164
165
Please read [ UPGRADING] ( UPGRADING.md ) when upgrading from a previous version.
165
- The current stable release is [ 1.8 .0] ( https://github.com/ruby-grape/grape/blob/v1.8 .0/README.md ) .
166
+ The current stable release is [ 1.9 .0] ( https://github.com/ruby-grape/grape/blob/v1.9 .0/README.md ) .
166
167
167
168
168
169
## Project Resources
0 commit comments