Security News
The Push to Ban Ransom Payments Is Gaining Momentum
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
@loopback/apiconnect
Advanced tools
Readme
This module extends LoopBack with the ability to integrate with
IBM API Connect. It comes with an
ApiConnectComponent
that adds an OASEnhencer
extension to contribute
x-ibm-configuration
to the OpenAPI spec generated by LoopBack applications.
Experimental packages provide early access to advanced or experimental functionality to get community feedback. Such modules are published to npm using
0.x.y
versions. Their APIs and functionality may be subject to breaking changes in future releases.
npm i @loopback/apiconnect --save
The component should be loaded in the constructor of your custom Application class.
Start by importing the component class:
import {ApiConnectComponent} from '@loopback/apiconnect';
In the constructor, add the component to your application:
this.component(ApiConnectComponent);
The component requires a configuration for API Connect extension for OpenAPI
spec. The targetUrl
tells API Connect gateway where the REST APIs are served.
const apiConnectOptions: ApiConnectSpecOptions = {
targetUrl: 'http://localhost:3000/test-service',
};
app
.configure(ApiConnectBindings.API_CONNECT_SPEC_ENHANCER)
.to(apiConnectOptions);
Run npm test
from the root folder.
See all contributors.
MIT
FAQs
An extension for IBM API Connect
We found that @loopback/apiconnect demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Ransomware costs victims an estimated $30 billion per year and has gotten so out of control that global support for banning payments is gaining momentum.
Application Security
New SEC disclosure rules aim to enforce timely cyber incident reporting, but fear of job loss and inadequate resources lead to significant underreporting.
Security News
The Python Software Foundation has secured a 5-year sponsorship from Fastly that supports PSF's activities and events, most notably the security and reliability of the Python Package Index (PyPI).