-
-
Notifications
You must be signed in to change notification settings - Fork 23
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 correctly schemas different to AsyncAPI schema #185
Comments
@Pakisan, I went through the discussion in 1037. So would this be a valid asnyc api 2.6 spec: messages:
product:
name: product
title: An inventory product
summary: Product representing items in inventory
contentType: application/json
payload:
schemaFormat: application/vnd.oai.openapi;version=3.0.0
type: object
properties:
name:
description: Every product has a name
type: string
inventory:
description: Count of items in inventory
type: number
nullable: true
id:
description: Unique identifier of the product
type: number |
Yes, you are right to use Avro, OpenAPI, ... schemas, user MUST provide I added this issue to first RC release |
Implemented in |
Specification can handle properties from OpenAPI schema, for example, but only when
schemaFormat
was providedIt's time to choose parsing strategy and bring OpenAPI schema, at least, to this repo to parse it correctly
Related issues:
Available formats: Schema formats table
Reference: asyncapi/spec#1037
The text was updated successfully, but these errors were encountered: