We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following example fails:
asyncapi: '2.0.0-rc1' id: 'urn:hello-world-oneOf' info: title: Hello world oneOf application version: '0.1.0' channels: hello: publish: message: oneOf: - $ref: '#/components/messages/hello-msg1' - $ref: '#/components/messages/hello-msg2' components: messages: hello-msg1: payload: type: string pattern: '^hello .+$' hello-msg2: payload: type: string
with error
Error: Unexpected token u in JSON at position 0 at Object.parse (lib/parser.js:72:11)
The text was updated successfully, but these errors were encountered:
Uhm! Weird. Are you sure it's just when using oneOf? Or is it happening always?
oneOf
Sorry, something went wrong.
only oneOf failing, you can see an example here #13
Copying here the comment that I left on the PR:
Not sure what the problem is but I just tested it on the #12 branch and it's not failing anymore. Thanks for this PR anyway 👍
No branches or pull requests
The following example fails:
with error
The text was updated successfully, but these errors were encountered: