Skip to content

Commit

Permalink
fixes #1025 - tag not showing on navigation bar. and generated 9.3.6 …
Browse files Browse the repository at this point in the history
…build
  • Loading branch information
mrin9 committed Sep 18, 2024
1 parent d061ad8 commit 0373835
Show file tree
Hide file tree
Showing 21 changed files with 61 additions and 13,269 deletions.
2 changes: 1 addition & 1 deletion dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
docEl.addEventListener('before-try', (e) => {
e.detail.request.headers.append('AAA-BBB', 'CCC DDDD');
});
});</script><body><rapi-doc spec-url="./specs/petstore.yaml" id="thedoc" theme="dark" render-style="view" schema-style="table" show-method-in-nav-bar="true" use-path-in-nav-bar="true" show-components="true" show-info="true" show-header="true" allow-search="false" allow-advanced-search="true" allow-spec-url-load="false" allow-spec-file-download="true" allow-server-selection="true" allow-authentication="true" update-route="false" match-type="regex" persist-auth="true" scroll-behavior="smooth"></rapi-doc></body></html>
});</script><body><rapi-doc spec-url="https://api.apis.guru/v2/specs/azure.com/azureactivedirectory/2017-04-01/swagger.yaml" id="thedoc" theme="dark" render-style="read" schema-style="table" show-method-in-nav-bar="true" use-path-in-nav-bar="true" show-components="true" show-info="true" show-header="true" allow-search="false" allow-advanced-search="true" allow-spec-url-load="false" allow-spec-file-download="true" allow-server-selection="true" allow-authentication="true" update-route="false" match-type="regex" persist-auth="true" scroll-behavior="smooth"></rapi-doc></body></html>
Binary file modified dist/index.html.gz
Binary file not shown.
14 changes: 7 additions & 7 deletions dist/rapidoc-min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/rapidoc-min.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

/**
* @preserve
* RapiDoc 9.3.5 - WebComponent to View OpenAPI docs
* RapiDoc 9.3.6 - WebComponent to View OpenAPI docs
* License: MIT
* Repo : https://github.com/rapi-doc/RapiDoc
* Author : Mrinmoy Majumdar
Expand Down
Binary file modified dist/rapidoc-min.js.LICENSE.txt.gz
Binary file not shown.
Binary file modified dist/rapidoc-min.js.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/rapidoc-min.js.map

Large diffs are not rendered by default.

Binary file modified dist/rapidoc-min.js.map.gz
Binary file not shown.
14 changes: 7 additions & 7 deletions dist/rapidoc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/report.html

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/rapidoc-min.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions docs/rapidoc.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

204 changes: 20 additions & 184 deletions docs/specs/temp.yaml
Original file line number Diff line number Diff line change
@@ -1,188 +1,24 @@
openapi: 3.0.0
info:
description: Contains all data types
version: 1.0.0
title: Testing different data-types
title: Some API
version: 0.1.0
paths:
/nested-object-in-request-body:
post:
tags:
- Test with various data types
summary: Request Body accepting a JSON
requestBody:
content:
application/json:
schema:
$ref: "#/components/schemas/test"
responses:
'200':
description: 'Resp'
content:
application/json:
schema:
$ref: '#/components/schemas/testResponse'
/foo:
post:
requestBody:
content:
application/json:
schema:
type: object
additionalProperties:
/some_path:
get:
parameters:
- name: params
in: query
style: form
explode: true
schema:
type: object
properties:
var1:
type: string
description: Something about var1
var2:
type: integer
patternProperties:
S_:
type: integer
properties:
foo:
type: string
format: date-time
required: true
example:
foo: "2025-11-18T12:59:50.033Z"
components:
schemas:
category:
type: object
properties:
catId:
description: Category ID
allOf:
- $ref: '#/components/schemas/id'
name:
description: Category name
type: string
deprecated: true
id:
type: string
format: uuid
person:
type: object
required:
- name
- photoUrls
properties:
primaryEmail:
type: string
format: email
dob:
description: Date of Birth
type: string
format: date
id:
title: Unique ID
description: SSN
allOf:
- $ref: '#/components/schemas/id'
category:
title: Person Category
description: Categories this person belongs to
allOf:
- $ref: '#/components/schemas/category'
country:
type: object
deprecated: true
properties:
countryCode:
type: string
countryName:
type: string
dependentIds:
type: array
deprecated: true
description: IDs of Dependents .
items:
type: integer
example:
- 278
- 279
- 280
- 281
name:
description: Name of the person
type: string
minLength: 4
examples:
empty:
value:
summary: No Name
male-name:
value: James
summary: Male name
female-name:
value: Ria
summary: Female Name
gender-nutral-name:
value: Charlie
summary: Gender Neutral Name
photoUrls:
description: The list of URL to a cute photos featuring pet
type: array
maxItems: 20
items:
type: string
format: url
tags:
title: TAGS
description: Tags attached to the person
type: array
minItems: 1
items:
$ref: '#/components/schemas/tag'
maritalStatus:
type: string
description: Marital status in case of adult
enum:
- married
- unmarried
- widowed
phone:
description: phone number in international format
type: string
pattern: '/^\+(?:[0-9]-?){6,14}[0-9]$/'
example: +1-202-555-0192
nullable: true
tag:
type: object
properties:
id:
description: Tag ID
allOf:
- $ref: '#/components/schemas/id'
name:
description: Tag name
type: string
minLength: 1
test:
type: object
properties:
photoUrls:
description: The list of URL to a cute photos featuring pet
type: array
maxItems: 20
items:
type: string
format: url
testResponse:
type: object
required:
- url
- tags
properties:
url:
type: string
nullable: true
description: Generated URL
tags:
type: array
items:
allOf:
- $ref: '#/components/schemas/tag'
nullable: true
cat:
allOf:
- $ref: '#/components/schemas/category'
nullable: true



minimum: 10
maximum: 100
required:
- var1
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@
https://cesdev.eng.sonicwall.com/api/q/openapi
-->
<rapi-doc
spec-url = "./specs/petstore.yaml"
spec-url = "https://api.apis.guru/v2/specs/azure.com/azureactivedirectory/2017-04-01/swagger.yaml"
id="thedoc"
theme = "dark"
render-style="view"
render-style="read"
schema-style="table"
show-method-in-nav-bar = "true"
use-path-in-nav-bar = "true"
Expand Down
Loading

0 comments on commit 0373835

Please sign in to comment.