Graphaello icon indicating copy to clipboard operation
Graphaello copied to clipboard

Evaluate new API for registering Servers

Open nerdsupremacist opened this issue 5 years ago • 2 comments

  • Add a way to register a default url
  • Add a way to list them, instead of including the entire json in place

nerdsupremacist avatar May 09 '20 01:05 nerdsupremacist

Link this to #14 since we could list the url by itself and add the schema in the cache folder

nerdsupremacist avatar May 10 '20 00:05 nerdsupremacist

Evaluate writing a mini language for this.

project = path/to/project.xcodeproj

noCache
noFormatting

apis {
    Movies {
       url = https://tmdb-graph.herokuapp.com
       headers {
           Authorization = Bearer bdjfbasdjkfsjdfjdfasdfs
       }
    }

    StarWars {
        json = "schemas/StarWars.json"
    }
}

or maybe just use yaml like everyone else

nerdsupremacist avatar May 10 '20 00:05 nerdsupremacist