Skip to content
This repository has been archived by the owner on Nov 13, 2019. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-nl committed Sep 14, 2014
1 parent d236a3c commit c9b95f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Apache 2.0: http://www.apache.org/licenses/LICENSE-2.0
<dependency>
<groupId>com.github.marcus-nl</groupId>
<artifactId>ember-schema-generator</artifactId>
<version>0.1.0-SNAPSHOT</version>
<version>1.0.0</version>
</dependency>
```

Expand All @@ -31,6 +31,8 @@ Create an instance of EmberSchemaGenerator by passing your Jackson ObjectMapper

The generator will respect the property filters of the object mapper, so that only those properties that are included by the filters will end up in the schema.

Note that addHierarchy will only add those classes that are known by the object mapper, either through ObjectMapper#registerSubtypes or by using the @JsonSubTypes annotation on the base type.

## Example

Given the following data model:
Expand Down

0 comments on commit c9b95f9

Please sign in to comment.