@fastify/swagger
Advanced tools
Comparing version 8.12.2 to 8.13.0
@@ -68,5 +68,5 @@ 'use strict' | ||
} else if (char === '*') { | ||
// * -> wildcard | ||
// * -> {*} | ||
// should be exist once only | ||
path += '{wildcard}' | ||
path += '{*}' | ||
} else { | ||
@@ -73,0 +73,0 @@ path += char |
{ | ||
"name": "@fastify/swagger", | ||
"version": "8.12.2", | ||
"version": "8.13.0", | ||
"description": "Serve Swagger/OpenAPI documentation for Fastify, supporting dynamic generation", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -13,3 +13,3 @@ 'use strict' | ||
['/example/near/:lat_1-:lng_1/radius/:r_1', '/example/near/{lat_1}-{lng_1}/radius/{r_1}'], | ||
['/example/*', '/example/{wildcard}'], | ||
['/example/*', '/example/{*}'], | ||
['/example/:file(^\\d+).png', '/example/{file}.png'], | ||
@@ -16,0 +16,0 @@ ['/example/at/:hour(^\\d{2})h:minute(^\\d{2})m', '/example/at/{hour}h{minute}m'], |
279984