-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
refactor: add metadata to models #496
refactor: add metadata to models #496
Conversation
@smoya Why do we need metadata and a pointer for example? E.g. in react component and also in studio we make anchors by which people can move between given sections of specification (in html preview and also in editor). Current solution in studio is custom and not very optimal. By adding this small thing to the model implementation we have the ability to specify where the object is located and it is version agnostic. In the future we can always add other things to the metadata that will be needed. Write what you think about it :) |
54355b8
to
bcb3d82
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
498f887
to
ba6f4f2
Compare
Kudos, SonarCloud Quality Gate passed! |
/rtm |
Description
pointer
(JSON Pointer),asyncapi
data with detailed AsyncAPI document,parent
which points to the parent modelRelated issue(s)
Part of #481
Part of #482