Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for request and reply pattern #795

Merged
merged 176 commits into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from 169 commits
Commits
Show all changes
176 commits
Select commit Hold shift + click to select a range
afa84a8
refactor: switch to parser-js in most places (#264)
magicmatatjahu Mar 18, 2021
a3d9ebf
refactor: rewrite Schema component (#269)
magicmatatjahu Mar 23, 2021
3d7c733
refactor: rewritten Info component (#277)
aeworxet Mar 25, 2021
883916f
refactor: unify Messages and Operations components (#276)
magicmatatjahu Mar 25, 2021
6b2807c
refactor: unify bindings and extensions (#280)
magicmatatjahu Mar 29, 2021
ed84be2
refactor: remove leftover code (#285)
magicmatatjahu Mar 31, 2021
8b0288c
refactor: unify Servers (#288)
magicmatatjahu Apr 1, 2021
ba91b1e
refactor: add sidebar and render examples (#291)
magicmatatjahu Apr 7, 2021
477f015
refactor: unify styling (#296)
magicmatatjahu Apr 15, 2021
320c389
chore: add esm, cjs and umd bundles (#297)
magicmatatjahu Apr 16, 2021
99969ac
docs: unify documentation (#302)
magicmatatjahu Apr 20, 2021
2ed20c1
ci: add bump workflow (#307)
magicmatatjahu Apr 20, 2021
2dcc730
refactor: remove unnecessary code (#309)
magicmatatjahu Apr 21, 2021
2bc32e8
refactor: unify styling vol.2 (#310)
magicmatatjahu Apr 26, 2021
3f0c181
ci: update workflows for next (#322)
magicmatatjahu Apr 29, 2021
8144017
feat: next release. BREAKING CHANGE: unify html-template with react-c…
magicmatatjahu May 4, 2021
da4fa1a
ci: fix checkout to next branch (#325)
magicmatatjahu May 4, 2021
6b64a64
feat!: unify react-component with html-template (#327)
magicmatatjahu May 4, 2021
85ac790
chore(release): v1.0.0-next.1 (#328)
asyncapi-bot May 4, 2021
aa03538
fix: strictly check if a given part of spec exists and render single …
magicmatatjahu May 7, 2021
2a5b42d
chore(release): v1.0.0-next.2 (#340)
asyncapi-bot May 7, 2021
3517888
refactor: infer types in proper way and add tests (#332)
magicmatatjahu May 17, 2021
704dd47
chore: render schema dependencies (#334)
magicmatatjahu May 17, 2021
0371914
feat: render missed parts of spec (#345)
magicmatatjahu May 19, 2021
164f289
chore(release): v1.0.0-next.3 (#347)
asyncapi-bot May 19, 2021
6f3a6ac
ci: update semantic-release packages and related workflows (#349)
magicmatatjahu May 20, 2021
02c40d8
feat: update openapi-sampler package to 1.0.0 (#355)
magicmatatjahu May 26, 2021
f1652df
chore(release): v1.0.0-next.4 (#359)
asyncapi-bot May 26, 2021
ed998f9
ci: publish playground from next branch (#352)
magicmatatjahu May 26, 2021
3ddad45
fix: rendering the circular items (#356)
magicmatatjahu May 26, 2021
d121cb8
chore(release): v1.0.0-next.5 (#360)
asyncapi-bot May 26, 2021
0f7e977
feat: add standalone bundle (#333)
magicmatatjahu Jun 4, 2021
75bcc36
chore(release): v1.0.0-next.6 (#365)
asyncapi-bot Jun 4, 2021
67b4386
feat: highlight code blocks in markdown (#361)
magicmatatjahu Jun 11, 2021
67722f8
chore(release): v1.0.0-next.7 (#366)
asyncapi-bot Jun 11, 2021
8a569e5
fix: decrease the marked.js version to 2.0.7 (#371)
magicmatatjahu Jun 16, 2021
636f24e
chore(release): v1.0.0-next.8 (#372)
asyncapi-bot Jun 16, 2021
98c158b
fix: support true/false JSON schemas (#367)
magicmatatjahu Jun 22, 2021
bfc35e1
chore(release): v1.0.0-next.9 (#379)
asyncapi-bot Jun 22, 2021
0a20c45
feat: support for 2.1.0 version of spec (#362)
magicmatatjahu Jun 29, 2021
3f75231
chore(release): v1.0.0-next.10 (#385)
asyncapi-bot Jun 29, 2021
55cd198
fix: update openapi-sampler to 1.1.0 (#387)
magicmatatjahu Jul 5, 2021
f17312b
chore(release): v1.0.0-next.11 (#388)
asyncapi-bot Jul 5, 2021
51a62a9
feat: enable rendering of extensions on channel level (#389)
derberg Jul 9, 2021
c418164
chore(release): v1.0.0-next.12 (#390)
asyncapi-bot Jul 9, 2021
1669d71
docs: add doc for Standalone Bundle (#395)
magicmatatjahu Jul 19, 2021
31c4c57
feat: render schemas as standalone components and add ids (#397)
magicmatatjahu Jul 20, 2021
39c8da1
chore(release): v1.0.0-next.13 (#398)
asyncapi-bot Jul 20, 2021
1f89fe3
fix: show only schemas and messages from components (#399)
magicmatatjahu Jul 21, 2021
fc859ae
chore(release): v1.0.0-next.14 (#400)
asyncapi-bot Jul 21, 2021
e4e0f7c
fix: point to appropriate message in sidebar (#401)
magicmatatjahu Jul 27, 2021
d161227
chore(release): v1.0.0-next.15 (#402)
asyncapi-bot Jul 27, 2021
19f8558
fix: add styles to sideEffects (#408)
andreafalzetti Aug 16, 2021
f68e284
chore(release): v1.0.0-next.16 (#412)
asyncapi-bot Aug 16, 2021
0f9f81c
fix: bump avro parser to 0.3.0 to support examples (#411)
derberg Aug 16, 2021
31d78e0
chore(release): v1.0.0-next.17 (#413)
asyncapi-bot Aug 16, 2021
e238fc5
feat: render binding in capsule instead of drop down (#416)
magicmatatjahu Aug 24, 2021
8654d32
chore(release): v1.0.0-next.18 (#417)
asyncapi-bot Aug 24, 2021
49b460a
feat: support 2.2.0 AsyncAPI (#438)
magicmatatjahu Sep 28, 2021
9b2d66d
chore(release): v1.0.0-next.19 (#444)
asyncapi-bot Sep 28, 2021
a86059e
fix: make fallback for 2.2.0 channel.servers field (#445)
magicmatatjahu Sep 29, 2021
aa4bfa9
chore(release): v1.0.0-next.20 (#446)
asyncapi-bot Sep 29, 2021
072659e
feat: add essential Kafka client security config (#447)
dalelane Oct 11, 2021
d1cb17f
chore(release): v1.0.0-next.21 (#453)
asyncapi-bot Oct 11, 2021
e1c3399
feat: handle circular refs (#465)
magicmatatjahu Nov 23, 2021
385b586
chore(release): v1.0.0-next.22 (#482)
asyncapi-bot Nov 23, 2021
5487d3b
fix: bump parser-js dep to 1.12.0 (#485)
magicmatatjahu Nov 23, 2021
457e522
chore(release): v1.0.0-next.23 (#486)
asyncapi-bot Nov 23, 2021
94e94a5
feat: support stringified AsyncAPI documents (#487)
magicmatatjahu Dec 1, 2021
2ee7ee3
chore(release): v1.0.0-next.24 (#492)
asyncapi-bot Dec 1, 2021
49438cf
feat: introduce scoped css for default styles (#493)
kaiszybiak Dec 6, 2021
5ecf53c
chore(release): v1.0.0-next.25 (#494)
asyncapi-bot Dec 6, 2021
609aa12
fix: improve performance of resizeObserver (#499)
magicmatatjahu Dec 21, 2021
c416113
chore(release): v1.0.0-next.26 (#501)
asyncapi-bot Dec 21, 2021
5412033
fix: render empty extensions and bindings (#502)
magicmatatjahu Jan 4, 2022
21758c0
chore(release): v1.0.0-next.27 (#503)
asyncapi-bot Jan 4, 2022
6e55da9
docs: added gitpod support (#507)
Samridhi-98 Jan 10, 2022
42becd8
fix: adding inline sources in source maps (#505)
magicmatatjahu Jan 11, 2022
8366221
chore(release): v1.0.0-next.28 (#508)
asyncapi-bot Jan 11, 2022
9cad238
fix: indentations in the Schema component (#509)
magicmatatjahu Jan 12, 2022
eac9962
chore(release): v1.0.0-next.29 (#510)
asyncapi-bot Jan 12, 2022
32ee614
fix: do not download schemaUrl several times in a short time in the w…
magicmatatjahu Jan 13, 2022
e7c6c1f
chore(release): v1.0.0-next.30 (#515)
asyncapi-bot Jan 13, 2022
8c7f8de
fix: update marked version (#522)
Samridhi-98 Jan 17, 2022
75abc5a
chore(release): v1.0.0-next.31 (#523)
asyncapi-bot Jan 17, 2022
29be6ff
fix: switch to any type for jsonToSchema function (#527)
dschwank Jan 19, 2022
4b4ee8f
chore(release): v1.0.0-next.32 (#528)
asyncapi-bot Jan 19, 2022
a59272a
docs: add info about custom styling & custom logo (#531)
thim81 Jan 31, 2022
9904dc5
feat: support 2.3.0 version of spec (#540)
magicmatatjahu Jan 31, 2022
3ece659
chore(release): v1.0.0-next.33 (#541)
asyncapi-bot Jan 31, 2022
d15f4a6
fix: remove lowercase css class to display pattern field as expected …
M3lkior Feb 18, 2022
6497024
chore(release): v1.0.0-next.34 (#551)
asyncapi-bot Feb 18, 2022
e0317fa
chore: replace @github-actions[bot] with @asyncapi-bot-eve (#555)
magicmatatjahu Mar 2, 2022
adf8c23
ci: update workflows (#558)
magicmatatjahu Mar 3, 2022
b02c4fd
fix: bump dependencies in package-lock files (#569)
W0nderMuffin Apr 5, 2022
bc0f158
chore(release): v1.0.0-next.35 (#570)
asyncapi-bot Apr 5, 2022
4cd24d0
fix: bump dependencies (#580)
magicmatatjahu Apr 19, 2022
b04a1a5
chore(release): v1.0.0-next.36 (#581)
asyncapi-bot Apr 19, 2022
4569406
docs: fix broken link (#583)
marceloavan Apr 27, 2022
dc484aa
feat: support AsyncAPI 2.4.0 (#584)
magicmatatjahu Apr 27, 2022
b3fcefe
chore(release): v1.0.0-next.37 (#588)
asyncapi-bot Apr 27, 2022
b268c0c
fix: add fallback for null parameter's schema (#590)
magicmatatjahu Apr 28, 2022
f08e732
chore(release): v1.0.0-next.38 (#591)
asyncapi-bot Apr 28, 2022
3660a0e
fix: define react and react-dom as peerDependencies (#614)
magicmatatjahu Jul 5, 2022
945ee73
chore(release): v1.0.0-next.39 (#623)
asyncapi-bot Jul 5, 2022
39a5fe8
feat: add deep collapse button in schema component (#620)
magicmatatjahu Jul 28, 2022
b4db0c6
chore(release): v1.0.0-next.40 (#627)
asyncapi-bot Jul 28, 2022
b507312
docs: update the command to install the component (#629)
m1ner79 Jul 29, 2022
ae3c628
feat: add config options to override pub sub label text (#632)
BTOdell Sep 8, 2022
a72bec2
chore(release): v1.0.0-next.41 (#633)
asyncapi-bot Sep 8, 2022
45e4109
fix: render default,const boolean values in Schema component (#638)
magicmatatjahu Sep 16, 2022
00f6dc8
chore(release): v1.0.0-next.42 (#639)
asyncapi-bot Sep 16, 2022
836558c
feat: support AsyncAPI 2.5.0 (#647)
magicmatatjahu Sep 29, 2022
4e5d7e8
chore(release): v1.0.0-next.43 (#650)
asyncapi-bot Sep 29, 2022
f012bca
feat: config option to expand/collapse the examples payload (#621)
AceTheCreator Nov 10, 2022
31e17f8
chore(release): v1.0.0-next.44 (#667)
asyncapi-bot Nov 10, 2022
6755f92
chore: remove react-icons dependency (#692)
shishkin Jan 23, 2023
42a349a
feat: group Servers in sidebar navigation like Operation Objects (#682)
aeworxet Jan 31, 2023
9387963
chore(release): v1.0.0-next.45 (#695)
asyncapi-bot Jan 31, 2023
fcb6d31
feat: show operation summary on sidebar (#595)
sarisia Jan 31, 2023
985a961
chore(release): v1.0.0-next.46 (#696)
asyncapi-bot Jan 31, 2023
7e42a99
feat: support AsyncAPI 2.6.0 (#699)
magicmatatjahu Feb 2, 2023
505304d
chore(release): v1.0.0-next.47 (#700)
asyncapi-bot Feb 2, 2023
1ab6b77
feat: add protobuff payload support (#719)
GreenRover Jun 12, 2023
eabba4f
feat!: update to new parser api (#746)
jonaslagoni Aug 30, 2023
cbbf569
chore(release): v1.0.0-next.49 (#747)
asyncapi-bot Aug 30, 2023
5be6cff
fix: change schema name word breaking to anywhere (#743)
Laupetin Sep 4, 2023
437c3d7
chore(release): v1.0.0-next.50 (#753)
asyncapi-bot Sep 4, 2023
3a59998
fix: broken rendering from parser upgrade (#750)
jonaslagoni Sep 4, 2023
92807d1
chore(release): v1.0.0-next.51 (#754)
asyncapi-bot Sep 4, 2023
3515f32
fix: small rendering fixes (#757)
jonaslagoni Sep 7, 2023
d8f6929
chore(release): v1.0.0-next.52 (#760)
asyncapi-bot Sep 7, 2023
15de3c0
feat: re add protobuff parser (#758)
GreenRover Sep 7, 2023
5e3e6c8
chore(release): v1.0.0-next.53 (#762)
asyncapi-bot Sep 7, 2023
1f77976
chore: fix playground build (#763)
jonaslagoni Sep 11, 2023
3d7e7f4
Merge branch 'master' into updatenext
derberg Sep 12, 2023
cc7bad8
fix: migrate pipelines and remove obsolete code
derberg Sep 12, 2023
75300b2
fixing deps
derberg Sep 12, 2023
e74275f
fix: sidebar problems (#766)
jonaslagoni Sep 13, 2023
409c274
chore(release): v1.0.0-next.54 (#768)
asyncapi-bot Sep 13, 2023
7664bc3
fix playground
derberg Sep 13, 2023
547e131
Merge branch 'next' into updatenext
derberg Sep 13, 2023
5ca9140
resolve conflicts
derberg Sep 13, 2023
100f41c
missing package-lock for webcomponent
derberg Sep 13, 2023
f19da7e
fix: migrate pipelines and remove obsolete code (#767)
derberg Sep 14, 2023
a5f9594
added support for req/rep
AceTheCreator Sep 20, 2023
fd3a6ec
fixed receive action typo
AceTheCreator Sep 20, 2023
e9a9225
removed conditional hook
AceTheCreator Sep 20, 2023
5cb4c26
fixing linting error
AceTheCreator Sep 20, 2023
33dbfb7
more linting fix
AceTheCreator Sep 20, 2023
449b4b7
Merge branch 'master' of https://github.com/AceTheCreator/asyncapi-re…
AceTheCreator Oct 2, 2023
bf6e32e
fixed linting error
AceTheCreator Oct 2, 2023
358e6ee
Merge branch 'master' into req/rep
fmvilas Oct 10, 2023
2b9d592
made some little UI changes
AceTheCreator Oct 10, 2023
ac60145
fixed linting error
AceTheCreator Oct 10, 2023
f4a6bbc
added suggested changes
AceTheCreator Oct 18, 2023
9fc774c
fix linting issue
AceTheCreator Oct 18, 2023
7afdcd9
Merge branch 'master' into req/rep
AceTheCreator Oct 18, 2023
712f103
fixed linting issue
AceTheCreator Oct 18, 2023
3178291
Merge branch 'req/rep' of https://github.com/AceTheCreator/asyncapi-r…
AceTheCreator Oct 18, 2023
6d3b628
fixed the overlayed component and missing address info
AceTheCreator Nov 4, 2023
5bd1279
added send and receive
AceTheCreator Nov 4, 2023
86e5a6c
added suggested changes
AceTheCreator Nov 4, 2023
8c51985
suggested changes
AceTheCreator Nov 4, 2023
3f663ec
fixed lock conflict
AceTheCreator Nov 4, 2023
4d13ae0
Merge branch 'master' into req/rep
AceTheCreator Nov 4, 2023
45247a7
.
AceTheCreator Nov 4, 2023
add84be
.
AceTheCreator Nov 4, 2023
78b1f0f
fixing sonar errors
AceTheCreator Nov 4, 2023
b02b897
added suggested changes
AceTheCreator Nov 7, 2023
0532845
added suggested changes
AceTheCreator Nov 8, 2023
a9717ea
fixed example stylling
AceTheCreator Nov 15, 2023
491fb99
returned old streetlight example
AceTheCreator Nov 15, 2023
f19d045
Merge branch 'master' of https://github.com/AceTheCreator/asyncapi-re…
AceTheCreator Nov 15, 2023
a92ab98
upgraded parser
AceTheCreator Nov 16, 2023
267d43b
fix span styling
AceTheCreator Nov 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
411 changes: 390 additions & 21 deletions library/package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion library/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
"dependencies": {
"@asyncapi/avro-schema-parser": "3.0.3",
"@asyncapi/openapi-schema-parser": "3.0.4",
"@asyncapi/parser": "^2.1.1",
"@asyncapi/protobuf-schema-parser": "3.0.0",
"@asyncapi/parser": "^3.0.0-next-major-spec.7",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use latest v3.0.0-next-major-spec.10

"highlight.js": "^10.7.2",
"isomorphic-dompurify": "^0.13.0",
"marked": "^4.0.14",
Expand Down
4 changes: 4 additions & 0 deletions library/src/config/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ export interface ConfigInterface {
sidebar?: SideBarConfig;
parserOptions?: any;
publishLabel?: string;
sendLabel?: string;
subscribeLabel?: string;
receiveLabel?: string;
requestLabel?: string;
replyLabel?: string;
}

export interface ShowConfig {
Expand Down
8 changes: 8 additions & 0 deletions library/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,16 @@ export const SPECIFICATION_TEXT = 'Specification';
export const DEPRECATED_TEXT = 'Deprecated';
export const PUBLISH_TEXT = 'Publish';
export const PUBLISH_LABEL_DEFAULT_TEXT = 'PUB';
export const SEND_TEXT = 'Send';
export const SEND_LABEL_DEFAULT_TEXT = 'SEND';
export const SUBSCRIBE_TEXT = 'Subscribe';
export const SUBSCRIBE_LABEL_DEFAULT_TEXT = 'SUB';
export const RECEIVE_TEXT = 'Receive';
export const RECEIVE_TEXT_LABEL_DEFAULT_TEXT = 'RECEIVE';
export const REQUEST_TEXT = 'Request';
export const REQUEST_LABEL_DEFAULT_TEXT = 'REQUEST';
export const REPLIER_TEXT = 'Reply';
export const REPLIER_LABEL_DEFAULT_TEXT = 'REPLY';
export const REQUIRED_TEXT = 'Required';
export const GENERATED_TEXT = 'Generated';

Expand Down
2 changes: 1 addition & 1 deletion library/src/containers/Messages/Message.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const Message: React.FunctionComponent<Props> = ({
)}
{title && <span className="text-gray-700 mr-2">{title}</span>}
<span className="border text-orange-600 rounded text-xs py-0 px-2">
{message.id()}
{messageId}
</span>
</div>

Expand Down
Loading