Rename to drf-yasg

drf-swagger was already taken
This commit is contained in:
Cristi Vîjdea committed 2017-12-13 10:22:03 +01:00
1 parent 71b3fd2895
commit c66f7e8e01
65 files changed
+965 -166

No files matched your search

@@ -1,2 +0,0 @@
README.md
deploy.sh
@@ -1,72 +0,0 @@
{
"_from": "swagger-ui-dist@3.6.1",
"_id": "swagger-ui-dist@3.6.1",
"_inBundle": false,
"_integrity": "sha1-uzQgV/h2COTs2DlGMDSJxjYicgY=",
"_location": "/swagger-ui-dist",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "swagger-ui-dist@3.6.1",
"name": "swagger-ui-dist",
"escapedName": "swagger-ui-dist",
"rawSpec": "3.6.1",
"saveSpec": null,
"fetchSpec": "3.6.1"
},
"_requiredBy": [
"#USER",
"/"
],
"_resolved": "https://registry.npmjs.org/swagger-ui-dist/-/swagger-ui-dist-3.6.1.tgz",
"_shasum": "bb342057f87608e4ecd83946303489c636227206",
"_spec": "swagger-ui-dist@3.6.1",
"_where": "C:\\Projects\\drf-swagger",
"bugs": {
"url": "https://github.com/swagger-api/swagger-ui/issues"
},
"bundleDependencies": false,
"contributors": [
{
"url": "in alphabetical order"
},
{
"name": "Anna Bodnia",
"email": "anna.bodnia@gmail.com"
},
{
"name": "Buu Nguyen",
"email": "buunguyen@gmail.com"
},
{
"name": "Josh Ponelat",
"email": "jponelat@gmail.com"
},
{
"name": "Kyle Shockey",
"email": "kyleshockey1@gmail.com"
},
{
"name": "Robert Barnwell",
"email": "robert@robertismy.name"
},
{
"name": "Sahar Jafari",
"email": "shr.jafari@gmail.com"
}
],
"dependencies": {},
"deprecated": false,
"description": "[![NPM version](https://badge.fury.io/js/swagger-ui-dist.svg)](http://badge.fury.io/js/swagger-ui-dist)",
"devDependencies": {},
"homepage": "https://github.com/swagger-api/swagger-ui#readme",
"license": "Apache-2.0",
"main": "index.js",
"name": "swagger-ui-dist",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/swagger-api/swagger-ui.git"
},
"version": "3.6.1"
}
@@ -6,6 +6,6 @@ __email__ = 'cristi@cvjd.me'
try:
__version__ = get_distribution(__name__).version
except DistributionNotFound:
except DistributionNotFound: # pragma: no cover
# package is not installed
pass
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -106,7 +106,7 @@ class SwaggerUIRenderer(_UIRenderer):
"""Renders a swagger-ui web interface for schema browisng.
Also requires :class:`.OpenAPIRenderer` as an available renderer on the same view.
"""
template = 'drf-swagger/swagger-ui.html'
template = 'drf-yasg/swagger-ui.html'
format = 'swagger'
@@ -114,5 +114,5 @@ class ReDocRenderer(_UIRenderer):
"""Renders a ReDoc web interface for schema browisng.
Also requires :class:`.OpenAPIRenderer` as an available renderer on the same view.
"""
template = 'drf-swagger/redoc.html'
template = 'drf-yasg/redoc.html'
format = 'redoc'
File renamed without changes.
@@ -38,6 +38,6 @@
redoc.setAttribute("expand-responses", redocSettings.expandResponses);
document.body.appendChild(redoc);
</script>
<script src="{% static 'drf-swagger/redoc/redoc.min.js' %}"> </script>
<script src="{% static 'drf-yasg/redoc/redoc.min.js' %}"> </script>
</body>
</html>
@@ -8,10 +8,10 @@
<link
href="https://fonts.googleapis.com/css?family=Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700"
rel="stylesheet">
<link rel="stylesheet" type="text/css" href="{% static 'drf-swagger/swagger-ui-dist/swagger-ui.css' %}">
<link rel="icon" type="image/png" href="{% static 'drf-swagger/swagger-ui-dist/favicon-32x32.png' %}"
<link rel="stylesheet" type="text/css" href="{% static 'drf-yasg/swagger-ui-dist/swagger-ui.css' %}">
<link rel="icon" type="image/png" href="{% static 'drf-yasg/swagger-ui-dist/favicon-32x32.png' %}"
sizes="32x32"/>
<link rel="icon" type="image/png" href="{% static 'drf-swagger/swagger-ui-dist/favicon-16x16.png' %}"
<link rel="icon" type="image/png" href="{% static 'drf-yasg/swagger-ui-dist/favicon-16x16.png' %}"
sizes="16x16"/>
<style>
html {
@@ -183,9 +183,9 @@
};
</script>
<script src="{% static 'drf-swagger/swagger-ui-dist/swagger-ui-bundle.js' %}"></script>
<script src="{% static 'drf-swagger/swagger-ui-dist/swagger-ui-standalone-preset.js' %}"></script>
<script src="{% static 'drf-swagger/insQ.min.js' %}"></script>
<script src="{% static 'drf-yasg/swagger-ui-dist/swagger-ui-bundle.js' %}"></script>
<script src="{% static 'drf-yasg/swagger-ui-dist/swagger-ui-standalone-preset.js' %}"></script>
<script src="{% static 'drf-yasg/insQ.min.js' %}"></script>
<div id="django-session-auth" class="hidden">
{% if USE_SESSION_AUTH %}
File renamed without changes.
File renamed without changes.