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

Extract RAML and OpenAPI schema parsers to their own package #44

Merged
merged 4 commits into from
Mar 14, 2020

Conversation

fmvilas
Copy link
Member

@fmvilas fmvilas commented Mar 9, 2020

It makes the bundle size of the parser much bigger. Next one could be the OpenAPI parser too.

The new package is here: https://www.github.com/asyncapi/raml-dt-schema-parser/

fixes #48

lib/index.js Show resolved Hide resolved
Copy link
Member

@derberg derberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I ❤️ it
Just few things form my side.
In parser-js readme we should link to this plugin https://github.com/asyncapi/raml-dt-schema-parser/

lib/index.js Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
@derberg
Copy link
Member

derberg commented Mar 11, 2020

@fmvilas oh man, you already did OpenAPI plugin extraction. Well done!

@fmvilas fmvilas changed the title Extract RAML parser to its own package Extract RAML and OpenAPI schema parsers to their own package Mar 11, 2020
@fmvilas fmvilas self-assigned this Mar 12, 2020
@fmvilas
Copy link
Member Author

fmvilas commented Mar 12, 2020

@jonaslagoni do you think it's fine now?

Copy link
Sponsor Member

@jonaslagoni jonaslagoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@fmvilas fmvilas added this to the Make JS parser stable milestone Mar 13, 2020
@fmvilas fmvilas merged commit ba4b33a into asyncapi:master Mar 14, 2020
@fmvilas fmvilas deleted the remove-raml-parser-as-default branch March 14, 2020 17:39
jonaslagoni pushed a commit to jonaslagoni/parser-js that referenced this pull request Mar 19, 2020
…i#44)

* Extract RAML parser to its own package

* Remove RAML tests

* Extract OpenAPI too

* Add RAML and OpenAPI links to README
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ramldt2jsonschema package has link to fs module
3 participants