0.0.2 • Published 1 year ago

@oamerge/generator-security v0.0.2

Weekly downloads
-
License
SEE LICENSE IN LI...
Repository
github
Last release
1 year ago

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 root output property. (Default: security.js)

License

This software and all example code are dedicated to the public domain.