username-availability-checker icon indicating copy to clipboard operation
username-availability-checker copied to clipboard

Add usernameapi.raml

Open seeeturtle opened this issue 7 years ago • 8 comments

This raml file describe api specification for username_api

Closes https://github.com/manu-chroma/username-availability-checker/issues/15

seeeturtle avatar Jan 11 '18 15:01 seeeturtle

why not username_api.raml. That would be cleaner, imo

manu-chroma avatar Jan 11 '18 17:01 manu-chroma

np if you want

seeeturtle avatar Jan 12 '18 06:01 seeeturtle

is there any test we need for RAML service? @jayvdb

manu-chroma avatar Jan 12 '18 06:01 manu-chroma

@manu-chroma, can I just merge this? I think this doesn't seem to have much impact.

seeeturtle avatar Feb 28 '18 15:02 seeeturtle

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 avatar Feb 28 '18 16:02 jayvdb

@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

seeeturtle avatar Mar 01 '18 14:03 seeeturtle

@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?

seeeturtle avatar Mar 09 '18 16:03 seeeturtle

^@jayvdb

seeeturtle avatar Apr 04 '18 07:04 seeeturtle