-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Add a README for api-reference docs and link to it instead of linking to swagger-ui #23080
Conversation
Labelling this PR as size/S |
Labelling this PR as size/M |
GCE e2e build/test passed for commit f01ff6aec2aa3a705638427e2b65f423e28287c7. |
GCE e2e build/test passed for commit 2f6991c. |
Thanks. Seems reasonable. @caesarxuchao PTAL. |
@@ -38,7 +38,7 @@ Primary system and API concepts are documented in the [User guide](user-guide/RE | |||
|
|||
Overall API conventions are described in the [API conventions doc](devel/api-conventions.md). | |||
|
|||
Complete API details are documented via [Swagger](http://swagger.io/). The Kubernetes apiserver (aka "master") exports an API that can be used to retrieve the [Swagger spec](https://github.com/swagger-api/swagger-spec/tree/master/schemas/v1.2) for the Kubernetes API, by default at `/swaggerapi`, and a UI you can use to browse the API documentation at `/swagger-ui`. We also periodically update a [statically generated UI](http://kubernetes.io/third_party/swagger-ui/). | |||
Complete API details are documented via [Swagger](http://swagger.io/). The Kubernetes apiserver (aka "master") exports an API that can be used to retrieve the [Swagger spec](https://github.com/swagger-api/swagger-spec/tree/master/schemas/v1.2) for the Kubernetes API, by default at `/swaggerapi`, and a UI you can use to browse the API documentation at `/swagger-ui`. We also host generated [API reference docs](api-reference/README.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the /swagger-ui enabled on apiserver by default?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right now yes.
Will update the documentation in the PR where we disable it. #23025
LGTM. |
@k8s-bot test this Tests are more than 48 hours old. Re-running tests. |
GCE e2e build/test failed for commit 2f6991c. Please reference the list of currently known flakes when examining this failure. If you request a re-test, you must reference the issue describing the flake. |
Automatic merge from submit-queue |
Auto commit by PR queue bot
Auto commit by PR queue bot
Fixes #16049 and #15915.
http://kubernetes.io/third_party/swagger-ui/ does not work anymore with the new site upgrade. Ref kubernetes/website#112
cc @kubernetes/sig-api-machinery @bgrant0607 @caesarxuchao @kubernetes/docs