Skip to content

Commit 95b6396

Browse files
committed
Refactor java directory
1 parent 37fc854 commit 95b6396

File tree

19 files changed

+330
-324
lines changed

19 files changed

+330
-324
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ CLIENT generators:
5959
For example, to generate a Java client library from the ChatBootAI OpenAPI Contract, run the following command:
6060

6161
```bash
62-
openapi-generator generate -i openapi.yml -g jaxrs-spec -o ./java/java-api --api-package ai.chatboot.api --model-package ai.chatboot.model
62+
openapi-generator generate -i openapi-chatbootai.yml -g jaxrs-spec -o ./java/java-api --api-package ai.chatboot.api --model-package ai.chatboot.model
6363
```
6464

6565
# References

java/.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# Compiled class file
22
target/
33
*.class
4-
.openapi-generator

java/jakarta-api/pom.xml

Lines changed: 4 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
<groupId>ai.chatboot.openapi</groupId>
3+
<groupId>ai.chatboot.openapi.java</groupId>
44
<artifactId>jakarta-api</artifactId>
55
<version>0.0.1-SNAPSHOT</version>
6-
<name>ChatBootAI :: OpenAPI :: Jakarta API</name>
6+
<name>ChatBootAI :: OpenAPI :: Java :: Jakarta API</name>
77

88
<parent>
9-
<groupId>ai.chatboot</groupId>
10-
<artifactId>openapi</artifactId>
9+
<groupId>ai.chatboot.openapi</groupId>
10+
<artifactId>java</artifactId>
1111
<version>0.0.1-SNAPSHOT</version>
1212
</parent>
1313

@@ -86,21 +86,4 @@
8686
</plugins>
8787
</build>
8888

89-
<profiles>
90-
<profile>
91-
<id>format-code</id>
92-
<build>
93-
<plugins>
94-
<plugin>
95-
<groupId>net.revelc.code.formatter</groupId>
96-
<artifactId>formatter-maven-plugin</artifactId>
97-
</plugin>
98-
<plugin>
99-
<groupId>net.revelc.code</groupId>
100-
<artifactId>impsort-maven-plugin</artifactId>
101-
</plugin>
102-
</plugins>
103-
</build>
104-
</profile>
105-
</profiles>
10689
</project>

java/jakarta-model/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
<groupId>ai.chatboot.openapi</groupId>
3+
<groupId>ai.chatboot.openapi.java</groupId>
44
<artifactId>jakarta-model</artifactId>
55
<version>0.0.1-SNAPSHOT</version>
6-
<name>ChatBootAI :: OpenAPI :: Jakarta Model</name>
6+
<name>ChatBootAI :: OpenAPI :: Java :: Jakarta Model</name>
77

88
<parent>
9-
<groupId>ai.chatboot</groupId>
10-
<artifactId>openapi</artifactId>
9+
<groupId>ai.chatboot.openapi</groupId>
10+
<artifactId>java</artifactId>
1111
<version>0.0.1-SNAPSHOT</version>
1212
</parent>
1313

java/jaxrs-api/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
<groupId>ai.chatboot.openapi</groupId>
3+
<groupId>ai.chatboot.openapi.java</groupId>
44
<artifactId>jaxrs-api</artifactId>
55
<version>0.0.1-SNAPSHOT</version>
6-
<name>ChatBootAI :: OpenAPI :: JAX-RS API</name>
6+
<name>ChatBootAI :: OpenAPI :: Java :: JAX-RS API</name>
77

88
<parent>
9-
<groupId>ai.chatboot</groupId>
10-
<artifactId>openapi</artifactId>
9+
<groupId>ai.chatboot.openapi</groupId>
10+
<artifactId>java</artifactId>
1111
<version>0.0.1-SNAPSHOT</version>
1212
</parent>
1313

java/jaxrs-model/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
<groupId>ai.chatboot.openapi</groupId>
3+
<groupId>ai.chatboot.openapi.java</groupId>
44
<artifactId>jaxrs-model</artifactId>
55
<version>0.0.1-SNAPSHOT</version>
6-
<name>ChatBootAI :: OpenAPI :: JAX-RS Model</name>
6+
<name>ChatBootAI :: OpenAPI :: Java :: JAX-RS Model</name>
77

88
<parent>
9-
<groupId>ai.chatboot</groupId>
10-
<artifactId>openapi</artifactId>
9+
<groupId>ai.chatboot.openapi</groupId>
10+
<artifactId>java</artifactId>
1111
<version>0.0.1-SNAPSHOT</version>
1212
</parent>
1313

java/pom.xml

Lines changed: 3 additions & 281 deletions
Large diffs are not rendered by default.

java/quarkus-api/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
<groupId>ai.chatboot.openapi</groupId>
3+
<groupId>ai.chatboot.openapi.java</groupId>
44
<artifactId>quarkus-api</artifactId>
55
<version>0.0.1-SNAPSHOT</version>
6-
<name>ChatBootAI :: OpenAPI :: Quarkus API</name>
6+
<name>ChatBootAI :: OpenAPI :: Java :: Quarkus API</name>
77

88
<parent>
9-
<groupId>ai.chatboot</groupId>
10-
<artifactId>openapi</artifactId>
9+
<groupId>ai.chatboot.openapi</groupId>
10+
<artifactId>java</artifactId>
1111
<version>0.0.1-SNAPSHOT</version>
1212
</parent>
1313

java/quarkus-model/pom.xml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
22
<modelVersion>4.0.0</modelVersion>
3-
<groupId>ai.chatboot.openapi</groupId>
3+
<groupId>ai.chatboot.openapi.java</groupId>
44
<artifactId>quarkus-model</artifactId>
55
<version>0.0.1-SNAPSHOT</version>
6-
<name>ChatBootAI :: OpenAPI :: Quarkus Model</name>
6+
<name>ChatBootAI :: OpenAPI :: Java :: Quarkus Model</name>
77

88
<parent>
9-
<groupId>ai.chatboot</groupId>
10-
<artifactId>openapi</artifactId>
9+
<groupId>ai.chatboot.openapi</groupId>
10+
<artifactId>java</artifactId>
1111
<version>0.0.1-SNAPSHOT</version>
1212
</parent>
1313

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)