Skip to content

v2.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 20 Aug 23:39
· 69 commits to main since this release

2.0.0 (2020-08-20)

Bug Fixes

Code Refactoring

  • logger: removes logger (0b2ca6b), closes #6

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