1.0.15 • Published 11 months ago

apigeex2openapi v1.0.15

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

apigeex2openapi

Command line tool to generate OAS File from an exported API Proxy bundle from APIGEE X v2.0 Custom fields added to publish APIs into Rapid Platform

alt text

Install

npm install -g apigeex2openapi

Help

apigeex2openapi -help
  • f: {name of the folder where de apiproxy folder is located - ex. "/folder_name"} (default > ./)
  • out: Output format json | yaml (default > json)
  • auth: apikey | bearer | oauth2 (default > apikey)
  • config: {name of the folder where de env_config.json file is located - ex. "/folder_name"} (default > ./)
  • hub: {example: rapid}
  • info: if rapid is chosen as the target platform, you can select the description as: short | long (default > short)
  • cat: if rapid is chosen as the target platform, you can select the category as: "Aftermarket Parts", "Manufacturing", "Connected Truck", "Sales and Marketing", "Warranty", "Other" (default > Other)
  • who: Developer/Tech Support email responsible for this API {example: support@example.com}
  • body: false | true (default > true)

Create a env_config.json File

Use the following structure to add a env_config file

    [
        {
            "name": "Development",
            "hostname": "https://api-dev.xxxx.xxxx.xxxx",
            "description": "Dev Server"
        },
        {
            "name": "Stagging",
            "hostname": "https://api-test.xxxx.xxxx.xxxx",
            "description": "Stagging Server"
        },
        {
            "name": "Production",
            "hostname": "https://api-prod.xxxx.xxxx.xxxx",
            "description": "Production Server"
        }
    ]

Run a test

apigeex2openapi -out yaml -f /path_to_api_proxy_bundle

Try Online

https://editor.swagger.io/

Author

Alvaro Moreno :octocat: :rocket:

1.0.15

11 months ago

1.0.14

11 months ago

1.0.13

11 months ago

1.0.12

11 months ago

1.0.11

11 months ago

1.0.10

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago