Commit Graph

2540 Commits

Author SHA1 Message Date
AlexVarchuk
b33ac554dc
chore: update openapi-sampler to v1.2.1 (#1911) 2022-02-24 13:51:49 +02:00
Michael Crenshaw
777efdde35
fix: bump json-pointer version to avoid CVE-2021-23820 (#1910)
Co-authored-by: Michael Crenshaw <michael_crenshaw@intuit.com>
2022-02-24 13:19:47 +02:00
dependabot[bot]
86cd8df1f3
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#1906)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.7 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.7...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-24 13:15:57 +02:00
redocly-bot
ab02f667a1 sync: Synced local 'docs/' with remote 'docs/redoc/' 2022-02-09 12:18:16 +00:00
AlexVarchuk
57cdd9f6da
fix: external ref in schema definition (#1894) 2022-02-04 15:21:46 +02:00
AlexVarchuk
60f012d760
chore: add supported options to the readme file (#1899) 2022-02-04 14:33:43 +02:00
AlexVarchuk
18832b9252
chore: add showObjectSchemaExamples to readme (#1898) 2022-02-04 12:25:41 +02:00
AlexVarchuk
da4e4ad677
chore: cli-v0.13.17 (#1889) 2022-01-27 16:59:28 +02:00
Oprysk Vyacheslav
b474d679b5
fix: package-lock (#1888) 2022-01-27 16:31:41 +02:00
AlexVarchuk
ec3f28642f
chore: v2.0.0-rc.63 (#1886) 2022-01-27 16:05:07 +02:00
Oprysk
dabca2476f chore: update license-check 2022-01-27 15:41:58 +02:00
Oprysk
9befed5c4a chore: update packages 2022-01-27 15:41:58 +02:00
Alex Varchuk
b5b0d61b35 fix: scroll in sidebar 2022-01-27 15:41:58 +02:00
Oprysk Vyacheslav
acbc5c7b59
chore: (cli) v0.13.6 (#1881) 2022-01-26 12:34:47 +02:00
Oprysk Vyacheslav
a355a7aaa9
chore: 2.0.0-rc.61 (#1880) 2022-01-26 12:20:25 +02:00
Oprysk Vyacheslav
f411f0aee2
Revert "hotfix: field expand (#1878)" (#1879)
This reverts commit f173781edf.
2022-01-26 12:12:58 +02:00
Oprysk Vyacheslav
f173781edf
hotfix: field expand (#1878) 2022-01-26 12:07:57 +02:00
Roman Hotsiy
957f1a61be
Fix expanded (#1877)
* fix: fields not expanding after esbuild migration

* chore: fix local dev

* update snapshot

Co-authored-by: Oprysk <vyacheslav@redocly.com>
2022-01-26 11:56:08 +02:00
Oprysk Vyacheslav
c43824c6a3
chore: add cache option for eslint (#1876) 2022-01-26 11:54:27 +02:00
romanhotsiy
b2cad9c0f0
chore(cli): v0.13.5 2022-01-26 00:32:12 +02:00
romanhotsiy
a1cc19ec78 chore: Release 2.0.0-rc.61 🔖 2022-01-26 00:23:02 +02:00
romanhotsiy
8ded7699ee fix: fix ssr usage after migrating to esbuild pipeline 2022-01-26 00:23:02 +02:00
AlexVarchuk
f3289872d6
chore: v0.13.4 (#1871) 2022-01-25 18:49:59 +02:00
AlexVarchuk
2436530930
chore: v0.13.3 (#1870) 2022-01-25 18:49:37 +02:00
AlexVarchuk
695654a38f
chore: v2.0.0-rc.60 (#1869) 2022-01-25 17:01:10 +02:00
AlexVarchuk
250d53a59f
fix: add schema expansion level (#1868)
* feat: add schemaExpansionLevel
2022-01-25 16:43:14 +02:00
Oprysk Vyacheslav
35418b1569
chore: migrate from babel to esbuild loader (#1848)
* chore: migrate from babel to esbuild loader

* fix cypress tests
2022-01-25 15:50:28 +02:00
Depickere Sven
b74dcde42b
feat(#1251): Add file selector to demo application (#1859)
* feat(#1251): Add file selector to demo application

This PR should fix the request to add a file selector to the demo application see issue #1251 .

* refactor(): Remove function, use it implicit

* refactor(): Add interface props

* refactor(): Update method usage

use regular func as a Component declaration and the arrow func as a handler inside the component.
2022-01-24 19:58:46 +02:00
Depickere Sven
18f943d2b5
fix: Response objects couldn't open (#1867)
* This was undefined on response toggle

* Add test cases for opening response object
2022-01-24 11:14:31 +02:00
Oprysk Vyacheslav
5694913e71
fix: writeOnly params displaying in webhook (#1866) 2022-01-20 18:36:40 +02:00
Oprysk Vyacheslav
95a7347931
fix: definition name util (#1865)
* fix: definition name util

* update snapshot
2022-01-20 00:01:30 +02:00
Oprysk Vyacheslav
3e47932754
chore: bump marked version (#1863) 2022-01-17 14:18:16 +02:00
dependabot[bot]
1686bb33d3
chore(deps-dev): bump shelljs from 0.8.4 to 0.8.5 (#1858)
Bumps [shelljs](https://github.com/shelljs/shelljs) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/shelljs/shelljs/releases)
- [Changelog](https://github.com/shelljs/shelljs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/shelljs/shelljs/compare/v0.8.4...v0.8.5)

---
updated-dependencies:
- dependency-name: shelljs
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 14:14:51 +02:00
Andriy Zaleskyy
6c7685e5fa
fix: No maxLength label is displayed for arrays of items #1701 (#1765)
* fix: No maxLength label is displayed for arrays of items #1701

* Revert "fix: No maxLength label is displayed for arrays of items #1701"

This reverts commit 543ecc4d39.

* fix: No maxLength label is displayed for arrays of items #1701

* change array items display

* fix alignment

* remove theme font from labels

* update snapshot

Co-authored-by: Oprysk <vyacheslav@redocly.com>
2022-01-05 17:11:05 +02:00
Oprysk Vyacheslav
2474b76d0d
chore: update snapshots (#1846) 2021-12-31 14:11:12 +02:00
Loïc Fürhoff
fb104e6966
feat: redoc-cli add host option (#1598) 2021-12-31 13:21:50 +02:00
TJT
ea8573dbd7
fix: attachHeadingsDescriptions match headings incorrectly (#1845)
* fix: attachHeadingsDescriptions match headings incorrectly

* fix: match new line instead of `$` in MarkdownRenderer.attachHeadingsDescriptions

Co-authored-by: TJT <tjt@maimemo.com>
2021-12-31 13:00:09 +02:00
flouthoc
831b207715
MenuBuilder: Add support for sortOperationsAlphabetically and sortTagsAlphabetically (#1843)
* operations: Add support for sortOperationsAlphabetically

Already documented but is currently `NO-OP` and not implemented
`sortOperationsAlphabetically`.

Allows sorting operations in sidebar menu according to their `name`
configured which is by default `summary` from Swaggerspec

TLDR:
Following commit adds support for `sortOperationsAlphabetically` already
documented but not implemented here: https://redoc.ly/docs/api-reference-docs/guides/migration-guide-2-0/#automated-sorting

Signed-off-by: flouthoc <flouthoc.git@gmail.com>

* feat: move sort by prop to utils functions

* feat: add ability to sort tags

Co-authored-by: Oprysk <vyacheslav@redocly.com>
2021-12-30 14:31:00 +02:00
Oprysk Vyacheslav
c986f0ef1a
feat: support examples in object schema (#1832)
* feat: support examples in object schema

* revert pure components used with observer

* rename option

* update test
2021-12-29 12:22:57 +02:00
Oprysk
6c41e95aa0 chore: fix broken test & components refactoring 2021-12-14 11:10:39 +02:00
Oprysk
a42d29d5c9 chore: bump marked version 2021-12-14 11:10:39 +02:00
Shelby Sanders
f82eb53ccf
Added support for showExtensions and $ref for Responses (#1406)
* Corrected responses to support $ref

* Add showExtentions for Responses

* Add showExtentions support for Responses

* Update src/services/__tests__/models/Response.test.ts

Co-authored-by: Giles Wells <giles@mediagearhead.com>

Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
Co-authored-by: Giles Wells <giles@mediagearhead.com>
2021-12-09 19:43:47 +02:00
Oprysk Vyacheslav
af138639ca
chore(cli): v0.13.2 (#1828) 2021-12-09 17:17:52 +02:00
Oprysk Vyacheslav
9f564d3b75
chore: v2.0.0-rc.59 (#1827) 2021-12-09 16:47:54 +02:00
Oprysk Vyacheslav
aaa3b3280c
fix: x-examples for request body param does not display #1743 (#1826)
* fix: x-examples for request body param does not display #1743

* lint

* fix ts
2021-12-09 15:27:49 +02:00
Oprysk Vyacheslav
913b3a422f
chore: update docs (#1825) 2021-12-09 15:27:31 +02:00
Aarni Koskela
3028d3d7ac
Fix Chrome scrolling by using alternate scrollIntoViewIfNeeded (#1823)
* Break out scrollIntoViewIfNeeded into freely usable function

* Always use alternate implementation of scrollIntoViewIfNeeded

Refs #1714

Refs #1742
2021-12-09 12:51:02 +02:00
Oprysk Vyacheslav
ace52f7e49
chore: update packages (#1824) 2021-12-09 12:38:03 +02:00
dependabot[bot]
fe5292208c
chore(deps): bump prismjs from 1.24.1 to 1.25.0 (#1802)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.24.1 to 1.25.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.24.1...v1.25.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-09 11:07:42 +02:00
AlexVarchuk
bc2d9a7d9c
fix: fix scroll in example dropdown (#1803) 2021-12-09 11:04:17 +02:00