@oamerge/generator-security
v0.0.2
Published
Generate security scheme handlers from OpenAPI filepaths using OA Merge.
Downloads
8
Maintainers
Readme
OpenAPI Merge > Generator > Security
Generate security scheme handlers from OpenAPI filepaths using OA Merge.
View more documentation at OAMerge.com.
Install
npm install @oamerge/generator-security
Use with OA Merge
import security from '@oamerge/generator-security'
export default {
input: 'api',
output: 'build',
generators: [
security({
// ...
})
]
}
Options
The following options are:
output
<String
> - The output filepath where the generated file will be written, relative to the rootoutput
property. (Default:security.js
)
License
This software and all example code are dedicated to the public domain.