Pontx is a lightweight pluggable API management tools by Pontx API Spec, which inherit OAS2 compatibility.
Pontx provides service by Pontx CLI、Pontx VSCode IDE Extension and Web Platform(WIP).
Pontx API Spec
by select granularly changement.git
automatically.All lifecle features can be highly customed with Pontx plugin. Pontx Plugin Development Guide
English | 简体中文
Config a valid pontx-config.json
in your project, and pontx will automatically activated.
// pontx-config.json
{
"outDir": "../src/pontx-services",
"plugins": {
// pontx built-in plugin or your custom plugin
},
"origins": [{
// Pontx support mulitple origins in one project.
// Pontx support OAS2、OAS3 origin by default. You can contribute Pontx Parse Plugin to support other type of origin.
"name": "name1",
"url": "myhost/v2/api-docs.json"
}, {
"name": "name2",
"envs": {
"daily": "my-daily-host/v2/api-docs.json",
"pre": "my-pre-host/v2/api-docs.json",
"prod": "myhost/v2/api-docs.json",
},
"env": "prod"
}]
}
For more Pontx Configuration detail, see the Pontx Configuration Guide.
For more Pontx VSCode Extension details, see the Pontx VSCode Extension Guide.
npm i pontx-cli -g