Skip to content

Commit

Permalink
update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
frantuma committed Oct 16, 2023
1 parent 5030aa7 commit e7f9f71
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import java.io.File;
import java.io.IOException;
import java.math.BigDecimal;
import java.nio.file.Files;
import java.util.*;

import io.swagger.models.*;
Expand All @@ -18,7 +19,6 @@
import org.apache.commons.io.FileUtils;
import org.testng.Assert;
import org.testng.annotations.Test;
import org.testng.reporters.Files;

import com.fasterxml.jackson.databind.JsonNode;

Expand Down Expand Up @@ -1586,7 +1586,7 @@ public void readingSpecStringShouldNotOverQuotingStringExample() throws Exceptio

@Test(description = "A string example should not be over quoted when parsing a yaml node")
public void readingSpecNodeShouldNotOverQuotingStringExample() throws Exception {
String yaml = Files.readFile(new File("src/test/resources/over-quoted-example.yaml"));
String yaml = new String(Files.readAllBytes(new File("src/test/resources/over-quoted-example.yaml").toPath()), "UTF-8");
JsonNode rootNode = Yaml.mapper().readValue(yaml, JsonNode.class);
SwaggerParser parser = new SwaggerParser();
Swagger swagger = parser.read(rootNode, true);
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -393,9 +393,9 @@
<properties>
<!--<maven.compiler.release>8</maven.compiler.release>-->
<commons-io-version>2.11.0</commons-io-version>
<snakeyaml-version>2.0</snakeyaml-version>
<slf4j-version>1.7.36</slf4j-version>
<swagger-core-version>1.6.11</swagger-core-version>
<snakeyaml-version>2.2</snakeyaml-version>
<slf4j-version>2.0.9</slf4j-version>
<swagger-core-version>1.6.12</swagger-core-version>
<junit-version>4.13.2</junit-version>
<testng-version>6.9.6</testng-version>
<jmockit-version>1.19</jmockit-version>
Expand Down

0 comments on commit e7f9f71

Please sign in to comment.