Skip to content

Commit

Permalink
docs: updated link (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
dersvenhesse authored May 23, 2024
1 parent 7db1f29 commit 26ab130
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions models/java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ There is no support in jsonschema2pojo to handle "patternProperties" sanely, it
in a class without any properties. The `gbfs.json` feed uses "patternProperties" for the `data`
property to define an object per language, where the language code is the name of the property.

The generated Gbfs class is therefore extended by
[src/main/org/entur/gbfs/v2_2/gbfs/GBFS.java](src/main/org/entur/gbfs/v2_2/gbfs/GBFS.java)
The generated Gbfs class is therefore extended by
[gbfs-java-model/src/main/java/org/mobilitydata/gbfs/v2_2/gbfs/GBFS.java](gbfs-java-model/src/main/java/org/mobilitydata/gbfs/v2_2/gbfs/GBFS.java)
to override the `data` property with a Map implementation. This extended class should be used
when unmarshalling the `gbfs.json` feed.

Expand Down

0 comments on commit 26ab130

Please sign in to comment.