Skip to content

Commit be999ae

Browse files
rychkovmp911de
authored andcommitted
Fix typos in vault-repositories.adoc.
Resolves gh-795
1 parent b470229 commit be999ae

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/asciidoc/reference/vault-repositories.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -158,13 +158,13 @@ Given the `Credentials` type from the previous sections the default mapping is a
158158
----
159159
{
160160
"_class": "org.example.Credentials", <1>
161-
"password", "327215", <2>
161+
"password": "327215", <2>
162162
"socialSecurityNumber": "AAA-GG-SSSS",
163163
"address": { <3>
164164
"street": "308 Negra Arroyo Lane",
165165
"city": "Albuquerque",
166166
"state": "New Mexico",
167-
"zip":"87104"
167+
"zip": "87104"
168168
}
169169
}
170170
----
@@ -186,27 +186,27 @@ NOTE: The `@Id` property must be mapped to `String`.
186186
| Simple Type +
187187
(eg. String)
188188
| String firstname = "Walter";
189-
| firstname = "Walter"
189+
| "firstname": "Walter"
190190

191191
| Complex Type +
192192
(eg. Address)
193193
| Address adress = new Address("308 Negra Arroyo Lane");
194-
| address: { "street": "308 Negra Arroyo Lane" }
194+
| "address": { "street": "308 Negra Arroyo Lane" }
195195

196196
| List +
197197
of Simple Type
198198
| List<String> nicknames = asList("walt", "heisenberg");
199-
| nicknames: ["walt", "heisenberg"]
199+
| "nicknames": ["walt", "heisenberg"]
200200

201201
| Map +
202202
of Simple Type
203203
| Map<String, Integer> atts = asMap("age", 51)
204-
| atts : {"age" : 51}
204+
| "atts" : {"age" : 51}
205205

206206
| List +
207207
of Complex Type
208208
| List<Address> addresses = asList(new Address("308…
209-
| address: [{ "street": "308 Negra Arroyo Lane" }, …]
209+
| "address": [{ "street": "308 Negra Arroyo Lane" }, …]
210210

211211
|===
212212

0 commit comments

Comments
 (0)