18 Commits

Author SHA1 Message Date
Kamil Myśliwiec
7d3e5c1a38 build: use strict null checks part 5 2024-11-26 14:39:51 +01:00
Kamil Myśliwiec
236b633a76 style: address integration tests lint errors 2024-11-26 09:39:20 +01:00
Abdeldjalil Fortas
c0af8af0cd feat(fastify): Do not crash if enableVersioning is not used (fixes #13496) 2024-05-05 09:25:58 +02:00
Kamil Myśliwiec
f831473dbb test: remove .only calls 2023-06-17 11:12:19 +02:00
Kamil Myśliwiec
7aa710724d fix(core): apply middleware to versioned controllers (ctrl-level) 2023-06-14 11:34:56 +02:00
Kamil Myśliwiec
0faddb4c37 fix(core): global prefix exclude when versioning is turned on 2023-05-22 13:17:22 +02:00
Kamil Myśliwiec
0f904d2cab chore: update minimum engine version to 16 2023-04-05 13:31:07 +02:00
Kamil Myśliwiec
95e8394b32 test: add inspector e2e tests, add deterministic uuid registry 2022-11-29 09:56:19 +01:00
Kamil Myśliwiec
5b42ab71af test: add paths mapping and watch mode for unit tests 2022-11-09 11:46:08 +01:00
Kamil Myśliwiec
99b9dda0cf chore(): minor formatting changes 2022-03-01 13:51:33 +01:00
wiltshir
6ec6f3535e feat(common): Add custom versioning support
Specifically, addes a 'Custom' VersioningType that allows for an
extractor function to be provided that receives the Request object
(either Express or Fastify) and returns a string or array of strings
pulled from said request. Examples include extracting custom header
values, URL params, POST request bodies, and more.

Fixes #8441
2021-12-13 18:39:37 -08:00
Micael Levi (lab)
aa315672a1 refactor(integration): better naming for versioning E2E test suites 2021-09-26 17:08:04 -04:00
Micael Levi (lab)
9027fd284b test(): add tests for global version with Header Versioning Type 2021-09-26 17:05:16 -04:00
Micael Levi (lab)
2e287691da test(): add tests for global version with Media Type Versioning 2021-09-26 17:04:48 -04:00
Micael Levi (lab)
9d0dcc6080 test(): add tests for global version with URI Versioning
This also fixes the misleading behavior of trailing slashs in fastify
router in which `GET /v3/` was used instead of `GET /v3` even tho both
end up behaving the same way
2021-09-26 15:33:12 -04:00
Kamil Myśliwiec
7c394b6110 fix(platform-fastify): fix versioning (media type and header) 2021-08-17 11:34:48 +02:00
Kamil Myśliwiec
9d0551ff25 style(): run prettier 2021-08-16 09:30:29 +02:00
Kamil Myśliwiec
6c9647ab3b chore(): fix merge conflicts, minor tweaks 2021-02-24 12:52:00 +01:00