Alex Varchuk
9920991080
fix: nested patternProperties ( #2073 )
2022-07-08 11:34:49 +03:00
Alex Varchuk
4fc6aa0859
fix: highlight text syntax ( #2069 )
2022-07-06 17:14:20 +03:00
Anastasiia Derymarko
a863302cc8
feat: remove auth section ( #2022 )
2022-05-30 18:55:39 +03:00
Alex Varchuk
27a9dbaf46
feat: add support prefix items
2022-05-30 16:35:22 +03:00
Anastasiia Derymarko
82712c5b40
feat: show minProperties maxProperties ( #2015 )
2022-05-20 11:57:04 +03:00
Alex Varchuk
291b62a206
feat: support conditional operators ( #1939 )
...
* fix: merge type and enum in allOf for 3.1
* chore: add example for OpenApi 3.1
* fix: correct merge constraints in allOf
2022-05-17 10:56:28 +03:00
Andrew Tatomyr
660cc857bc
feat: display patternProperties ( #2008 )
2022-05-13 13:53:03 +02:00
Alex Varchuk
e7a6d38a56
chore: add isArray helper function
2022-05-10 16:41:05 +03:00
Anastasiia Derymarko
0755ac6f04
feat: Support OAS 3.1 unevaluatedProperties ( #1978 )
2022-05-05 12:04:43 +03:00
Oprysk Vyacheslav
95a7347931
fix: definition name util ( #1865 )
...
* fix: definition name util
* update snapshot
2022-01-20 00:01:30 +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
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
b604bd8da8
fix: exclusiveMin/Max shows incorect range ( #1799 )
...
* fix: exclusiveMin/Max shows incorect range
* cover all number range cases & add unit tests
* add more tests
* fix maximum value
* simplify humanizeNumberRange function
* simplify exclusive checks
* Update src/utils/openapi.ts
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
* update test coverage
* linting
* revert weird prettier changes
* add md files to prettier ignore
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2021-11-24 16:47:24 +02:00
Oprysk Vyacheslav
4fb5f914fa
chore: run prettier & add husky pre-commit hook ( #1800 )
2021-11-24 16:11:45 +02:00
Roman Marshevskyy
fe6909ed80
fix: OpenAPI 3.1: Missing description when $ref used #1727
2021-10-11 11:51:17 +03:00
AlexVarchuk
cd2d6f76e8
fix: improve openapi 3.1 ( #1700 )
2021-08-03 13:36:06 +03:00
AlexVarchuk
823be24b31
feat: add basic support openApi 3.1 ( #1622 )
2021-05-31 19:23:05 +03:00
Yevhenii Hyzyla
4b072be8d1
fix: use operation path if operation summary/description is not provided ( #1596 )
...
resolves #1270
2021-04-29 23:34:43 +03:00
Michael Huynh
c0ae9de607
feat: add field constraint indicator for uniqueItems ( #1423 )
...
* Add field constraint indicator for uniqueItems
Resolves #1353
* Update src/components/Fields/FieldContstraints.tsx
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2020-10-27 10:51:44 +02:00
Roman Hotsiy
9730c4ee1c
feat: support for ignoring specified named schemas
2020-09-24 14:04:57 +03:00
Roman Hotsiy
0904b3fec2
fix: fix expand variable for vars with hyphens or dots
...
fixes #926
2020-06-27 19:51:39 +03:00
Roman Hotsiy
c69f6de4c9
chore: remove global Dict<T> and replace it with Record<string, T>
2020-05-25 16:37:45 +03:00
Roman Hotsiy
becc2f5856
fix: depreacate x-code-samples, rename to x-codeSamples for consistency
2020-05-10 22:11:01 +03:00
Mohamed Zenadi
ea5b0aabf9
feat: add x-explicitMappingOnly extension ( #1215 )
2020-03-27 12:09:44 +02:00
Roman Hotsiy
54eb2a0dce
chore: prettier all
2020-03-17 12:01:32 +02:00
Roman Hotsiy
ed1db0c902
fix: empty servers behaviour per OAS spec
...
fixes #1151
2020-01-10 15:54:16 +02:00
Nan Yan
d92434d11b
fix: fix sortByRequired (stabilise sort) ( #1136 )
...
fixes #1104
fixes #1121
fixes #1061
2019-12-13 11:34:41 +02:00
Chris Faulkner
42696a01ba
doc: fix some typos ( #1117 )
2019-12-10 08:13:37 +02:00
Dimitar Nanov
3e90133664
feat: display multipleOf
constrains ( #1065 )
2019-12-08 11:54:07 +02:00
Michael Huynh
4494f80dbc
fix: types over-pluralization ( #1057 )
...
fixes #1053
2019-10-12 12:33:03 +03:00
Antherkiv
0360dcee5a
feat: new option expandDefaultServerVariables ( #1014 )
...
Recover server expanding default variables
This reverts commit 7849f7f6b7
.
2019-09-30 09:39:19 +02:00
Peter Wessels
32a464aaa8
fix: use url-template dependency ( #1008 )
...
Fixes #1007
2019-09-30 09:12:26 +02:00
Anthony Porthouse
350649d8b3
chore: correct typo of expolde to explode ( #1009 )
2019-09-25 18:11:53 +02:00
Anya Stasiuk
7849f7f6b7
fix: revert expanding default server variables
2019-08-07 11:41:50 +03:00
Roman Hotsiy
1367380a88
fix: support json serialization for parameter examples
...
fixes #934
2019-08-01 11:20:44 +03:00
Roman Hotsiy
aba45dbbe6
fix: incorrect serialization of some parameter samples
...
fixes #992
2019-08-01 10:31:41 +03:00
Roman Hotsiy
4496622438
fix: rename ObjectDescription to SchemaDefinition as discussed
2019-07-30 19:51:27 +03:00
Roman Hotsiy
f7dd658a01
fix: incorrect serialization of parameter sample with hypen
2019-07-29 18:40:47 +03:00
Roman Hotsiy
9bf45d810e
chore: rename ObjectDescription to SchemaDefinition
2019-07-29 17:14:39 +03:00
Roman Hotsiy
00a0abf4a4
chore: refactor + jsxify md tags
2019-07-29 13:19:22 +03:00
Dimitar Nanov
4359724434
add section menus for tags and object description
2019-07-29 13:17:59 +03:00
Anna Stasiuk
7db7d4fc91
chore: refactor expandServerVariables function ( #978 )
2019-07-29 13:08:17 +03:00
Mathias Schreck
39392869f4
fix: serialize parameter example values according to the spec ( #917 )
2019-06-20 16:44:02 +03:00
David Beacham
0eb1e66a10
feat: add x-additionalPropertiesName ( #622 ) ( #944 )
...
* Add x-additionalPropertiesName (#622 )
Supply custom name to be displayed for property name of
`additionalProperties`.
* Include prettier output for Schema.ts
2019-06-18 11:41:48 +03:00
Roman Hotsiy
f29a4fe2ee
fix: fix regression double slashes added to full URL display
2019-05-13 23:23:37 +03:00
Roman Hotsiy
fdcac30829
fix: pluralize arrray of types
2019-05-12 23:17:26 +03:00
Roman Hotsiy
65930ad7ee
fix: encode x-www-form-urlencoded examples correctly
...
fixes #870
2019-03-28 10:41:20 +02:00
lscholten
f40568b79e
feat: Add support for minLength and maxLength constraint humanization ( #700 )
...
According to #42 , `minItems` and `maxItems` are not yet rendered in the documentation.
This pull request shows the humazined form of `minItems` and `maxItems` next to the type description.
The [suggestion of fgabolde](https://github.com/Rebilly/ReDoc/issues/42#issuecomment-371883853 ) is followed and "characters" is simply replaced with "items".

Some examples are added to the demo.
2018-11-05 16:14:57 +02:00
Roman Hotsiy
b87cf0d8d5
feat: new option sortPropsAlphabetically
2018-10-04 11:10:37 +03:00
Ingo Claro
e9610e92d4
feet: add the option to render vendor extensions ( #552 )
...
* add the option to render vendor extensions
* refactor Extensions, move Redoc extension list to utils file
* feat: new option showExtensions (support list of extensions)
2018-10-03 10:02:30 +03:00