-
Notifications
You must be signed in to change notification settings - Fork 336
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
Feature/make swagger json links browsable [OSF-6163] #6099
Closed
NyanHelsing
wants to merge
51
commits into
CenterForOpenScience:develop
from
NyanHelsing:feature/make-swagger-json-links-browsable
+24,167
−149
Closed
Changes from 48 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
effc3f3
Set up links to raw json responses of links in json responses.(what)
NyanHelsing 559694f
Getting branch up to date
NyanHelsing eee8ae2
saving changes
NyanHelsing 14e677f
Browsable json links!
NyanHelsing 808b9c4
Tidy up JSON browsing script
NyanHelsing 7755b3a
Fix an issue with the way swagger (introspects?) one of the routes.
NyanHelsing 896c136
Fixes the way the node views interpret arguments embedded in the url
NyanHelsing e9e9d8e
formatting link correctly for waterbutler
69fd94b
flake8 fixes
3fafac4
Update views.py
NyanHelsing d9f3890
Forgot asterisks.
NyanHelsing 66741d5
fixes
abc4370
fix merge conflict
2c73ff1
fix merge conflicts
d642954
fix node arguments formatting
d2ad2f7
ng osf to unicode strings
5032f7a
Merge branch 'develop' of https://github.com/CenterForOpenScience/osf…
f462407
fix flake8 errors
c91f90c
monkeypatch simplify_regex
64095a6
fix flake8 errors
ce77528
define path_components array
2ff8bd6
setting correct permissions for endpoints
6b25d6a
fix whitespace
6bd9fe1
fix flake errors
b29e1ad
updating to unicode, fix typo
fbcfb4a
Update tests to account for increase in second precision in datetime …
b9547bf
update bearer tokens to be passed into request constructor as bytestr…
fcd4eb9
update Tests to provide bytestring to Request constructor.
d72f561
remove unneccesary code
e2c2840
unused import
cfce105
updateing for new drf error message
fb16f01
updating tests to differentiate between 401 and 403 errors
88ff69d
updating tests
68a286f
fix broken test
764849d
fix tests
6c3df1c
remove dead code
2be2170
relocating swagger-ui js file
1f07750
Wierd. git doesn't want to do the things...
NyanHelsing 4c462a6
removing dead code
4eab556
Merge branch 'feature/make-swagger-json-links-browsable' of https://g…
78279a9
fix tests
ca3ab5b
endpoint categories are now sorted in swagger-ui.
7ce405a
debugging missing paths
5ae48ee
Merge branch 'develop' of github.com:CenterForOpenScience/osf.io into…
f20e453
fix regex. fix api schema generation.
392a4ac
fix flake8 stuff
f5cb930
Merge branch 'develop' of github.com:CenterForOpenScience/osf.io into…
21283c3
Updating docs
18ff1aa
make model list alphabetical
7a9664b
code cleanup
c727d60
missing comma
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.addons import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.applications import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
import urlparse | ||
|
||
import requests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.collections import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
from api.comments import views | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.guids import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.identifiers import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.institutions import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.licenses import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.logs import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
from __future__ import unicode_literals | ||
from django.conf.urls import url | ||
|
||
from api.metaschemas import views | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
See L12 and please keep this list alphabetized (unless the new version of DRS auto-alphabetizes regardless if this list order, in which remove L12).
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.
DRS does alphabetize on the actual API -> Core api transition, though something weird happens between there and rendering on the documentation page.
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.
Sorted out the alphabetization thing.