Skip to content

Commit 6b5e0c7

Browse files
author
Dennis Labordus
committed
Fixed wrong XML Tag Names.
Signed-off-by: Dennis Labordus <[email protected]>
1 parent 9aefe9a commit 6b5e0c7

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

app/src/main/java/org/lfenergy/compas/scl/data/rest/v1/model/CreateRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import static org.lfenergy.compas.scl.data.SclDataServiceConstants.SCL_DATA_SERVICE_V1_NS_URI;
1717

1818
@Schema(description = "Request to create a new entry in the database containing the SCL Element content.")
19-
@XmlRootElement(name = "CreateWsRequest", namespace = SCL_DATA_SERVICE_V1_NS_URI)
19+
@XmlRootElement(name = "CreateRequest", namespace = SCL_DATA_SERVICE_V1_NS_URI)
2020
@XmlAccessorType(XmlAccessType.FIELD)
2121
public class CreateRequest {
2222
@FilenameValid

app/src/main/java/org/lfenergy/compas/scl/data/rest/v1/model/CreateResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import static org.lfenergy.compas.scl.data.SclDataServiceConstants.SCL_DATA_SERVICE_V1_NS_URI;
1414

1515
@Schema(description = "Response from creating a new entry in the database containing the SCL Element content.")
16-
@XmlRootElement(name = "CreateWsResponse", namespace = SCL_DATA_SERVICE_V1_NS_URI)
16+
@XmlRootElement(name = "CreateResponse", namespace = SCL_DATA_SERVICE_V1_NS_URI)
1717
@XmlAccessorType(XmlAccessType.FIELD)
1818
public class CreateResponse {
1919
@Schema(description = "The XML Content of the updated SCL added to the database. The content contains a XML according to the IEC 61850 standard.",

app/src/main/java/org/lfenergy/compas/scl/data/rest/v1/model/GetResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import static org.lfenergy.compas.scl.data.SclDataServiceConstants.SCL_DATA_SERVICE_V1_NS_URI;
1515

1616
@Schema(description = "Response from retrieving a SCL from the database containing the SCL Content.")
17-
@XmlRootElement(name = "GetWsResponse", namespace = SCL_DATA_SERVICE_V1_NS_URI)
17+
@XmlRootElement(name = "GetResponse", namespace = SCL_DATA_SERVICE_V1_NS_URI)
1818
@XmlAccessorType(XmlAccessType.FIELD)
1919
public class GetResponse {
2020
@Schema(description = "The XML Content of the retrieved SCL from the database. The content contains a XML according to the IEC 61850 standard.",

app/src/main/java/org/lfenergy/compas/scl/data/rest/v1/model/UpdateRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
@Schema(description = "Request to update an existing entry in the database containing the SCL Element content. " +
2020
"A new version is created and the old version is also kept.")
21-
@XmlRootElement(name = "UpdateWsRequest", namespace = SCL_DATA_SERVICE_V1_NS_URI)
21+
@XmlRootElement(name = "UpdateRequest", namespace = SCL_DATA_SERVICE_V1_NS_URI)
2222
@XmlAccessorType(XmlAccessType.FIELD)
2323
public class UpdateRequest {
2424
@NotNull(message = "{org.lfenergy.compas.changeset.notnull.message}")

app/src/main/java/org/lfenergy/compas/scl/data/rest/v1/model/UpdateResponse.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
import static org.lfenergy.compas.scl.data.SclDataServiceConstants.SCL_DATA_SERVICE_V1_NS_URI;
1515

1616
@Schema(description = "Response from updating a new entry in the database containing the SCL Element content.")
17-
@XmlRootElement(name = "UpdateWsResponse", namespace = SCL_DATA_SERVICE_V1_NS_URI)
17+
@XmlRootElement(name = "UpdateResponse", namespace = SCL_DATA_SERVICE_V1_NS_URI)
1818
@XmlAccessorType(XmlAccessType.FIELD)
1919
public class UpdateResponse {
2020
@Schema(description = "The XML Content of the updated SCL added to the database. The content contains a XML according to the IEC 61850 standard.",

0 commit comments

Comments
 (0)