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

fix: work with cycle defendant properties #174

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
3196e85
WIP, update to spec 2.0
Tenischev Apr 8, 2020
f7f8bd1
WIP, update to spec 2.0, remove definition of topic via extension
Tenischev Apr 8, 2020
7e17403
working version for api 2.0
Tenischev Apr 8, 2020
9c16aed
add model generation
Tenischev Apr 9, 2020
29f81b6
Add support of Kafka generation
Tenischev Apr 10, 2020
12941ba
update readme
Tenischev Apr 10, 2020
e435074
fix value ref, add jackson lib
Tenischev Apr 10, 2020
580a2db
add validation annotations to schema
Tenischev Apr 13, 2020
a97ede9
fix no type case
Tenischev Apr 13, 2020
5a5550b
add annotation for jackson
Tenischev Apr 13, 2020
9678352
add description and examples to javadoc
Tenischev Apr 13, 2020
3304fee
Update readme, move missed features block
Tenischev Apr 14, 2020
ed4cc28
switch publish to subscribe and vice versa, because of wrong understa…
Tenischev Apr 14, 2020
c7d9dad
Fix consumed key, add key to publish operation
Tenischev Apr 18, 2020
e49d27a
Merge remote-tracking branch 'origin/master' into validation
Tenischev Apr 18, 2020
9b07498
move jackson and validation dependencies from kafka block
Tenischev Apr 18, 2020
76ddbc9
fix README formatting
Tenischev Apr 18, 2020
22eb4c8
mark annotations as done in README
Tenischev Apr 18, 2020
1e2e129
Merge remote-tracking branch 'upstream/master'
Tenischev Apr 18, 2020
da5882b
Merge remote-tracking branch 'origin/master' into validation
Tenischev Apr 18, 2020
78fdfbe
Merge remote-tracking branch 'upstream/master'
Tenischev Apr 30, 2020
0975657
Merge remote-tracking branch 'upstream/master'
Tenischev May 11, 2020
b9d9c54
Merge remote-tracking branch 'upstream/master'
Tenischev May 13, 2020
0c4fe20
Merge remote-tracking branch 'upstream/master'
Tenischev May 15, 2020
b4fd098
Merge remote-tracking branch 'upstream/master'
Tenischev May 21, 2020
5a42a0c
Merge remote-tracking branch 'upstream/master'
Tenischev May 22, 2020
e0add6c
Merge remote-tracking branch 'upstream/master'
Tenischev May 22, 2020
eaf6637
Merge remote-tracking branch 'upstream/master'
Tenischev May 25, 2020
07508f6
Merge remote-tracking branch 'upstream/master'
Tenischev Jun 6, 2020
cf32ef0
Merge remote-tracking branch 'upstream/master'
Tenischev Jun 18, 2020
b0eb6f7
Merge remote-tracking branch 'upstream/master'
Tenischev Jun 22, 2020
14b0993
Merge remote-tracking branch 'upstream/master'
Tenischev Oct 2, 2020
ad768da
Merge remote-tracking branch 'upstream/master' into master
Tenischev Oct 8, 2020
e27201b
Merge remote-tracking branch 'upstream/master' into master
Tenischev Oct 12, 2020
9b5dc4e
Merge remote-tracking branch 'upstream/master' into master
Tenischev Oct 22, 2020
0a61272
Merge remote-tracking branch 'upstream/master' into master
Tenischev Oct 24, 2020
20c6c39
Merge remote-tracking branch 'origin/master'
Tenischev Nov 14, 2021
7aeca80
use json-decycle to resolve issue with stringify
Tenischev Nov 14, 2021
bf442da
Merge branch 'master' into feat-work-with-cycle-dependant-properties
Tenischev Dec 4, 2021
ff96990
increase generator version to use provided stringify
Tenischev Dec 26, 2021
29e1594
Merge remote-tracking branch 'origin/feat-work-with-cycle-dependant-p…
Tenischev Dec 26, 2021
481e3e5
Merge remote-tracking branch 'upstream/master'
Tenischev Dec 26, 2021
b5f62a3
Merge remote-tracking branch 'upstream/master'
Tenischev Jan 16, 2022
77e71d3
Merge remote-tracking branch 'origin/master' into feat-work-with-cycl…
Tenischev Jan 16, 2022
103a2a0
remove json-decycle lib
Tenischev Jan 16, 2022
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
2 changes: 1 addition & 1 deletion filters/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ function isDefined(obj) {
filter.isDefined = isDefined;

function isProtocol(api, protocol){
Tenischev marked this conversation as resolved.
Show resolved Hide resolved
return JSON.stringify(api.json()).includes('"protocol":"' + protocol + '"');
return api.constructor.stringify(api).includes('"protocol":"' + protocol + '"');
};
filter.isProtocol = isProtocol;

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@asyncapi/generator-filters": "^2.1.0",
"@asyncapi/generator-hooks": "^0.1.0",
"fs-extra": "^9.0.0",
"lodash": "^4.17.15",
"lodash": "^4.17.21",
"replace-in-file": "^6.1.0",
"tmp": "^0.2.1"
},
Expand Down Expand Up @@ -127,7 +127,7 @@
"required": false
}
},
"generator": ">=0.50.0 <2.0.0",
"generator": ">=1.8.27 <2.0.0",
"filters": [
"@asyncapi/generator-filters"
],
Expand Down