Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate mock Alexandria API for front-end dev from Swagger #7

Open
hawkw opened this issue Jul 15, 2015 · 2 comments
Open

Generate mock Alexandria API for front-end dev from Swagger #7

hawkw opened this issue Jul 15, 2015 · 2 comments

Comments

@hawkw
Copy link
Contributor

hawkw commented Jul 15, 2015

I believe apistudio.io can generate a mock server for a REST API when given that API's Swagger spec (thanks to @dibyom for telling me about this).

If we can get that working, it would be much less work than manually setting up a mock API on Firebase, as @redbassett has currently been doing. I would like to use the swagger.json generated by the server rather than the spec Swagger, because that way, we'll know the mock routes are accurate to what the server actually provides.

@hawkw hawkw self-assigned this Jul 15, 2015
@hawkw
Copy link
Contributor Author

hawkw commented Jul 15, 2015

Okay, mocks of all our API routes now exist on http://playground.apistudio.io/try/0777f0be-3679-4a80-a445-52c7ce34f0c5/

@hawkw
Copy link
Contributor Author

hawkw commented Jul 16, 2015

This should be closeable; we might want to leave it open until we're actually using the mock API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant