-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Use Redoc instead of swagger - Don't rely on CDN - Fix docs for bulk_search API Signed-off-by: Shivam Sandbhor <[email protected]>
- Loading branch information
Showing
23 changed files
with
1,007 additions
and
21 deletions.
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
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{% load static %} | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>ReDoc</title> | ||
<!-- needed for adaptive design --> | ||
<meta charset="utf-8"/> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<link href="{% static 'api_doc/font.css' %}" rel="stylesheet"> | ||
|
||
|
||
<!-- | ||
ReDoc doesn't change outer page styles | ||
--> | ||
<style> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<redoc spec-url="{% static 'api_doc/api_schema.yaml' %}"></redoc> | ||
<script src="{% static 'api_doc/redoc.standalone.js' %}"> </script> | ||
</body> | ||
</html> |
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
68 changes: 68 additions & 0 deletions
68
vulnerablecode/static/api_doc/9bcbfb5fe4bb244b68d4.worker.js.LICENSE.txt
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 |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/*! | ||
* ReDoc - OpenAPI/Swagger-generated API Reference Documentation | ||
* ------------------------------------------------------------- | ||
* Version: "2.0.0-rc.56" | ||
* Repo: https://github.com/Redocly/redoc | ||
*/ | ||
|
||
/*! | ||
* lunr.Builder | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.Index | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.Pipeline | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.Set | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.TokenSet | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.Vector | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.stemmer | ||
* Copyright (C) 2020 Oliver Nightingale | ||
* Includes code from - http://tartarus.org/~martin/PorterStemmer/js.txt | ||
*/ | ||
|
||
/*! | ||
* lunr.stopWordFilter | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.tokenizer | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.trimmer | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/*! | ||
* lunr.utils | ||
* Copyright (C) 2020 Oliver Nightingale | ||
*/ | ||
|
||
/** | ||
* lunr - http://lunrjs.com - A bit like Solr, but much smaller and not as bright - 2.3.9 | ||
* Copyright (C) 2020 Oliver Nightingale | ||
* @license MIT | ||
*/ |
1 change: 1 addition & 0 deletions
1
vulnerablecode/static/api_doc/9bcbfb5fe4bb244b68d4.worker.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.