Skip to content

Fix banner MAS models to match what actually comes from Directions API #951

@Guardiola31337

Description

@Guardiola31337

As part of mapbox/mapbox-navigation-android#1543 work we've noticed that some banner Directions API / MAS models don’t match each other completely matches and some annotations need to be fixed in MAS so they match what actually comes from the API. These are the changes needed:

BannerInstructions:
primary 👉 should be @NonNull

BannerText:
text 👉 should be @NonNull
UPDATED
type 👉 should be @NonNull
modifier 👉 should be @NonNull

BannerComponents:
text 👉 not specified and should be @NonNull
type 👉 not specified and should be @NonNull

cc @kevinkreiser @osana

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions