@cap-js/openapi

1.0.4 • Public • Published

REUSE status

OpenAPI

About this project

The @cap-js/openapi is a package that provides support for OpenAPI document compilation.

Table of Contents

Requirements and Setup

Installation

$ npm install @cap-js/openapi

Usage

const cds = require('@sap/cds')
const { compile } = require('@cap-js/openapi')
const csn = await cds.load(cds.env.folders.srv)
const openapiDocument = compile(csn)

Contributing

This project is open to feature requests/suggestions, bug reports etc. via GitHub issues. Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our Contribution Guidelines.

Code of Conduct

We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone. By participating in this project, you agree to abide by its Code of Conduct at all times.

Licensing

Copyright 2023 SAP SE or an SAP affiliate company and contributors. Please see our LICENSE for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the REUSE tool.

Readme

Keywords

Package Sidebar

Install

npm i @cap-js/openapi

Weekly Downloads

112

Version

1.0.4

License

SEE LICENSE IN LICENSE

Unpacked Size

124 kB

Total Files

6

Last publish

Collaborators

  • chgeo
  • sap_extncrepos