mapbox / mapbox/mapbox-java

Extend CLI tool with URL round-tripping

Open
#1,483 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

jira-sync-complete op-ex
Dominant language
Java
Stars
438
Forks
117
PR merge metrics
No merged PRs in 30d

Description

The CLI tool currently takes a JSON as parameter and attempts to deserialize it to verify that the data matches the data models. We should do the same with the request URLs and RouteOptions#fromUrl and RouteOptions#toUrl methods.

cc @kmadsen

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in the services-cli directory and inspect how the CLI accepts JSON and deserializes it against the data models. Then trace RouteOptions#fromUrl and RouteOptions#toUrl; done means request URLs receive the same validation and round-tripping treatment as the existing JSON input.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.