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

add convertion from string, not by url #8

Closed
Glucksistemi opened this issue Sep 3, 2019 · 2 comments
Closed

add convertion from string, not by url #8

Glucksistemi opened this issue Sep 3, 2019 · 2 comments

Comments

@Glucksistemi
Copy link

It would be really great to have an option to generate PDF using copy-paste of text, not by link. For example, I just had to generate API from swagger made by apicur.io and uploaded to my PC. File was protected by NDA so I couldn't upload it to open internet, so I had to install local web-server to open it by your app. So it would be great to have an option to paste json/yaml to textarea in app instead of url requesting

@mrin9
Copy link
Owner

mrin9 commented Sep 4, 2019

sure, will be provided soon

@mrin9
Copy link
Owner

mrin9 commented Sep 8, 2019

this is now provided in release 1.1.1.
please use the method generatePdf() to create PDFs programmatically and you may provide a valid json spec object .
For usage refer to this example

@mrin9 mrin9 closed this as completed Sep 8, 2019
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

No branches or pull requests

2 participants