Skip to content

Sample message not getting generated when we use avro schema #1131

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

Open
theepansains opened this issue Aug 29, 2024 · 6 comments
Open

Sample message not getting generated when we use avro schema #1131

theepansains opened this issue Aug 29, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@theepansains
Copy link

Describe the bug

Sample message in the examples section are not getting generated

How to Reproduce

  • Add an inline avro schema

  • Reference it in the channel message for the kafka payload

  • Examples for payload are not generated

  • Screenshots

  • image

messages: TestMessage: headers: type: object properties: inoviceNumber: description: Invoice number type: string example: INV2000 payload: $ref: '#/components/schemas/testSchema'

Expected behavior

Examples generated for payloads based on schema similar to json/object payloads

@theepansains theepansains added the bug Something isn't working label Aug 29, 2024
Copy link

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.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Copy link

This issue has been automatically marked as stale because it has not had recent activity 😴

It will be closed in 120 days if no further activity occurs. To unstale this issue, add a comment with a detailed explanation.

There can be many reasons why some specific issue has no activity. The most probable cause is lack of time, not lack of interest. AsyncAPI Initiative is a Linux Foundation project not owned by a single for-profit company. It is a community-driven initiative ruled under open governance model.

Let us figure out together how to push this issue forward. Connect with us through one of many communication channels we established here.

Thank you for your patience ❤️

@github-actions github-actions bot added the stale label Dec 28, 2024
@jtama
Copy link

jtama commented Apr 9, 2025

any news on this issue ?

@github-actions github-actions bot removed the stale label Apr 10, 2025
@abhavgoel
Copy link
Contributor

Can you list more detailed steps to reproduce and share the supporting files.

@jtama
Copy link

jtama commented Apr 15, 2025

I followed the documentation howto on how to use avro and got exactly the same behaviour.

Maybe this is a feature as avro isn't readable anyway.

@abhavgoel
Copy link
Contributor

Can you share the documentation, I am not able to find it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

3 participants