Releases: matzehecht/koa-oas-router
Releases · matzehecht/koa-oas-router
v3.1.1
v3.1.1-beta.1
v3.1.0
v3.1.0-beta.1
v3.0.2
v3.0.1
v3.0.0
3.0.0 (2020-08-21)
Bug Fixes
- fixes options export (85aaf15)
Code Refactoring
Features
- controller: map to controller now can fallback to index module (with opt-out) (594f395), closes #15
- controller function: map to controller function now can fallback (d91ce7a), closes #18
- path routing: optionally you can now map the controller by the request path (098b9e9), closes #17
BREAKING CHANGES
- controller function: If no operationId is specified in an operation the mapped controller function name
falls back to path + method (path in lower and method in PascalCase). You can opt this out with
fallbackControllerFunctionToPath on AddFromSpecificationOpts. - controller: If no tag is specified in a operation the mapped controller falls back to the index
module. You can opt this out with fallbackControllerToIndex on AddFromSpecificationOpts. - logger: Removes the logger option from the constructor
v2.0.1
v2.0.0
2.0.0 (2020-08-20)
Bug Fixes
- fixes options export (42b7bb5)
Code Refactoring
Features
- controller: map to controller now can fallback to index module (with opt-out) (8006667), closes #15
- controller function: map to controller function now can fallback (3761d5b), closes #18
- path routing: optionally you can now map the controller by the request path (0d1f41c), closes #17
BREAKING CHANGES
- controller function: If no operationId is specified in an operation the mapped controller function name
falls back to path + method (path in lower and method in PascalCase). You can opt this out with
fallbackControllerFunctionToPath on AddFromSpecificationOpts. - controller: If no tag is specified in a operation the mapped controller falls back to the index
module. You can opt this out with fallbackControllerToIndex on AddFromSpecificationOpts. - logger: Removes the logger option from the constructor