Skip to content

Commit

Permalink
0.1.8rc6 - get resource file as stream of openapi schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
mehillid committed Jun 27, 2024
1 parent d4839cd commit 3a4c445
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
18 changes: 9 additions & 9 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Make sure you include the <a href="https://jitpack.io/">repository</a> as well.
<dependency>
<groupId>com.github.qlsolutions.JavalinFly</groupId>
<artifactId>javalinfly-core</artifactId>
<version>0.1.8rc5</version>
<version>0.1.8rc6</version>
</dependency>
```

Expand All @@ -37,7 +37,7 @@ Make sure you include the <a href="https://jitpack.io/">repository</a> as well.
<annotationProcessorPath>
<groupId>com.github.qlsolutions.JavalinFly</groupId>
<artifactId>javalinfly-core</artifactId>
<version>0.1.8rc5</version>
<version>0.1.8rc6</version>
</annotationProcessorPath>
</annotationProcessorPaths>
</configuration>
Expand All @@ -51,7 +51,7 @@ Make sure you include the <a href="https://jitpack.io/">repository</a> as well.
<dependency>
<groupId>com.github.qlsolutions.JavalinFly</groupId>
<artifactId>javalinfly-kotlin</artifactId>
<version>0.1.8rc5</version>
<version>0.1.8rc6</version>
</dependency>
```

Expand All @@ -69,20 +69,20 @@ Make sure you include the <a href="https://jitpack.io/">repository</a> as well.
- Dependency

```groovy
implementation 'com.github.qlsolutions.JavalinFly:javalinfly-core:0.1.8rc5'
implementation 'com.github.qlsolutions.JavalinFly:javalinfly-core:0.1.8rc6'
```

- Annotation processor

```groovy
annotationProcessor 'com.github.qlsolutions.JavalinFly:javalinfly-core:0.1.8rc5'
annotationProcessor 'com.github.qlsolutions.JavalinFly:javalinfly-core:0.1.8rc6'
```

- <details>
<summary>Optionally also the kotlin module</summary>

```groovy
implementation 'com.github.qlsolutions.JavalinFly:javalinfly-kotlin:0.1.8rc5'
implementation 'com.github.qlsolutions.JavalinFly:javalinfly-kotlin:0.1.8rc6'
```

</details>
Expand All @@ -93,19 +93,19 @@ Make sure you include the <a href="https://jitpack.io/">repository</a> as well.

- Dependency
```groovy
implementation("com.github.qlsolutions.JavalinFly:javalinfly-core:0.1.8rc5")
implementation("com.github.qlsolutions.JavalinFly:javalinfly-core:0.1.8rc6")
```

- Annotation processor
```groovy
annotationProcessor("com.github.qlsolutions.JavalinFly:javalinfly-core:0.1.8rc5")
annotationProcessor("com.github.qlsolutions.JavalinFly:javalinfly-core:0.1.8rc6")
```

- <details>
<summary>Optionally also the kotlin module</summary>

```groovy
implementation("com.github.qlsolutions.JavalinFly:javalinfly-kotlin:0.1.8rc5")
implementation("com.github.qlsolutions.JavalinFly:javalinfly-kotlin:0.1.8rc6")
```

</details>
Expand Down
2 changes: 1 addition & 1 deletion javalinfly-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.unldenis</groupId>
<artifactId>JavalinFly</artifactId>
<version>0.1.8rc5</version>
<version>0.1.8rc6</version>
</parent>

<artifactId>javalinfly-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
public class SwaggerUIHtmlGenerator {

public static String readResourceFile(String fileName) {
InputStream inputStream = JavalinFly.class.getClassLoader().getResourceAsStream(fileName);
InputStream inputStream = ClassLoader.getSystemClassLoader().getResourceAsStream(fileName);
if (inputStream == null) {
throw new IllegalArgumentException("File not found: " + fileName);
}
Expand Down
2 changes: 1 addition & 1 deletion javalinfly-example-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.unldenis</groupId>
<artifactId>JavalinFly</artifactId>
<version>0.1.8rc5</version>
<version>0.1.8rc6</version>
</parent>

<artifactId>javalinfly-example-kotlin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion javalinfly-example/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.unldenis</groupId>
<artifactId>JavalinFly</artifactId>
<version>0.1.8rc5</version>
<version>0.1.8rc6</version>
</parent>

<artifactId>javalinfly-example</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion javalinfly-kotlin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<parent>
<groupId>com.github.unldenis</groupId>
<artifactId>JavalinFly</artifactId>
<version>0.1.8rc5</version>
<version>0.1.8rc6</version>
</parent>

<artifactId>javalinfly-kotlin</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>com.github.unldenis</groupId>
<artifactId>JavalinFly</artifactId>
<version>0.1.8rc5</version>
<version>0.1.8rc6</version>
<packaging>pom</packaging>

<modules>
Expand Down

0 comments on commit 3a4c445

Please sign in to comment.