AlexVarchuk
cd2d6f76e8
fix: improve openapi 3.1 ( #1700 )
2021-08-03 13:36:06 +03:00
Roman Hotsiy
d724440085
feat: add yaml highlight ( #1684 )
...
* feat: add yaml highlight
* chore: upgrade prism version
2021-07-09 17:04:53 +03:00
Roman Hotsiy
f4ea368f78
feat: merge refs oas 3.1 ( #1640 )
2021-06-09 15:43:52 +03:00
Roman Hotsiy
c09cf9dbbe
chore: modernize build pipeline ( #1635 )
2021-06-09 14:57:36 +03:00
Roman Hotsiy
92387bc653
chore: upgrade dependencies ( #1634 )
2021-06-02 15:53:36 +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
Andriy Leliv
5a9154ab1d
chore: unit tests to check loading and bundling api definitions with openapi-core ( #1568 )
2021-04-08 18:45:55 +03:00
Andriy Leliv
503394655d
chore: use openapi-core to bundle definition instead of json-schema-ref-parser ( #1500 )
...
* chore: use openapi-core to bundle definition instead of json-schema-ref-parser
* chore: update: root and demo webpack configs
* chore: refactor loadAndBundleSpec
* chore: update vesions: openapi-core, redoc
* chore: rolled back webpack.config(s) to previous version
* chore: changed the way of creating core Config for bundling definition
* fix: disable eslint react/display-name
* fix: update nodejs version to 12 in travis config
* chore: optimize verification: browser or server
* chore: add fetch only for browser
* Update src/utils/loadAndBundleSpec.ts
* chore: isBrowser verification improvment
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2021-04-08 15:49:15 +03:00
Anton Kozachuk
c874a5942c
fix: pass boolean and number values as a string in highlight function ( #1512 )
2021-01-30 14:19:18 +02:00
Anna Stasiuk
8c559bcbcd
fix: add missed labels to elements ( #1445 )
2020-11-30 12:51:27 +02: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
Anna Stasiuk
146b38c9d0
fix: make samples accessible by keyboard ( #1401 )
...
* fix: make samples accessible by keyboard
* chore: set outline-width and padding to collapser
2020-10-13 14:56:03 +03:00
Roman Hotsiy
9730c4ee1c
feat: support for ignoring specified named schemas
2020-09-24 14:04:57 +03:00
Roman Hotsiy
aedfa47ba4
chore: upgrade deps
...
closes #1316
2020-07-25 20:15:14 +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
Roman Hotsiy
846065916d
fix: fix broken md headings with ampersand
...
fixes #1173
2020-05-10 21:56:37 +03:00
Roman Hotsiy
62c01da420
fix: encode URLs in json samples linkify (xss)
...
thanks to @masatokinugawa
2020-04-27 19:47:32 +03:00
Mohamed Zenadi
ea5b0aabf9
feat: add x-explicitMappingOnly extension ( #1215 )
2020-03-27 12:09:44 +02:00
Roman Hotsiy
7ba3de2e28
chore: fix lint issues
2020-03-17 13:18:23 +02:00
Roman Hotsiy
54eb2a0dce
chore: prettier all
2020-03-17 12:01:32 +02:00
Kryštof Korb
27a4af7076
feat: add HTTP syntax highlighting ( #1157 )
2020-01-14 09:59:05 +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
Andrii Tykhan
dc5430e53d
fix: wrap json examples in code tag ( #1064 )
2019-10-22 16:37:32 +03: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
Roman Hotsiy
f0c2181bd1
chore: upgrade deps
2019-09-30 10:34:49 +03: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
Roman Hotsiy
58cb20d4b2
fix: fix escaping JSON string values
...
fixes #999
2019-08-07 12:02:25 +03: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
12e7394ea3
chore: update deps
2019-07-29 18:41:57 +03:00
Roman Hotsiy
f7dd658a01
fix: incorrect serialization of parameter sample with hypen
2019-07-29 18:40:47 +03:00
Roman Hotsiy
ac41f0bde5
feat: menu items from tags + md extension for Schema Definition ( #681 )
...
* add section menus for tags and object description
* bundle and test
* add depth calculation
* add object descriptions to test
* enable operations spacing for operations as well
* bring back section rule, as this could be solved better
* update read/writeonly filter rule to be able to filter both
* add showReadOnly and showWriteOnly options to object-description
* update demo to show use cases
* remove forgotten console.log
* adjust demo test with newly added items
* do the right match with the menu items :/
* chore: refactor + jsxify md tags
* chore: simplify demo spec
* fix: dropdown fixes related to object description
2019-07-29 17:17:16 +03:00
Roman Hotsiy
9bf45d810e
chore: rename ObjectDescription to SchemaDefinition
2019-07-29 17:14:39 +03:00
Aleksandr Karo
d3f1c1677c
feat: add sampleCollapseLevel option ( #937 )
...
* feat: add sampleCollapseLevel option
* fix: rename sampleCollapseLevel option to jsonSampleExpandLevel
Change README.md description
* fix: provide maxCollapseLevel option via argument
* fix: rename normalizer function and some vars
2019-07-29 15:26:16 +03:00
Roman Hotsiy
7c06735c6d
chore: fix test
2019-07-29 14:39:21 +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
Roman Hotsiy
51d3b9b02b
fix: broken headings with single quote
...
fixes #955
2019-07-07 21:26:29 +03:00
Mathias Schreck
39392869f4
fix: serialize parameter example values according to the spec ( #917 )
2019-06-20 16:44:02 +03:00