Aconex / drakov

Mock Server that implements the API Blueprint specification

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: change id based on url

EyMaddis opened this issue · comments

Hi,
maybe it would be possible for drakov to use parts of the url (like /{id}) to replace data within the json response.

It could take the variable name from API blueprint and search for it in the first layer of the response (setting "id": <id from route>).

Another option would be to allow transformations via the api.

@EyMaddis we are currently storing these in a parameter object in the internal Drakov route map, would be possible.

Not currently on our roadmap though. I'll keep this one open for later reference.