username-availability-checker
username-availability-checker copied to clipboard
Add usernameapi.raml
This raml file describe api specification for username_api
Closes https://github.com/manu-chroma/username-availability-checker/issues/15
why not username_api.raml. That would be cleaner, imo
np if you want
is there any test we need for RAML service? @jayvdb
@manu-chroma, can I just merge this? I think this doesn't seem to have much impact.
Ideally we use a raml client to test it works.
The front-end could also use a raml client to negotiate the API of the back-end.
If neither of those, we need to at least do a manual check of using the raml before merging.
@jayvdb, I tried to test raml file with ramlient
with the code below:
client.check.website("github").username("seeeturtle").get()
but it always request /check/{website}/{username}
not /check/github/seeeturtle
Anybody know what's wrong?
@manu-chroma
@jayvdb @manu-chroma
I can't find out why ramlient doesn't format the given uri.
Is it because the library doesn't support well or is the syntax wrong?
^@jayvdb