You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 8, 2024. It is now read-only.
The current schema parser (conversion to data structures) is incredibly simplistic. There is an implementation in the Swagger 2 adapter (https://github.com/apiaryio/fury-adapter-swagger/blob/cc772bbd1ba10fdc61de0e5c069a5ab5abfcefa5/src/schema.js) which can be used for reference, our parser in
lib/parser/oas/parseSchema.js
can be improve significantly. We should implement a parser supporting https://github.com/OAI/OpenAPI-Specification/blob/50c152549263cda0f05608d514ba78546b390d0e/versions/3.0.0.md#schemaObject. When this is implemented I'd break it up significantly, we can for example handle array, and then object etc all separately.One major difference between the OAS 2 implementation is we should provide source map information in the data struture output.
The text was updated successfully, but these errors were encountered: