Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration to
express-jsdoc-swagger
(#114)
* Changed the swagger.ts to use the new express-jsdoc-swagger. Changing all the files will be a gigantic hassle, but running swagger:validate will show if the generated swagger is valid. It does not show if the swagger contains everything you expect it to. * Migrated: banner-response.ts base-response.ts pagination.ts root-controller.ts * Migrated: authentication-controller.ts authentication-response.ts all authentication requests user-response.ts * Migrated: authentication-secure-controller.ts * Migrated: all responses, balance-controller.ts and some entities * Migrated: all requests * Migrated: banner-controller.ts * Migrated: container-controller.ts * Migrated: debtor-controller.ts * Migrated: event-controller.ts * Migrated: event-shift-controller.ts * Migrated all controllers * Small remaining changes and mistakes * Rebased on dev * Added logging * Started working on fixing the test files / finding out whats going wrong. * TODO Fix code to use specification.component.schemas instead of specification.definitions * Fixed test cases and some of the spec errors that came up. * Small test to fix CI * Small test to fix CI * Update build.yml * Added swagger-cli as devtool * Continued CI/CD testsuite bug fixing. * Continued CI/CD testsuite bug fixing. * Cleaned swagger.ts and removed old dep. * Missed a dangling endpoint * Small changes to try and fix runner * Fixed the stupid mistake * Function signature changed. * Small fix in test model * Small fix in test model path * Small typo * Small error fix * Changed generateSpecification params to include file patterns. * Removed all entity swagger doc to only leave Responses * Undid all the changes to the entities swaggerdoc since these are unused. * Applied requested pull changes. * Applied requested pull changes.
- Loading branch information