Skip to content

Conversation

@wmwong
Copy link
Contributor

@wmwong wmwong commented Oct 12, 2016

Removes endpoints.html.twig and the paths to / and /api-docs.
Adds sections for the Endpoints graphs and the Swagger UI in the README.
Fixes deploy command in the README.
Updates the dependencies.

Removes endpoints.html.twig and the paths to / and /api-docs.
Adds sections for the Endpoints graphs and the Swagger UI in the README.
Updates the dependencies.
@tmatsuo
Copy link
Contributor

tmatsuo commented Oct 12, 2016

What's the rationale of removing the top page, and the /api-docs?
I think it's nice if you see something useful when you visit the root of your app, instead of seeing 404

@wmwong
Copy link
Contributor Author

wmwong commented Oct 12, 2016

Endpoints will only allow requests to paths that are specified in swagger.yaml. swagger.yaml is used to define the API surface. / and /api-docs are not conceptually part of the API surface and are not included in swagger.yaml so Endpoints will reject requests to these paths. Therefore, after deploying to AppEngine, these paths are no longer reachable. This is why the information in / has been moved to the README. /api-docs is basically swagger.yaml which the user already has access to.

@tmatsuo
Copy link
Contributor

tmatsuo commented Oct 12, 2016

I see, thanks for the PR!

@tmatsuo
Copy link
Contributor

tmatsuo commented Oct 12, 2016

We should have an e2e test for making sure it's really running endoint in cloud, filed #193

@tmatsuo tmatsuo merged commit 0b94ba0 into master Oct 12, 2016
@bshaffer bshaffer deleted the remove-index branch January 21, 2017 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants