Skip to content

Commit a9c7ef9

Browse files
committed
Adding toc
1 parent b0e9ec0 commit a9c7ef9

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ A rule based validator developed for easy use with the Spring Boot framework.
33

44
- *Extendable*: You can always add custom rules
55

6+
## Table of contents
7+
[Adding dependency](#adding-dependency)
8+
69
## Adding dependency
710
To use the validator add the following dependency to your `pom.xml`.
811
```xml
@@ -120,7 +123,13 @@ string(field)
120123

121124
---
122125

126+
### `number` rules
123127

128+
#### Usage
129+
The following snippet returns an instance of the `NumberRuleBuilder` class.
130+
```java
131+
number(field)
132+
```
124133

125134
## Custom rules
126135
You can easily extend the functionality of the validator by defining custom rules. If you need a specific Regex and don't

0 commit comments

Comments
 (0)