Skip to content

Commit

Permalink
Fix typos in vault-repositories.adoc.
Browse files Browse the repository at this point in the history
Resolves gh-795
  • Loading branch information
rychkov authored and mp911de committed Jun 19, 2023
1 parent 053a67f commit 270b2df
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/asciidoc/reference/vault-repositories.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -158,13 +158,13 @@ Given the `Credentials` type from the previous sections the default mapping is a
----
{
"_class": "org.example.Credentials", <1>
"password", "327215", <2>
"password": "327215", <2>
"socialSecurityNumber": "AAA-GG-SSSS",
"address": { <3>
"street": "308 Negra Arroyo Lane",
"city": "Albuquerque",
"state": "New Mexico",
"zip":"87104"
"zip": "87104"
}
}
----
Expand All @@ -186,27 +186,27 @@ NOTE: The `@Id` property must be mapped to `String`.
| Simple Type +
(eg. String)
| String firstname = "Walter";
| firstname = "Walter"
| "firstname": "Walter"

| Complex Type +
(eg. Address)
| Address adress = new Address("308 Negra Arroyo Lane");
| address: { "street": "308 Negra Arroyo Lane" }
| "address": { "street": "308 Negra Arroyo Lane" }

| List +
of Simple Type
| List<String> nicknames = asList("walt", "heisenberg");
| nicknames: ["walt", "heisenberg"]
| "nicknames": ["walt", "heisenberg"]

| Map +
of Simple Type
| Map<String, Integer> atts = asMap("age", 51)
| atts : {"age" : 51}
| "atts" : {"age" : 51}

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

|===

Expand Down

0 comments on commit 270b2df

Please sign in to comment.