File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/main/java/com/pnuema/java/barcode/barcodeapi/controllers/v1 Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ plugins {
1717}
1818
1919group = " com.pnuema.java.barcode"
20- version " 2.4 "
20+ version " 2.5 "
2121
2222dependencies {
2323 implementation(libs.barcode)
Original file line number Diff line number Diff line change 11[versions ]
22# libs
3- barcode = " 2.4 "
3+ barcode = " 2.5 "
44openapi-ui = " 2.3.0"
55
66# plugins
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ public class BarcodeController extends AbstractV1Resource {
2525 @ GetMapping (value = "/barcode/{type}/data/{data}" )
2626 @ Cacheable ("barcodes" )
2727 public ResponseEntity <byte []> getBarcodeImage (
28- @ PathVariable String type ,
29- @ PathVariable String data ,
28+ @ PathVariable ( name = "type" ) String type ,
29+ @ PathVariable ( name = "data" ) String data ,
3030 @ RequestParam (name = "w" ) Optional <Integer > width ,
3131 @ RequestParam (name = "h" ) Optional <Integer > height ,
3232 @ RequestParam (name = "label" ) Optional <Boolean > includeLabel ,
You can’t perform that action at this time.
0 commit comments