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

[BUG] fix type of payload and headers in MessageExample #560

Open
2 tasks done
Pakisan opened this issue Dec 30, 2024 · 0 comments · May be fixed by #561
Open
2 tasks done

[BUG] fix type of payload and headers in MessageExample #560

Pakisan opened this issue Dec 30, 2024 · 0 comments · May be fixed by #561
Assignees
Labels
bug Something isn't working

Comments

@Pakisan
Copy link
Member

Pakisan commented Dec 30, 2024

Describe the bug.

Wrong definition of payload and headers properties

"headers": {
"type": "object",
"description": "Example of the application headers. It can be of any type."
},
"payload": {
"description": "Example of the message payload. It can be of any type."
}

Expected behavior

They must be defined as any type

{
    "headers": {
      "type":  "object",
      "description": "Example of the application headers. It can be of any type."
    },
    "payload": {
      "description": "Example of the message payload. It can be of any type."
    }
}

See:

👀 Have you checked for similar open issues?

  • I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

Are you willing to work on this issue ?

Yes I am willing to submit a PR!

@Pakisan Pakisan added the bug Something isn't working label Dec 30, 2024
@Pakisan Pakisan self-assigned this Dec 30, 2024
Pakisan added a commit to Pakisan/spec-json-schemas that referenced this issue Dec 30, 2024
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
None yet
Development

Successfully merging a pull request may close this issue.

1 participant