Roman Pidkostelnyi
054f604195
feat: add support of react 18 ( #2369 )
...
* feat: add support of react 18
* chore: add newest version of styled-components to peerDependencies
* chore: add supoort of styled components
* chore: downgrade types
* chore: update snapshots
2023-07-26 11:41:20 +03:00
Ricardo Graça
7e052028d9
fix: renames 'FieldContstraints' to 'FieldConstraints' ( #2352 )
...
Co-authored-by: Ricagraca <ricardo.graca@freiheit.com>
2023-07-11 15:32:00 +03:00
Alex Varchuk
eb0917d002
fix: constraints label details
2022-05-30 16:35:22 +03:00
Anastasiia Derymarko
82712c5b40
feat: show minProperties maxProperties ( #2015 )
2022-05-20 11:57:04 +03: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
6c41e95aa0
chore: fix broken test & components refactoring
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
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
Gabriel Simon Gianotti
8e75f9929b
chore: remove commented out code ( #1768 )
2021-10-11 17:30:59 +03:00
ILya Volchenkov
ec50858ec4
feat: added localization for some labels ( #1675 )
2021-07-09 10:33:36 +03:00
Anna Stasiuk
f3e8ab4f8e
fix: fix displaying response title ( #1376 )
2020-09-08 16:14:39 +03:00
Anna Stasiuk
c801b87d2a
fix: display response code at the top after adding a line break ( #1374 )
...
* fix: display response code at the top after adding a line break
* chore: rename component from Strong to Code
2020-09-03 14:18:42 +03:00
Anya Stasiuk
442014c06d
fix: make response sections focusable
2020-07-13 11:29:53 +03:00
Oleksiy Kachynskyy
57e93ec435
feat: add callbacks support ( #1224 )
...
Co-authored-by: Jonathan Bailey <jonathan_bailey@bose.com>
Co-authored-by: Roman Hotsiy <gotsijroman@gmail.com>
2020-04-08 14:04:58 +03:00
Roman Hotsiy
2afc2e4921
fix: unify accordion icons for responses section
...
fixes #975
2019-08-01 10:41:13 +03:00
Roman Hotsiy
45c0c23c73
chore: prettier all
2019-07-07 23:34:09 +03:00
Matthias Mohr
893c83ed07
feat: externalDocumentation rendered for tags, operations and schema fields ( #595 )
...
The externalDocs were missing for tags, schemata and operations. Added them with this pull requests. Solves #550 .
Additionally, fixes that the URL in External Documentation Object was specified to be optional, which is not correct according to OpenAPI spec.
2018-09-10 18:23:17 +03:00
Roman Hotsiy
0dd1c800c1
chore: update deps + fix deprecation warnings
2018-08-24 12:27:53 +03:00
Roman Hotsiy
ba22b1e352
fix: show examples for response headers
...
fixes #575
2018-07-31 16:55:06 +03:00
Roman Hotsiy
58bddc8811
feat: big theme update
2018-07-19 14:33:51 +03:00
Roman Hotsiy
edc77a2017
chore: update ts and enable noUnusedLocals
2018-07-17 12:15:22 +03:00
Roman Hotsiy
c7b3e47366
chore: remove unused imports after fix in TS@2.9.1
2018-07-16 18:28:36 +03:00
Roman Hotsiy
c3da0a01d4
chore: minor refactor
2018-06-28 20:26:14 +03:00
Roman Hotsiy
63ae2e8e94
feat: support x-summary for response objects
...
fixes #500
2018-06-01 16:50:07 +03:00
Roman Hotsiy
64801b039f
fix: specify caption-side
...
fixes #509
2018-05-28 21:54:02 +03:00
Roman Hotsiy
9115be8378
feat: export TypeScript typings
2018-05-16 12:44:44 +03:00
Roman Hotsiy
5cab571f78
chore: fix lint issues
2018-03-26 13:58:20 +03:00
Roman Hotsiy
fefe571d29
chore: add babel-plugin-styled-components (smaller bundle size)
2018-03-23 16:16:29 +02:00
Roman Hotsiy
d3655161fc
chore: fix lint issues
2018-03-16 23:58:25 +02:00
Roman Hotsiy
6018042180
fix: fix broken css after installing polished
2018-03-16 23:56:53 +02:00
Roman Hotsiy
1df690a964
feat: more advanced theme engine
2018-03-16 17:07:49 +02:00
Roman Hotsiy
dc18743df4
chore: add tslint + fix lint issues
2018-01-23 15:04:50 +02:00
Roman Hotsiy
f58ef3f0c9
fix crash for responses without content but with headers
2017-11-21 16:37:05 +02:00
Roman Hotsiy
f52a05a2b5
Implement expandResponses option
2017-11-21 13:00:33 +02:00
Roman Hotsiy
5438770267
Filter readOnly and writeOnly fields from request/response
2017-11-20 12:54:27 +02:00
Roman Hotsiy
4c3b4aa589
Initial React rewrite
2017-10-12 00:01:37 +03:00