openapi-explorer 0.8.273 → 0.8.277
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/openapi-explorer.min.js +5 -5
- package/dist/openapi-explorer.min.js.LICENSE.txt +12 -29
- package/dist/openapi-explorer.min.js.LICENSE.txt.gz +0 -0
- package/dist/openapi-explorer.min.js.gz +0 -0
- package/dist/openapi-explorer.min.js.map +1 -1
- package/dist/openapi-explorer.min.js.map.gz +0 -0
- package/dist/report.html +6 -5
- package/package.json +2 -2
- package/src/components/api-request.js +1 -1
- package/src/components/api-response.js +1 -1
- package/src/components/schema-table.js +1 -1
- package/src/components/schema-tree.js +1 -1
- package/src/openapi-explorer.js +1 -1
- package/src/templates/components-template.js +1 -1
- package/src/templates/endpoint-template.js +1 -1
- package/src/templates/expanded-endpoint-template.js +1 -1
- package/src/templates/focused-endpoint-template.js +1 -1
- package/src/templates/navbar-template.js +1 -1
- package/src/templates/overview-template.js +1 -1
- package/src/templates/security-scheme-template.js +1 -1
- package/src/templates/server-template.js +1 -1
- package/src/utils/spec-parser.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openapi-explorer",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.277",
|
|
4
4
|
"description": "OpenAPI Explorer - API viewer with dynamically generated components, documentation, and interaction console",
|
|
5
5
|
"author": "Rhosys Developers <developers@rhosys.ch>",
|
|
6
6
|
"repository": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"lit-element": "2.4.0",
|
|
49
49
|
"lit-html": "^1.1.1",
|
|
50
50
|
"lodash.clonedeep": "^4.5.0",
|
|
51
|
-
"marked": "^
|
|
51
|
+
"marked": "^4.0.16",
|
|
52
52
|
"mime-types": "^2.1.32",
|
|
53
53
|
"openapi-data-validator": "^2.0.40",
|
|
54
54
|
"path-browserify": "^1.0.1",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement, html, css } from 'lit-element';
|
|
2
|
-
import marked from 'marked';
|
|
2
|
+
import { marked } from 'marked';
|
|
3
3
|
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
4
4
|
import { schemaInObjectNotation, generateExample } from '../utils/schema-utils';
|
|
5
5
|
import FontStyles from '../styles/font-styles';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement, html, css } from 'lit-element';
|
|
2
|
-
import marked from 'marked';
|
|
2
|
+
import { marked } from 'marked';
|
|
3
3
|
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
4
4
|
import FontStyles from '../styles/font-styles';
|
|
5
5
|
import SchemaStyles from '../styles/schema-styles';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LitElement, html, css } from 'lit-element';
|
|
2
|
-
import marked from 'marked';
|
|
2
|
+
import { marked } from 'marked';
|
|
3
3
|
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
4
4
|
import FontStyles from '../styles/font-styles';
|
|
5
5
|
import SchemaStyles from '../styles/schema-styles';
|
package/src/openapi-explorer.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* eslint-disable no-console */
|
|
2
2
|
import { html } from 'lit-element';
|
|
3
3
|
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
4
|
-
import marked from 'marked';
|
|
4
|
+
import { marked } from 'marked';
|
|
5
5
|
import '../components/json-tree';
|
|
6
6
|
import '../components/schema-tree';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-element';
|
|
2
2
|
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
3
|
-
import marked from 'marked';
|
|
3
|
+
import { marked } from 'marked';
|
|
4
4
|
import '../components/api-request';
|
|
5
5
|
import '../components/api-response';
|
|
6
6
|
import codeSamplesTemplate from './code-samples-template';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-element';
|
|
2
2
|
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
3
|
-
import marked from 'marked';
|
|
3
|
+
import { marked } from 'marked';
|
|
4
4
|
import { pathSecurityTemplate } from './security-scheme-template';
|
|
5
5
|
import codeSamplesTemplate from './code-samples-template';
|
|
6
6
|
import callbackTemplate from './callback-template';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { html } from 'lit-element';
|
|
2
2
|
import { unsafeHTML } from 'lit-html/directives/unsafe-html';
|
|
3
|
-
import marked from 'marked';
|
|
3
|
+
import { marked } from 'marked';
|
|
4
4
|
import { expandedEndpointBodyTemplate } from './expanded-endpoint-template';
|
|
5
5
|
import '../components/api-request';
|
|
6
6
|
import '../components/api-response';
|
package/src/utils/spec-parser.js
CHANGED