Compare commits
3 Commits
9a6d712d7a
...
9cbeee66c9
Author | SHA1 | Date | |
---|---|---|---|
9cbeee66c9 | |||
d25be53b77 | |||
d36f9c005a |
2
pom.xml
2
pom.xml
@ -3,7 +3,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>kangaroo-and-rabbit</groupId>
|
<groupId>kangaroo-and-rabbit</groupId>
|
||||||
<artifactId>archidata</artifactId>
|
<artifactId>archidata</artifactId>
|
||||||
<version>0.13.1-SNAPSHOT</version>
|
<version>0.14.2</version>
|
||||||
<properties>
|
<properties>
|
||||||
<java.version>21</java.version>
|
<java.version>21</java.version>
|
||||||
<maven.compiler.version>3.1</maven.compiler.version>
|
<maven.compiler.version>3.1</maven.compiler.version>
|
||||||
|
@ -10,6 +10,7 @@ import java.util.Set;
|
|||||||
import org.kar.archidata.externalRestApi.dot.DotClassElement.DefinedPosition;
|
import org.kar.archidata.externalRestApi.dot.DotClassElement.DefinedPosition;
|
||||||
import org.kar.archidata.externalRestApi.model.ApiGroupModel;
|
import org.kar.archidata.externalRestApi.model.ApiGroupModel;
|
||||||
import org.kar.archidata.externalRestApi.model.ApiModel;
|
import org.kar.archidata.externalRestApi.model.ApiModel;
|
||||||
|
import org.kar.archidata.externalRestApi.model.ApiModel.OptionalClassModel;
|
||||||
import org.kar.archidata.externalRestApi.model.ClassEnumModel;
|
import org.kar.archidata.externalRestApi.model.ClassEnumModel;
|
||||||
import org.kar.archidata.externalRestApi.model.ClassListModel;
|
import org.kar.archidata.externalRestApi.model.ClassListModel;
|
||||||
import org.kar.archidata.externalRestApi.model.ClassMapModel;
|
import org.kar.archidata.externalRestApi.model.ClassMapModel;
|
||||||
@ -216,7 +217,7 @@ public class DotApiGeneration {
|
|||||||
hasParam = true;
|
hasParam = true;
|
||||||
boolean hasParam2 = false;
|
boolean hasParam2 = false;
|
||||||
data.append("data: {");
|
data.append("data: {");
|
||||||
for (final Entry<String, List<ClassModel>> pathEntry : interfaceElement.multiPartParameters
|
for (final Entry<String, OptionalClassModel> pathEntry : interfaceElement.multiPartParameters
|
||||||
.entrySet()) {
|
.entrySet()) {
|
||||||
if (hasParam2) {
|
if (hasParam2) {
|
||||||
data.append(", ");
|
data.append(", ");
|
||||||
@ -224,7 +225,7 @@ public class DotApiGeneration {
|
|||||||
hasParam2 = true;
|
hasParam2 = true;
|
||||||
data.append(pathEntry.getKey());
|
data.append(pathEntry.getKey());
|
||||||
data.append(": ");
|
data.append(": ");
|
||||||
data.append(generateClassModelsTypescript(pathEntry.getValue(), dotGroup));
|
data.append(generateClassModelsTypescript(pathEntry.getValue().model(), dotGroup));
|
||||||
}
|
}
|
||||||
data.append("}");
|
data.append("}");
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
0.14.0
|
0.14.2
|
||||||
|
Loading…
Reference in New Issue
Block a user