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

Slate to OpenAPI #53

Open
kinlane opened this issue Jan 22, 2021 · 1 comment
Open

Slate to OpenAPI #53

kinlane opened this issue Jan 22, 2021 · 1 comment
Labels

Comments

@kinlane
Copy link
Collaborator

kinlane commented Jan 22, 2021

I've seen OpenAPI to Slate converters, but haven't been able to find a Slate to OpenAPI conversion tool. If one does not exist, I'd like to create one.

@kinlane kinlane added the ideas label Jan 22, 2021
@MikeRalphson
Copy link

MikeRalphson commented Jan 22, 2021

Slate input is just pure markdown, so it's even less structured than API Blueprint. And the markdown source is not available through the rendered website. A scraping tool such as https://github.com/rbren/scrape-to-swagger which uses HTML parsing, CSS selectors and regex matching would work, but not everyone structures their (say) parameter or schema tables the same way so it would need adjusting for each site.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants