We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b70cffd + 4dc0cc5 commit becc75bCopy full SHA for becc75b
README.rst
@@ -861,8 +861,8 @@ Adding custom validator
861
Only basic validators are included but it is really easy to add your own.
862
Create a new initializer with a subclass of Apipie::Validator::BaseValidator.
863
Two methods are required to implement this - instance method
864
-<tt>validate(value)</tt> and class method
865
-<tt>build(param_description, argument, options, block)</tt>.
+:code:`validate(value)` and class method
+:code:`build(param_description, argument, options, block)`.
866
867
When searching for the validator +build+ method, every subclass of
868
Apipie::Validator::BaseValidator is called. The first one that returns the
0 commit comments