This repository was archived by the owner on Feb 7, 2020. It is now read-only.
  
  
  
  
  
Description
Instead of workflow:
Swagger file -> swagger import + blueprint -> DEV
DEV -> promote -> QA
QA -> promote -> PRD
we can do:
Swagger file -> swagger import + blueprint -> DEV or QA or PRD
- Each environment can have a separate blueprint, but it will cost a lot of work on maintaining.
- Or it can share the same blueprint with some new properties which will be merged over default one:
endpoint:
  timeout: 10
  methods:
    - name: "Some method"
environment:
  DEV:
    endpoint:
      name: *:DEV *
      publicDomain: dev.adidas.com
  QA:
    endpoint:
      name: *:QA *
      timeout: 5
      publicDomain: qa.adidas.comthen it can be called as
mashery-toolbet swagger-import swagger.yaml --blueprint="blueprint.yaml" --env="QA"