0.0.7 • Published 1 year ago

@oamerge/generator-routes v0.0.7

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

OpenAPI Merge > Generator > Routes

Generate common routes from OpenAPI filepaths using OA Merge.

View more documentation at OAMerge.com.

Install

npm install @oamerge/generator-routes

Use with OA Merge

import routes from '@oamerge/generator-routes'
export default {
	input: 'api',
	output: 'build',
	generators: [
		routes({
			// ...
		})
	]
}

Options

The following options are:

  • output <String> - The output filepath where the generated file will be written, relative to the root output property. (Default: routes.js)

License

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

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

0.0.0

1 year ago