
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
vuepress-theme-openapi
Advanced tools
yarn add vuepress-theme-openapi -D
# OR
npm install vuepress-theme-openapi -D
// .vuepress/config.js
module.exports = {
theme: 'openapi'
}
To do so is quite simple, you just need to add an array called servers at vuepress/config.js. This array will have all the url where your servers are located.
// .vuepress/config.js
module.exports = {
themeConfig: {
servers: ['http://172.19.18.132:8082']
}
}
So far now, there is an open issue on swagger which makes impossible use schemas references of other files (https://github.com/swagger-api/swagger-editor/issues/1409), in order to bring this feature, you may add as many json files as you need at src/.vuepress/public/specs. All these schemas defined in these json files will be loaded by the theme and added in every single specification written in yaml. Therefore, you could use in your openapi definition as if it was already there.
You may find an example of this feature at: example/src/.vuepress/public/specs/petstore.yaml This definition is using the schemas defined at:
Same example on live here
All the specifications should be located on src/.vuepress/public/specs and written in yaml. In our example, on example/src/.vuepress/public/specs
The name will be given by the path where the vuepress page is located.
The best way to explain it is by examples ( you will find all of them in this project ):
You can write your specification just in yaml format. This is because we are using all the *.json on src/.vuepress/public/specs as schemas catalogs
FAQs
[Demo](https://amplia-iiot.github.io/vuepress-theme-openapi/)
We found that vuepress-theme-openapi demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.