Rishi Tank
068ba23c00
FBI-459: Implement CSV code sample generation for redoc
2023-06-21 17:55:11 +01:00
Rishi Tank
00256a8da4
FBI-451: Implement XML example code generation for Redoc
2023-06-13 09:39:31 +01:00
Bill Collins
127ef260b9
fix: remove GenericObject shim ( #2177 )
...
This was declared in the local stubs file but not shipped, meaning that
consumers with typescript libchecking enabled would have to also add the
GenericObject definition to their local stubs file.
This commit inlines the definition where necessary, or replaces it with
object where appropriate.
2022-09-29 14:42:23 +03:00
Roman Hotsiy
ddde105aca
fix: add hard limit on deref depth to prevent crashes
2022-09-06 12:23:55 +03:00
Alex Varchuk
bb325d0d28
fix: hoistOneOf missing refs stack and improve allOf for same $ref
...
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2022-09-06 12:23:55 +03:00
Alex Varchuk
0b1a790090
fix: sibling for openapi 3.1 ( #2112 )
2022-08-02 14:39:59 +03:00
Alex Varchuk
e5f0235985
fix: invalid url when href is empty ( #2105 )
2022-07-28 16:37:43 +03:00
Alex Varchuk
a5804db1ce
fix: recursion for boolean items ( #2097 )
2022-07-26 18:25:18 +03:00
Alex Varchuk
e4118479f6
fix: enum duplication values when schema uses a specific combination of oneOf and allOf( #2088 )
2022-07-25 17:02:37 +03:00
Alex Varchuk
7cc0500f3c
fix: property with nested allOf ( #2083 )
2022-07-19 09:57:43 +03:00
Alex Varchuk
2970f959cf
fix: rewrite recursive checks ( #2072 )
...
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2022-07-18 17:47:06 +03:00
Alex Varchuk
87541e45dc
fix: merge reference for openapi 3.1 ( #2063 )
2022-07-05 13:19:30 +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
Alex Varchuk
1e4ea03d4a
fix: merge allOf in correct order ( #2020 )
2022-05-26 14:54:03 +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
d2cdaa1221
fix: wrong base url format causing error when constructing new URL ( #1996 )
...
Co-authored-by: Andrew Tatomyr <andrew.tatomyr@redocly.com>
Co-authored-by: Alex Varchuk <olexandr.varchuk@gmail.com>
Co-authored-by: Anastasiia Derymarko <anastasiia@redocly.com>
2022-05-12 12:05:22 +03:00
Alex Varchuk
e7a6d38a56
chore: add isArray helper function
2022-05-10 16:41:05 +03:00
Andrew Tatomyr
8678615a0e
chore: make Redoc lib compatible with Webpack 5 ( #1982 )
2022-05-10 13:50:50 +02:00
AlexVarchuk
57cdd9f6da
fix: external ref in schema definition ( #1894 )
2022-02-04 15:21:46 +02:00
Oprysk Vyacheslav
4fb5f914fa
chore: run prettier & add husky pre-commit hook ( #1800 )
2021-11-24 16:11:45 +02:00
Roman Hotsiy
4fb9c83525
fix: fix deref logic for oas3.1 ( #1767 )
2021-10-11 15:02:08 +03:00
Roman Marshevskyy
fe6909ed80
fix: OpenAPI 3.1: Missing description when $ref used #1727
2021-10-11 11:51:17 +03:00
Roman Marshevskyy
35f77878de
fix: OpenAPI 3.1: Missing description when $ref used #1727
2021-10-11 10:53:28 +03:00
Roman Hotsiy
f4ea368f78
feat: merge refs oas 3.1 ( #1640 )
2021-06-09 15:43:52 +03:00
Roman Hotsiy
8270481e9f
fix: false-positive recursive tag case when using oneOf + allOf ( #1534 )
2021-02-15 14:50:35 +02:00
Roman Hotsiy
9730c4ee1c
feat: support for ignoring specified named schemas
2020-09-24 14:04:57 +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
6e607b9a29
fix: do not crash on incompatible allOf, console.warn instead
...
fixes #1156
2020-05-10 21:59:53 +03:00
Roman Hotsiy
54eb2a0dce
chore: prettier all
2020-03-17 12:01:32 +02:00
Roman Hotsiy
5248415791
fix: do not process oneOf if inherited from parent with discriminator
2020-01-14 22:53:45 +02:00
Roman Hotsiy
6e390f9c79
fix: support discriminator mapping 1-n
...
fixes #1111
2019-12-12 17:32:02 +02:00
Chris Faulkner
42696a01ba
doc: fix some typos ( #1117 )
2019-12-10 08:13:37 +02:00
Roman Hotsiy
faa74d6002
fix: false-positive recursive detection with allOf at the same level
2019-09-30 12:56:09 +03:00
Roman Hotsiy
5aa7784307
fix: auth section appears twice
...
fixes #818
2019-09-30 12:56:09 +03:00
Roman Hotsiy
d78029a04e
chore: move repo to Redocly org
2019-06-04 15:47:22 +03:00
Roman Hotsiy
7d7b4e3fb8
fix: incorrect detected schema title for deeply inherited schemas
2019-05-12 23:18:17 +03:00
Roman Hotsiy
801fea0474
chore: remove info.version validation
2019-01-17 18:43:02 +02:00
Roman Hotsiy
8c9e3bdbe4
chore: fix lint issue
2019-01-17 17:32:47 +02:00
Patrick Niklaus
fb3cb3627b
fix: Only display API version if present ( #773 )
...
* Only display API version if present
* Warn if `info.version` is omitted, error if `info` is missing.
2019-01-17 17:24:05 +02:00
Roman Hotsiy
59eaa8d633
fix: false-positive recursive detection with oneOf
...
fixes #723 , fixes #585
2018-11-27 12:54:52 +02:00
Roman Hotsiy
720e28284c
fix: do not inherit title in allOf
...
fixes #601
2018-08-22 12:27:13 +03:00
Roman Hotsiy
f903406c14
fix: use correct parent section for security definition
2018-08-17 14:20:02 +03:00
Roman Hotsiy
4ef4a971ce
chore: unify parsing components in md
2018-08-16 12:37:39 +03:00
Roman Hotsiy
2ecc8bc58e
fix: fix Authentication section is not rendered
...
fixes #590
2018-08-07 18:08:43 +03:00
Roman Hotsiy
35ba10f759
chore: refactor, unify markdown headings
2018-07-31 15:35:35 +03:00
Roman Hotsiy
9361ead8c4
chore: refactor, simplify AppStore
2018-07-26 17:51:10 +03:00
Roman Hotsiy
7e5b6d9029
fix: properly host oneOf inside allOf
...
fixes #507
fixes #528
2018-07-18 13:03:42 +03:00
Roman Hotsiy
89aa754063
fix: different output of cli bundle and redoc
...
fixes #547
2018-07-18 11:51:34 +03:00
Roman Hotsiy
c35925a332
fix: fix Download button url when spec as object was provided
...
+ do not output huge base64 encoded link when SSR, instead use button handler
fixes #462
related #540
2018-07-17 12:22:27 +03:00