Skip to content

v3.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Aug 16:35
· 26 commits to main since this release

3.0.0 (2020-08-21)

Bug Fixes

Code Refactoring

  • logger: removes logger (b6d3a89), closes #6

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