Uploaded image for project: 'Apache ServiceComb'
  1. Apache ServiceComb
  2. SCB-2737

export swagger contents to temporary files

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • java-chassis-2.8.13
    • Java-Chassis
    • None

    Description

      export microservice swagger contents to local files so that can be imported to other microservice and do not need query service center. 

       

      1. configure file path: if configured , export to the path
      2. export to temporary folder(e.g. /tmp/)
      3. add a configuration, to switch export to path and print to stdout, default to export to path
      4. structures:

       

      ~/temp/microserivces/{service-name}/{schema-id}.yaml

       

      notice: create property file permission (read only to others)

      Attachments

        Activity

          People

            yanghao123 yang hao
            liubao68 liubao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: