Skip to content

Commit d7796d8

Browse files
committed
updated packages and generated build
1 parent 8b7f79d commit d7796d8

11 files changed

+97
-19
lines changed

dist/rapidoc-min.js

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

dist/rapidoc-min.js.LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272

7373
/**
7474
* @preserve
75-
* RapiDoc 9.1.0 - WebComponent to View OpenAPI docs
75+
* RapiDoc 9.1.1-beta - WebComponent to View OpenAPI docs
7676
* License: MIT
7777
* Repo : https://github.com/mrin9/RapiDoc
7878
* Author : Mrinmoy Majumdar

dist/rapidoc-min.js.LICENSE.txt.gz

3 Bytes
Binary file not shown.

dist/rapidoc-min.js.gz

-2 Bytes
Binary file not shown.

dist/report.html

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

docs/examples/mongo.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<!-- Global site tag (gtag.js) - Google Analytics -->
5+
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-132775238-1"></script>
6+
<script>
7+
window.dataLayer = window.dataLayer || [];
8+
function gtag(){dataLayer.push(arguments);}
9+
gtag('js', new Date());
10+
gtag('config', 'UA-132775238-1');
11+
</script>
12+
13+
<meta charset="utf-8">
14+
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
15+
<script type="module" src="../rapidoc-min.js"></script>
16+
</head>
17+
<body>
18+
<rapi-doc id="thedoc"
19+
spec-url = "../specs/mongo.yaml"
20+
allow-authentication = "false"
21+
show-header="false"
22+
show-info="false"
23+
allow-server-selection="false"
24+
render-style = "focused"
25+
sort-tags = "true"
26+
primary-color="#f54c47"
27+
show-components = "true"
28+
> </rapi-doc>
29+
</body>
30+
</html>

docs/rapidoc-min.js

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

docs/specs/mongo.yaml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
openapi: 3.1.0
2+
info:
3+
title: Database Schema
4+
description: APIs Spec for an API mocking servce
5+
components:
6+
schemas:
7+
users:
8+
type: object
9+
properties:
10+
id:
11+
description: User ID
12+
type: integer
13+
email:
14+
description: User Email
15+
type: string
16+
first_name:
17+
description: First Name
18+
type: string
19+
last_name:
20+
description: Last Name
21+
type: string
22+
avatar:
23+
description: Avatar URL
24+
type: string
25+
tenants:
26+
type: object
27+
properties:
28+
url:
29+
description: Support URL
30+
type: string
31+
text:
32+
description: Support URL - Description
33+
type: string
34+
external:
35+
$ref: '../specs/tenants.json'
36+

docs/specs/tenants.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"description": "Tenant Details",
3+
"type": "object",
4+
"properties": {
5+
"empId" : { "type": "string", "description": "Employee ID" },
6+
"firstName" : { "type": "string", "description": "First name" },
7+
"lastName" : { "type": "string", "description": "Last Name" },
8+
"jobTitle" : { "type": "string", "description": "Job title" },
9+
"department": { "type": "string", "description": "Department name"},
10+
"salary" : { "type": "number", "description": "Salary per annum"}
11+
}
12+
}

package-lock.json

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

0 commit comments

Comments
 (0)