-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
parse tags
#216
Comments
Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request. |
@LittleWat I haven't seen the The JIRA issue you linked to was written by someone who was adding a tags property to their Avro schemas, saying that:
Is that what you were proposing? That we adopt a convention where we look for additional properties that aren't part of the Avro specification, that we then copy into the AsyncAPI document? |
@dalelane Thank you for your reply! I didn't know that the I just want to show that the field contains PII in AsyncAPI. Thank you! |
You can always modify an AsyncAPI doc to add additional information that isn't in the Avro schema. If you prefer to keep everything within the Avro schema, then yes - you could use The only other idea I can think of just now is to adopt some naming convention - e.g. where fields with PII data all have names starting with |
I share @dalelane answer. Because the If you link your avro file into the AsyncAPI spec, maybe you can use the tag attribute directly in your asyncapi document like
This will give you the following rendering: |
Reason/Context
Hello! I want to annotate PII tag to avro schemas
https://issues.apache.org/jira/browse/AVRO-3026
But this is ignored in AsyncAPI now.
Description
I created the folloiwng avro schema but the
tag
property is ignored in AsyncAPI.I'm glad if this is supported 🙏 Thank you!
The text was updated successfully, but these errors were encountered: