Quotes

Thursday, March 9, 2017

WSDL to Swagger Generator

Generate JSON/YAML swaggers from a WSDL

Installation

  1. Install Node.js >= v6.0.0 (https://nodejs.org/en/)
  2. Clone the repo from SAMI-GIT
    git clone https://git.xyz.com/NAWM_Tools/wsdl-to-swagger.git
    cd wsdl-to-swagger
    
  3. Install dependencies
    npm install
    

Usage

This script takes two inputs: 1) input WSDL file, and 2) output file. The output file needs to end with .json or .yml.
Example:
node wsdl-to-swagger.js example.wsdl example.json
Swagger validation: http://editor.swagger.io/

2 comments:

  1. Hi, my name is Emmanuel. I would like to use this generator. However, i cannot download it. Could you check the link? Thank you so much.

    ReplyDelete