-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Update drf-yasg and fix make docs
#34959
Conversation
The reason is very unclear so dropping it to see if we can fix the api docs build in 3.11
a12d878
to
8bfa916
Compare
@@ -2,17 +2,19 @@ swagger: '2.0' | |||
info: | |||
title: Open edX API | |||
description: APIs for access to Open edX information | |||
contact: |
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.
I was trying to remember why in the world we decided to commit this generated file to source control. It looks like when I approved it originally, it was contingent on coming up with some automatic way to keep it in sync with reality, which, oops, we never did.
My gut feeling back then was that we shouldn't commit it without a syncing strategy. I still feel that way, especially now that it's part of make docs
-- it'll be annoying to have make docs
dirty the git state.
If you want to let this be for now, that's fine. But if you'd like to git-rm this file and put it in .gitignore, you'd have my 👍🏻
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.
We use this file as a part of the docs now, it generates RST docs based on the openapi schema. I also think it's being used operationally in a few places so it's removal is a bit more complex. I generally agree with you though, I don't like how it's being managed currently. There are some improvements we can make here as we improve the edx-platform API posture.
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
make upgrade-package=drf-yasg