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

API Spec convertion script #33

Open
odra opened this issue Apr 8, 2020 · 0 comments
Open

API Spec convertion script #33

odra opened this issue Apr 8, 2020 · 0 comments

Comments

@odra
Copy link
Contributor

odra commented Apr 8, 2020

As a developer, I want a script that generates an open-api spec 2.0 file (aka swagger 2) from a open-api spec 3.0 file

Acceptance Criteria

  • A script that takes a open-api spec 3.0 file as input and writes a swagger 2.0 file as output
  • Should generate both json (app usage) and yaml (human readable) formats

Definition of Done

A swagger spec file being generated from a open-api spec 3.0 file.

Extra Notes

  • This needs to be done because bravado, the open-api library we use in fasjson-client, do not support open-api spec 3.0
  • This tool can be used to convert it to a swagger 2.0 file format: https://github.com/LucyBot-Inc/api-spec-converter
  • swagger 2.0 does not support links so those need to be removed
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

1 participant