openapi-explorer 0.9.385 → 0.9.392
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/CHANGELOG.md +6 -0
- package/README.md +3 -2
- package/dist/browser/openapi-explorer.min.js +7 -5
- package/dist/browser/openapi-explorer.min.js.map +1 -1
- package/dist/es/components/api-request.js +51 -18
- package/dist/es/components/api-response.js +17 -5
- package/dist/es/components/json-tree.js +3 -2
- package/dist/es/components/mime-types.js +5 -5
- package/dist/es/components/schema-table.js +1 -1
- package/dist/es/components/schema-tree.js +4 -3
- package/dist/es/languages/en.js +59 -0
- package/dist/es/languages/fr.js +59 -0
- package/dist/es/languages/index.js +20 -0
- package/dist/es/openapi-explorer.js +8 -3
- package/dist/es/styles/input-styles.js +1 -1
- package/dist/es/styles/schema-styles.js +1 -1
- package/dist/es/templates/callback-template.js +1 -1
- package/dist/es/templates/code-samples-template.js +2 -1
- package/dist/es/templates/components-template.js +4 -2
- package/dist/es/templates/endpoint-template.js +1 -1
- package/dist/es/templates/expanded-endpoint-template.js +1 -1
- package/dist/es/templates/navbar-template.js +3 -2
- package/dist/es/templates/overview-template.js +2 -1
- package/dist/es/templates/security-scheme-template.js +6 -5
- package/dist/es/templates/server-template.js +4 -3
- package/dist/es/utils/common-utils.js +4 -2
- package/dist/es/utils/schema-utils.js +51 -44
- package/dist/es/utils/spec-parser.js +3 -2
- package/dist/lib/components/api-request.js +52 -18
- package/dist/lib/components/api-response.js +18 -5
- package/dist/lib/components/json-tree.js +4 -2
- package/dist/lib/components/mime-types.js +8 -9
- package/dist/lib/components/schema-table.js +1 -1
- package/dist/lib/components/schema-tree.js +5 -3
- package/dist/lib/languages/en.js +64 -0
- package/dist/lib/languages/fr.js +64 -0
- package/dist/lib/languages/index.js +32 -0
- package/dist/lib/openapi-explorer.js +9 -3
- package/dist/lib/styles/input-styles.js +1 -1
- package/dist/lib/styles/schema-styles.js +1 -1
- package/dist/lib/templates/callback-template.js +1 -1
- package/dist/lib/templates/code-samples-template.js +3 -1
- package/dist/lib/templates/components-template.js +4 -2
- package/dist/lib/templates/endpoint-template.js +1 -1
- package/dist/lib/templates/expanded-endpoint-template.js +1 -1
- package/dist/lib/templates/navbar-template.js +4 -2
- package/dist/lib/templates/overview-template.js +3 -1
- package/dist/lib/templates/security-scheme-template.js +7 -5
- package/dist/lib/templates/server-template.js +5 -3
- package/dist/lib/utils/common-utils.js +4 -2
- package/dist/lib/utils/schema-utils.js +51 -44
- package/dist/lib/utils/spec-parser.js +4 -2
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,9 @@ This package follows standard semvar, `<major>.<minor>.<build>`. No breaking cha
|
|
|
4
4
|
## 1.0 ##
|
|
5
5
|
* By default uses the `info.title` property of the open api specification for the `overview` section name in the navbar. Falls back to the default when not specified.
|
|
6
6
|
|
|
7
|
+
## 0.10 ##
|
|
8
|
+
* Internationalization support with languages `en` and `fr`
|
|
9
|
+
|
|
7
10
|
## 0.9 ##
|
|
8
11
|
* OpenAPI 3.1 support using `APIDevTools/json-schema-ref-parser`
|
|
9
12
|
* Enable searching for schemas using the search filter.
|
|
@@ -17,6 +20,9 @@ This package follows standard semvar, `<major>.<minor>.<build>`. No breaking cha
|
|
|
17
20
|
* Fix issues with allOf/oneOf with partially completed data.
|
|
18
21
|
* Sanitize paths coming from the spec that contain invalid characters.
|
|
19
22
|
* Improve display of array types and number/string formats in parameters and models
|
|
23
|
+
* Fix fetch request options to not require unnecessary extra level in setting properties.
|
|
24
|
+
* Fix support for `const` in json schema
|
|
25
|
+
* Fix support for `null` types and add property `display-nulls` to support forcing the display of them in models.
|
|
20
26
|
|
|
21
27
|
## 0.8 ##
|
|
22
28
|
* Removing the `RESET` button as it is confusing for users to see. It only repopulated the defaults, and to do that, you can easily switch tabs and come back.
|
package/README.md
CHANGED
|
@@ -43,7 +43,8 @@ Web Component Custom Element for Open-API spec viewing, with automatic integrati
|
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
## Features
|
|
46
|
-
- OpenAPI 3.0
|
|
46
|
+
- OpenAPI 3.0
|
|
47
|
+
- Built in automatic Internationalization
|
|
47
48
|
- Works with any framework
|
|
48
49
|
- View resources, models, and directly make API calls
|
|
49
50
|
- Better Usability,
|
|
@@ -51,7 +52,7 @@ Web Component Custom Element for Open-API spec viewing, with automatic integrati
|
|
|
51
52
|
- Takes only one click to make an API call
|
|
52
53
|
- Renders SDK/client code samples
|
|
53
54
|
- Branding and Personalization features makes it easy to follow any style guide
|
|
54
|
-
- Fully
|
|
55
|
+
- Fully customizable theme
|
|
55
56
|
- Plenty of customization options
|
|
56
57
|
- Add external contents throughout the component, extensible with markdown, images, links, and text
|
|
57
58
|
- All properties are reactive
|