NONRTRIC-946: Capifcore - remove comment
[nonrtric/plt/sme.git] / capifcore / generate.sh
index 69516b2..bcc336f 100755 (executable)
@@ -2,7 +2,8 @@
 #   ========================LICENSE_START=================================
 #   O-RAN-SC
 #   %%
-#   Copyright (C) 2022: Nordix Foundation
+#   Copyright (C) 2022-2023: Nordix Foundation. All rights reserved
+#   Copyright (C) 2023: OpenInfra Foundation Europe. All rights reserved
 #   %%
 #   Licensed under the Apache License, Version 2.0 (the "License");
 #   you may not use this file except in compliance with the License.
@@ -83,8 +84,8 @@ mv temp.yaml TS29571_CommonData.yaml
 sed '/oneOf.*/,+2d' TS29222_CAPIF_Publish_Service_API.yaml >temp.yaml
 mv temp.yaml TS29222_CAPIF_Publish_Service_API.yaml
 
-sed '64,68d' TS29222_CAPIF_Discover_Service_API.yaml >temp.yaml # Remove parameter preferred-aef-loc since it doesn't follow the OpenApi specification, "The behavior for nested objects and arrays is undefined."
-mv temp.yaml TS29222_CAPIF_Discover_Service_API.yaml
+sed '/oneOf.*/,+2d' TS29222_CAPIF_Security_API.yaml >temp.yaml
+mv temp.yaml TS29222_CAPIF_Security_API.yaml
 
 # Replace references to external specs that are collected to the common spec by the commoncollector
 # <replacements_start>