Skip to content

Commit

Permalink
Bump swagger version and hide swagger models.
Browse files Browse the repository at this point in the history
  • Loading branch information
noboomu committed Mar 11, 2021
1 parent 7574ab9 commit e690200
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Proteus Changelog.
## Unreleased
### No issue

**Bump version.**


[7574ab99246d6a3](https://github.com/noboomu/proteus/commit/7574ab99246d6a3) Joshua Bauer *2021-03-10 00:35:10*

**Rework form processing.**


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<meta charset="UTF-8">
<title>{{ title }}</title>
<link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700|Open+Sans:400,700|Source+Code+Pro:300,600|Titillium+Web:400,600,700" rel="stylesheet">
<link href="//unpkg.com/swagger-ui-dist@3/swagger-ui.css" rel='stylesheet' />
<link href="//unpkg.com/swagger-ui-dist@3.44.1/swagger-ui.css" rel='stylesheet' />
<link href="{{ basePath }}/swagger-ui.css" rel='stylesheet' />

<style>
Expand Down Expand Up @@ -76,14 +76,15 @@
<div id="swagger-ui"></div>


<script src="//unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
<script src="//unpkg.com/swagger-ui-dist@3/swagger-ui-standalone-preset.js"></script>
<script src="//unpkg.com/swagger-ui-dist@3.44.1/swagger-ui-bundle.js"></script>
<script src="//unpkg.com/swagger-ui-dist@3.44.1/swagger-ui-standalone-preset.js"></script>

<script>

const ui = SwaggerUIBundle({
url: window.location.origin + window.location.pathname + '.yaml',
dom_id: '#swagger-ui',
defaultModelsExpandDepth: -1,
presets: [
SwaggerUIBundle.presets.apis,
SwaggerUIStandalonePreset
Expand Down

0 comments on commit e690200

Please sign in to comment.