-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
[3.0.0] Introduce Info Item Object
#795
Comments
I like the idea here. This standardization will give more structure to the metadata for the core objects. |
@murari-goswami Thanks! We don't know if it will come in this form or rather be a composite, but we want to unify the metadata for core objects :) |
I like the idea of having a standard object with all this info. Except for the ID.
|
Would this be an appropriate place to have |
@jessemenning I don't think we should combine such a thing in this issue/proposal. A better option would be to create a separate proposal, because it is quite a "big" contribution to the new spec, than the consolidation of the existing fields :) |
Handled by asyncapi/parser-js#677 but not every fields that I described in the issue's description - we decided to not add |
I noticed that we have some inconsistencies in describing the metadata for the 4 main elements of the AsyncAPI specification: servers, channels, operations, and messages (we can also treat schemas as 5 element). In
Server Object
we can only definedescription
, in theChannel Object
also onlydescription
, in theOperation Object
we can definedescription
,operationId
,summary
,tags
andexternalDocs
, in theMessage Object
these same fields (exceptoperationId
) and alsoname
andmessageId
. I wonder if we should standardise the item description with a single object type (I propose the nameInfo Item Object
) that would have the following shape:string
string
string
string
Some example
Benefits:
html-template
andmarkdown-template
are the only ones (probably) using whole metadata, it's very strange for me and every time I had to look which metadata I can render.NOTE: I am also considering adding a
contact
field to the new object to describe the main "maintainers" of the objects. This would be used mainly to indicate who is responsible for a given object in an organization/company, but I don't know if that makes sense. What do you think?NOTE: Should we also add
metadata
field as Łukasz suggested in #654 (comment) comment?The text was updated successfully, but these errors were encountered: