0.0.17 • Published 2 years ago

qcobjects-handler-openapi v0.0.17

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
2 years ago

QCObjects Handler for Open API

QCObjects Handler for Open API requests. This handler will allow you to make a dynamic url like https://example.com/openapi.json

Instructions

  1. Install this dependency in your project using npm
npm i --save qcobjects-handler-openapi
  1. In your config.json file, create the following paths
{
  "backend": {
    "routes": [{
        "name": "OpenAPI3.JSON",
        "description": "Open API v3 JSON",
        "path": "^/openapi.json$",
        "microservice": "com.qcobjects.backend.microservice.openapi.json"
      },
      {
        "name": "OpenAPI3.YAML",
        "description": "Open API v3 YAML",
        "path": "^/openapi.yaml$",
        "microservice": "com.qcobjects.backend.microservice.openapi.yaml"
      }
    ]
  }
}
  1. Start the QCObjects HTTP2 Server
qcobjects-server
  1. Visit https://example.com/openapi.json to view the result
0.0.15

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.13

3 years ago

0.0.11

3 years ago

0.0.9

3 years ago

0.0.7

3 years ago

0.0.5

3 years ago

0.0.3

3 years ago