Skip to content

Commit

Permalink
update barcode dependency, update to new domain
Browse files Browse the repository at this point in the history
  • Loading branch information
barnhill committed Jun 15, 2024
1 parent 85a907e commit 86f59e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
#libs
barcode = "2.6.3"
barcode = "2.6.4"
openapi-ui = "2.5.0"

#plugins
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@OpenAPIDefinition(servers = {
@Server(url = "https://barcodeapi.link/", description = "Remote"),
@Server(url = "https://barcode.pnuema.com/", description = "Remote"),
@Server(url = "https://barcodeapi.pnuema.com/", description = "Remote"),
@Server(url = "http://localhost:8080/", description = "Local")
})
@SpringBootApplication
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ private EncodingType convertTypeStringToEnum(String type) {
return switch (type.toLowerCase()) {
case "telepen" -> EncodingType.TELEPEN;
case "standard2of5", "industrial2of5" -> EncodingType.Standard2of5;
case "iata2of5" -> EncodingType.IATA2of5;
case "postnet" -> EncodingType.PostNet;
case "pharmacode" -> EncodingType.PHARMACODE;
case "msi2mod10" -> EncodingType.MSI_2Mod10;
Expand Down

0 comments on commit 86f59e8

Please sign in to comment.