Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redoc update #5

Merged
merged 133 commits into from
Dec 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
133 commits
Select commit Hold shift + click to select a range
bb4594e
feat: add new option hideSchemaPattern (#1475)
stasiukanya Nov 30, 2020
8c559bc
fix: add missed labels to elements (#1445)
stasiukanya Nov 30, 2020
abcd7e0
chore: upgrade prism.js
RomanHotsiy Nov 30, 2020
7b78e75
chore: Release 2.0.0-rc.48 🔖
RomanHotsiy Nov 30, 2020
2a329c1
docs: fix `menuToggle` default value
RomanHotsiy Dec 1, 2020
f0755a8
docs: fix the Rebilly link
Dec 10, 2020
bc19750
chore(cli): v0.10.2
RomanHotsiy Nov 30, 2020
040ce72
fix: fix SourceCodeWithCopy component to be non-pure
RomanHotsiy Dec 11, 2020
a5e8e81
docs: document theme options (#1438)
kscheirer Jan 8, 2021
d886751
chore: remove duplicate semicolons (#1504)
baijunyao Jan 22, 2021
0dce880
fix: crash on multiple examples on parameter object
RomanHotsiy Jan 28, 2021
c874a59
fix: pass boolean and number values as a string in highlight function…
AntonKozachuk Jan 30, 2021
753b4ab
chore: Release 2.0.0-rc.49 🔖
RomanHotsiy Jan 30, 2021
755a909
chore: update travis badge url
RomanHotsiy Jan 30, 2021
d288165
fix: background-color in search results (#1531)
AntonKozachuk Feb 15, 2021
d3589dd
chore: clean up .travis.yaml
RomanHotsiy Jan 30, 2021
8d98fed
chore(cli): upgrade redoc to rc.49
RomanHotsiy Jan 30, 2021
524e512
chore(cli): v0.10.3
RomanHotsiy Jan 30, 2021
8270481
fix: false-positive recursive tag case when using oneOf + allOf (#1534)
RomanHotsiy Feb 15, 2021
3ba622f
fix: add includes polyfill
RomanHotsiy Feb 15, 2021
8bee3d5
chore: Release 2.0.0-rc.50 🔖
RomanHotsiy Feb 15, 2021
7003bcc
chore(cli): v0.10.4
RomanHotsiy Feb 15, 2021
6086c6c
docs: remove outdated config option from readme (#1543)
Feb 22, 2021
4846259
docs: minor syntax highlight fix on the README (#1549)
justjavac Mar 2, 2021
c7bbef5
feat: add disable-google-font parameter to serve command in cli (#1558)
patrickdemers6 Mar 31, 2021
e5644ee
docs: remove extra word in grammar (#1539)
kurtfurbush Mar 31, 2021
5033946
chore: use openapi-core to bundle definition instead of json-schema-r…
andriyl Apr 8, 2021
5a9154a
chore: unit tests to check loading and bundling api definitions with …
andriyl Apr 8, 2021
60bf22e
chore: Release 2.0.0-rc.51
andriyl Apr 8, 2021
3cae0b3
chore(cli): v0.11.0
andriyl Apr 8, 2021
0a08f12
chore(cli): v0.11.1
RomanHotsiy Apr 8, 2021
cc04106
fix: broken paths when budle or serve using cli (#1572)
andriyl Apr 9, 2021
893e296
chore(cli): v0.11.2
RomanHotsiy Apr 9, 2021
ca3108b
chore: update openapi-core version to fix parsing root document
andriyl Apr 9, 2021
3c4ece9
chore: Release 2.0.0-rc.52
andriyl Apr 9, 2021
5c8524d
chore: Release 2.0.0-rc.53
andriyl Apr 12, 2021
dfc4cf1
fix: added missing semicolon to styling (#1578)
olivierbeaulieu Apr 12, 2021
44152fd
docs: update specUrl (#1577)
andriyl Apr 12, 2021
79961d4
chore(cli): v0.11.3
andriyl Apr 13, 2021
18511fd
Merge branch 'master' of github.com:Redocly/redoc
andriyl Apr 13, 2021
ab2d57a
fix: right absolute path for load and bundle definition (#1579)
andriyl Apr 13, 2021
0ee6c51
chore(cli): v0.11.4
andriyl Apr 13, 2021
22cc5f1
chore: update(cli) engine node version >=12 (#1583)
andriyl Apr 15, 2021
d7a0a4d
fix: parse json theme string for standalone tag (#1492)
langhabel Apr 15, 2021
4b072be
fix: use operation path if operation summary/description is not provi…
hyzyla Apr 29, 2021
823be24
feat: add basic support openApi 3.1 (#1622)
AlexVarchuk May 31, 2021
92387bc
chore: upgrade dependencies (#1634)
RomanHotsiy Jun 2, 2021
c09cf9d
chore: modernize build pipeline (#1635)
RomanHotsiy Jun 9, 2021
0a4d172
chore: remove extra webpack resolver
RomanHotsiy Jun 9, 2021
f4ea368
feat: merge refs oas 3.1 (#1640)
RomanHotsiy Jun 9, 2021
bcfae6a
chore: v2.0.0-rc.54
RomanHotsiy Jun 9, 2021
43b693f
chore(cli): upgrade redoc to rc.54
RomanHotsiy Jun 9, 2021
173d411
chore(cli): v0.12.0
RomanHotsiy Jun 9, 2021
274b04b
chore(cli): v0.12.1
RomanHotsiy Jun 9, 2021
a69f0fb
feat: added git folder sync config
Leocete Jun 23, 2021
ece0f5a
Merge pull request #1652 from Redocly/feat/git-folder-sync
Leocete Jun 25, 2021
f944da0
chore: change cors url in the demo
RomanHotsiy Jul 1, 2021
3df72fb
fix: broken linkify
RomanHotsiy Jul 1, 2021
b41a8b4
fix: fix accidentally removed onLoaded
RomanHotsiy Jul 1, 2021
a4e85fb
chore: fix sync workflow
RomanHotsiy Jul 1, 2021
68690d1
chore: v2.0.0-rc.55
RomanHotsiy Jul 1, 2021
99618bb
chore: fix demo slack url
RomanHotsiy Jul 1, 2021
78c7e37
chore: changed docs sync flow
Leocete Jul 2, 2021
0c6fd47
Merge pull request #1665 from Redocly/chore/change-docs-sync-flow
Leocete Jul 5, 2021
a7a1efd
chore: added security section into pull request template
Marshevskyy Jul 5, 2021
bb67e29
Merge pull request #1671 from Redocly/marshevskyy
Marshevskyy Jul 5, 2021
eba5512
docs: improve the redoc cli README (#1679)
waldyrious Jul 9, 2021
ec50858
feat: added localization for some labels (#1675)
Jul 9, 2021
d724440
feat: add yaml highlight (#1684)
RomanHotsiy Jul 9, 2021
e3b2f10
chore(cli): v0.12.2
mugx-fc Jul 9, 2021
43470f1
chore: bumps npm-shrinkwrap (#1688)
mugx-fc Jul 16, 2021
8dc00a9
chore: upgrade shrinkwrap
RomanHotsiy Jul 16, 2021
f7211ce
chore: fix dockerfile
RomanHotsiy Jul 20, 2021
9e1ea70
fix: handle empty object in security array (#1678)
valdirmendesdev Jul 30, 2021
836c422
docs: add real-life usage example: BoxKnight (#1651)
mariusbutuc Jul 30, 2021
e2dee0f
chore: add github template (#1708)
AlexVarchuk Jul 30, 2021
7eec319
chore: add headers to github templates (#1710)
AlexVarchuk Jul 30, 2021
cd2d6f7
fix: improve openapi 3.1 (#1700)
AlexVarchuk Aug 3, 2021
6a52a16
fix: hideLoading options in redoc standalone (#1709)
AlexVarchuk Aug 3, 2021
919a5f0
feat: add github action to build docker images and push to ghcr.io on…
Rkallenkoot Aug 10, 2021
ddf297b
fix: nullable object's fields were missing (#1721)
AlexVarchuk Aug 11, 2021
c904cdb
chore: up version for release (#1722)
AlexVarchuk Aug 11, 2021
d164699
chore: add change log for v2.0.0-rc.56(#1723)
AlexVarchuk Aug 11, 2021
ccb1860
chore(cli): v0.12.3
RomanHotsiy Aug 11, 2021
e8412e8
docs(GSOD): Adds new quickstart doc (#1718)
HCloward Aug 25, 2021
683eabb
docs: fix broken links in intro (#1730)
adamaltman Aug 25, 2021
8afcf1b
Removes content that is now in documentation and adds link to docs
HCloward Aug 30, 2021
a8e0c29
fix: Schema for events incorrectly omits readOnly and includes writeO…
zalesky Aug 31, 2021
a7ed8dd
Apply suggestions from code review
ivana-isadora Sep 1, 2021
e7f7d96
Update README.md
swapnilogale Sep 1, 2021
1d088a8
Merge pull request #1737 from HCloward/docs/update-readme
swapnilogale Sep 1, 2021
f8925fa
Updates readme with about section and organizes features list
HCloward Sep 13, 2021
899d7f9
Adds some notes to deployment
HCloward Sep 13, 2021
bd9390a
feat: new option generatedPayloadSamplesMaxDepth (#1642)
theisenmark Sep 14, 2021
3f6bf5f
chore: update libs (#1707)
AlexVarchuk Sep 20, 2021
c87600d
fix: Redoc spelling
ivana-isadora Sep 21, 2021
669addd
Updates per reviews and adds new logo
HCloward Sep 23, 2021
86907bd
Merge branch 'docs/more-readme-updates' of github.com:HCloward/redoc …
HCloward Sep 23, 2021
8d93021
Minor edits
HCloward Sep 23, 2021
bccd213
fix: scrolling to the first item (#1753)
AlexVarchuk Sep 27, 2021
1c8578e
Adds comparison table and OpenAPI link section
HCloward Oct 9, 2021
3cc6ea4
Minor edit
HCloward Oct 9, 2021
c4564de
Updates image src
HCloward Oct 9, 2021
0f53f4b
Merge pull request #1748 from HCloward/docs/more-readme-updates
swapnilogale Oct 10, 2021
35f7787
fix: OpenAPI 3.1: Missing description when $ref used #1727
Marshevskyy Oct 11, 2021
fe6909e
fix: OpenAPI 3.1: Missing description when $ref used #1727
Marshevskyy Oct 11, 2021
ba25e24
Merge pull request #1766 from Redocly/fix/missing-description-when-re…
Marshevskyy Oct 11, 2021
952c05c
fix: improve publish action scripts (#1729)
AlexVarchuk Oct 11, 2021
43451ba
feat: add q/kdb+ syntax highlighting (#1605)
kylenarocroc Oct 11, 2021
3b8d644
fix: The number of items in the array in the array is incorrect #1762…
zalesky Oct 11, 2021
4fb9c83
fix: fix deref logic for oas3.1 (#1767)
RomanHotsiy Oct 11, 2021
8e75f99
chore: remove commented out code (#1768)
gabrielsimongianotti Oct 11, 2021
352a851
fix: No match scenario in search (#1667)
raghavi92 Oct 11, 2021
e621535
chore: v2.0.0-rc.57 (#1770)
AlexVarchuk Oct 11, 2021
aeb276a
chore: update publish cli workflow
RomanHotsiy Oct 11, 2021
56543d2
chore: fix publish workflow and disable s3 demo
RomanHotsiy Oct 11, 2021
e4f34f5
chore: fix publish workflow again
RomanHotsiy Oct 11, 2021
7b1a720
chore(cli): v0.13.0 (#1771)
RomanHotsiy Oct 11, 2021
ebbd256
chore: fix cli publish workflow
RomanHotsiy Oct 11, 2021
734080c
fix: Default boolean property value not rendered #1779 (#1781)
zalesky Oct 27, 2021
262177d
chore: remove broken badges from README
RomanHotsiy Nov 8, 2021
6cbd96a
[GSoD]Reorganizes the quickstart into a deployment guide and quicksta…
HCloward Nov 23, 2021
bf6b85d
sync: Synced local 'docs/' with remote 'docs/redoc/'
Nov 23, 2021
ad652b9
fix: mobile view in docker image (#1795)
AlexVarchuk Nov 23, 2021
7e287d9
sync: Synced local 'docs/' with remote 'docs/redoc/'
Nov 23, 2021
82df17d
sync: Synced local 'docs/' with remote 'docs/redoc/'
Nov 23, 2021
4fb5f91
chore: run prettier & add husky pre-commit hook (#1800)
Oprysk Nov 24, 2021
b604bd8
fix: exclusiveMin/Max shows incorect range (#1799)
Oprysk Nov 24, 2021
0e43ad3
fix: add browser build for webpack 5 (#1796)
AlexVarchuk Nov 29, 2021
f0bd5c8
chore: v2.0.0-rc.58 (#1808)
AlexVarchuk Nov 29, 2021
8b1eea8
chore(cli): v0.13.1 (#1809)
AlexVarchuk Nov 29, 2021
78ec5fe
merged upstream
glosier Dec 1, 2021
41a9678
fix this
glosier Dec 3, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ module.exports = {
version: 'detect',
},
},
plugins: ['@typescript-eslint', 'import'],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
Expand Down
22 changes: 22 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'type: bug'
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**Expected behavior**
A clear and concise description of what you expected to happen.

**Minimal reproducible OpenAPI snippet(if possible)**

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Describe the problem to be solved**
A clear and concise description of what problem to be solved

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
13 changes: 13 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
## What/Why/How?

## Reference

## Testing

## Screenshots (optional)

## Check yourself

- [ ] Code is linted
- [ ] Tested
- [ ] All new/updated code is covered with tests
6 changes: 6 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
group:
- files:
- source: docs/
dest: docs/redoc
repos: |
Redocly/docs
42 changes: 0 additions & 42 deletions .github/workflows/demo-deploy-s3.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Tests e2e

on: [push]

jobs:
build-and-e2e:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci
- run: npm run bundle
- run: npm run e2e
45 changes: 45 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Publish Docker image
on:
release:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
runs-on: ubuntu-latest
permissions:
packages: write
contents: read
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Prepare
id: prep
run: |
DOCKER_IMAGE=ghcr.io/redocly/redoc/cli
VERSION=edge
if [[ $GITHUB_REF == refs/tags/* ]]; then
VERSION=${GITHUB_REF#refs/tags/}
elif [[ $GITHUB_REF == refs/heads/* ]]; then
VERSION=$(echo ${GITHUB_REF#refs/heads/} | sed -r 's#/+#-#g')
elif [[ $GITHUB_REF == refs/pull/* ]]; then
VERSION=pr-${{ github.event.number }}
fi
TAGS="${DOCKER_IMAGE}:${VERSION}"
if [ "${{ github.event_name }}" = "push" ]; then
TAGS="$TAGS,${DOCKER_IMAGE}:sha-${GITHUB_SHA::8}"
fi
echo ::set-output name=version::${VERSION}
echo ::set-output name=tags::${TAGS}
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
- name: Push to GitHub Packages
uses: docker/build-push-action@v2
with:
context: ./cli
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.prep.outputs.tags }}
121 changes: 121 additions & 0 deletions .github/workflows/publish-cli.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
name: Publish cli

on:
push:
branches:
- master


jobs:
bundle:
needs: [ check-version-cli ]
if: needs.check-version-cli.outputs.changed == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ hashFiles('package-lock.json') }}
npm-
- run: npm ci
- run: npm run bundle
- name: Store bundle artifact
uses: actions/upload-artifact@v2
with:
name: bundles-cli
path: bundles
retention-days: 1
unit-tests:
needs: [ check-version-cli ]
if: needs.check-version-cli.outputs.changed == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- run: npm test
e2e-tests:
needs: [ bundle ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- name: Download bundled artifact
uses: actions/download-artifact@v2
with:
name: bundles-cli
path: bundles
- run: npm run e2e
bundle-cli:
needs: [ check-version-cli ]
if: needs.check-version-cli.outputs.changed == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ hashFiles('package-lock.json') }}
npm-
- name: Install dependencies
run: npm ci
- name: Bundle
run: npm run compile:cli
- name: Store bundle artifact
uses: actions/upload-artifact@v2
with:
name: cli
path: cli
retention-days: 1
check-version-cli:
name: Check Version
runs-on: ubuntu-latest
outputs:
changed: ${{ steps.check.outputs.changed }}
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
- name: Check if version has been updated
id: check
uses: EndBug/version-check@v2.0.1
with:
file-name: ./cli/package.json
file-url: https://unpkg.com/redoc-cli/package.json
static-checking: localIsNew
publish-cli:
needs: [bundle-cli, unit-tests, e2e-tests]
if: needs.check-version-cli.outputs.changed == 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: "14.x"
registry-url: 'https://registry.npmjs.org'
- uses: actions/checkout@v2
- name: Download cli bundled artifact
uses: actions/download-artifact@v2
with:
name: cli
path: cli
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ hashFiles('package-lock.json') }}
npm-
- name: Publish to NPM
run: cd cli/ && npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
100 changes: 100 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
name: Publish

on:
push:
tags:
- v[0-9]*.[0-9]*.[0-9]*

jobs:
bundle:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ hashFiles('package-lock.json') }}
npm-
- run: npm ci
- run: npm run bundle
- name: Store bundle artifact
uses: actions/upload-artifact@v2
with:
name: bundles
path: bundles
retention-days: 1
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- run: npm test
e2e-tests:
needs: [bundle]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- run: npm ci
- name: Download bundled artifact
uses: actions/download-artifact@v2
with:
name: bundles
path: bundles
- run: npm run e2e
# disable this for now
# deploy-demo:
# needs: [bundle, unit-tests, e2e-tests]
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v1
# - name: Configure AWS Credentials
# uses: aws-actions/configure-aws-credentials@v1
# with:
# aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
# aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# aws-region: us-east-1
# - name: Install dependencies
# run: npm ci
# - name: Download bundled artifacts
# uses: actions/download-artifact@v2
# with:
# name: bundles
# path: bundles
# - name: Build package
# run: npm run build:demo
# - name: Deploy to S3 bucket
# run: npm run deploy:demo
# - name: Invalidate
# run: aws cloudfront create-invalidation --distribution-id ${{ secrets.CF_DEMO_DISTRIBUTION_ID }} --paths "/*"
publish:
needs: [bundle, unit-tests, e2e-tests]
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v1
with:
node-version: "14.x"
registry-url: 'https://registry.npmjs.org'
- uses: actions/checkout@v2
- name: Download bundled artifacts
uses: actions/download-artifact@v2
with:
name: bundles
path: bundles
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS
key: npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ hashFiles('package-lock.json') }}
npm-
- name: Before deploy
run: npm ci && npm run declarations
- name: Publish to NPM
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading