Skip to content

Commit ac97ae0

Browse files
committed
upgraded packages and generated build
1 parent 02baeb6 commit ac97ae0

File tree

9 files changed

+121
-109
lines changed

9 files changed

+121
-109
lines changed

dist/rapidoc-min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.gz

89 Bytes
Binary file not shown.

dist/rapidoc-min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.map.gz

0 Bytes
Binary file not shown.

dist/report.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/rapidoc-min.js

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/specs/temp.yaml

Lines changed: 101 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,101 @@
1-
{
2-
"openapi": "3.0.0",
3-
"info": {
4-
"title": "Example API",
5-
"version": "1.1",
6-
"description": "Test Schema"
7-
},
8-
"paths": {
9-
"/token": {
10-
"summary": "Generate Token",
11-
"post": {
12-
"tags": [
13-
"User"
14-
],
15-
"parameters": [
16-
{
17-
"name": "username",
18-
"description": "Enter your login username.",
19-
"schema": {
20-
"type": "string",
21-
"example": "user1"
22-
},
23-
"in": "query",
24-
"required": true
25-
},
26-
{
27-
"name": "password",
28-
"description": "Enter your login password.",
29-
"schema": {
30-
"type": "string",
31-
"format": "password",
32-
"example": "pp"
33-
},
34-
"in": "query",
35-
"required": true
36-
},
37-
{
38-
"name": "tokenLifeTime",
39-
"description": "Enter the number of days for the token life time. By default, it will expire after 1 day. Maximum is 30 days.",
40-
"schema": {
41-
"type": "integer",
42-
"example": 0
43-
},
44-
"in": "query",
45-
"required": false
46-
}
47-
],
48-
"responses": {
49-
"200": {
50-
"content": {
51-
"application/json": {
52-
"examples": {
53-
"success": {
54-
"value": "message: { Token created successfully}"
55-
}
56-
}
57-
}
58-
},
59-
"description": "If token is created successfully, check the response Headers."
60-
}
61-
},
62-
"operationId": "getToken",
63-
"summary": "Generate Access Token",
64-
"description": "Using the endpoint & parameters below, you can create an API request that can be used in a number of different ways to generate your authentication token. Most importantly, this method is useful for setting up an automated token renewal process. Your token will be supplied via the Authorization header using the Bearer Token schema. For security reasons, tokens are only valid for a limited period. Use the <i>tokenLifeTime</i> parameter to indicate the desired life time of your token (By default, token will expire after 1 day. Maximum is 30 days).\r\n\r\n\r\n\r\nThese are the supported parameters:"
65-
}
66-
}
67-
},
68-
"components": {
69-
"securitySchemes": {
70-
"JWT": {
71-
"scheme": "bearer",
72-
"type": "http",
73-
"description": "This API uses JWT authentication tokens (JSON Web Tokens) to validate all endpoints. The first step for accessing these endpoints is to generate a JWT authentication token, since all API endpoints require a valid token. For security reasons, tokens are only valid for a limited period (By default, tokens will expire after 1 day. Maximum is 30 days)."
74-
}
75-
}
76-
},
77-
"security": [
78-
{
79-
"JWT": [
80-
]
81-
}
82-
],
83-
"tags": [
84-
{
85-
"name": "User",
86-
"description": ""
87-
}
88-
]
89-
}
1+
openapi: 3.0.0
2+
info:
3+
version: v1
4+
title: Users
5+
paths:
6+
/users:
7+
get:
8+
operationId: listUsers
9+
description: List all users.
10+
responses:
11+
"200":
12+
description: Success
13+
content:
14+
application/x.users+json:
15+
schema:
16+
$ref: '#/components/schemas/ListUsersResponse'
17+
default:
18+
description: Error
19+
content:
20+
application/x.error+json:
21+
schema:
22+
$ref: '#/components/schemas/ErrorResponse'
23+
components:
24+
schemas:
25+
ListUsersResponse:
26+
type: object
27+
properties:
28+
links:
29+
type: array
30+
xml:
31+
name: link
32+
items:
33+
$ref: '#/components/schemas/Link'
34+
users:
35+
type: array
36+
xml:
37+
name: feature
38+
items:
39+
type: string
40+
xml:
41+
name: feature
42+
xml:
43+
name: response
44+
Link:
45+
type: object
46+
properties:
47+
rel:
48+
type: string
49+
xml:
50+
attribute: true
51+
href:
52+
type: string
53+
format: uri
54+
xml:
55+
attribute: true
56+
title:
57+
type: string
58+
xml:
59+
attribute: true
60+
type:
61+
type: string
62+
xml:
63+
attribute: true
64+
ErrorDetail:
65+
type: object
66+
properties:
67+
links:
68+
type: array
69+
xml:
70+
name: link
71+
items:
72+
$ref: '#/components/schemas/Link'
73+
code:
74+
type: string
75+
message:
76+
type: string
77+
location:
78+
type: string
79+
ErrorResponse:
80+
type: object
81+
properties:
82+
links:
83+
type: array
84+
xml:
85+
name: link
86+
items:
87+
$ref: '#/components/schemas/Link'
88+
status:
89+
type: integer
90+
format: int32
91+
message:
92+
type: string
93+
errors:
94+
type: array
95+
xml:
96+
name: error
97+
items:
98+
$ref: '#/components/schemas/ErrorDetail'
99+
xml:
100+
name: response
101+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"main": "dist/rapidoc-min.js",
2929
"module": "dist/rapidoc-min.js",
3030
"dependencies": {
31-
"lit-element": "2.3.1",
31+
"lit-element": "2.4.0",
3232
"lit-html": "1.2.1",
3333
"marked": "^1.1.1",
3434
"prismjs": "^1.20.0",

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5246,10 +5246,10 @@ levn@^0.4.1:
52465246
prelude-ls "^1.2.1"
52475247
type-check "~0.4.0"
52485248

5249-
lit-element@2.3.1:
5250-
version "2.3.1"
5251-
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.3.1.tgz#73343b978fa1e73d60526c6bb6ad60f53a16c343"
5252-
integrity sha512-tOcUAmeO3BzwiQ7FGWdsshNvC0HVHcTFYw/TLIImmKwXYoV0E7zCBASa8IJ7DiP4cen/Yoj454gS0qqTnIGsFA==
5249+
lit-element@2.4.0:
5250+
version "2.4.0"
5251+
resolved "https://registry.yarnpkg.com/lit-element/-/lit-element-2.4.0.tgz#b22607a037a8fc08f5a80736dddf7f3f5d401452"
5252+
integrity sha512-pBGLglxyhq/Prk2H91nA0KByq/hx/wssJBQFiYqXhGDvEnY31PRGYf1RglVzyLeRysu0IHm2K0P196uLLWmwFg==
52535253
dependencies:
52545254
lit-html "^1.1.1"
52555255

0 commit comments

Comments
 (0)