Skip to content

API Spec convertion script #33

@odra

Description

@odra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions