entur / gbfs-java-model

4 stars 1 forks source link

Lists are initialized by generator #25

Closed testower closed 2 years ago

testower commented 2 years ago

Lists should not be initialized as empty lists by default. E.g.:

@JsonProperty("per_km_pricing")
    @JsonPropertyDescription("Array of segments when the price is a function of distance travelled, displayed in kilometers (added in v2.1-RC2).")
    private List<GBFSPerKmPricing> perKmPricing = new ArrayList<GBFSPerKmPricing>();