jonthegeek / rapid

R 'API' documents
https://rapid.api2r.org/
Other
6 stars 1 forks source link

Expand paths #66

Closed jonthegeek closed 1 year ago

jonthegeek commented 1 year ago

It's valid to give paths as relative to the base path where the doc is found. Sort that out.

Note: If the API's URL is apis.guru, we need to consult a special field for this.

jonthegeek commented 1 year ago

Still to-do (I think): Add a function that takes a rapid and returns a rapid, using @info@origin@url to expand `@servers@url. I don't THINK I can do it during creation, since props don't talk to one another that way.

Optionally I could make getters that do it on-demand. That might be the best option. Hmm.

jonthegeek commented 1 year ago

Getters would be really tricky. Let's make a function, can make it fancier later.