Uploaded image for project: 'Apache Submarine'
  1. Apache Submarine
  2. SUBMARINE-516

Automatically generate python API from swagger

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.4.0
    • SDK

    Description

      Currently workflow to generate python API:

      1. start submarine server
      2. open localhost:8080/v1/openapi.yaml
      3. copy openapi.yaml to swagger editor 
      4. generate python client API
      5. copy to pysubmarine

      We should have a script to automatically generate python API when changing swagger annotation in our job spec.

       

      Attachments

        Issue Links

          Activity

            People

              pingsutw Kevin Su
              pingsutw Kevin Su
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: