X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=enrichment-coordinator-service%2Fsrc%2Fmain%2Fjava%2Forg%2Foransc%2Fenrichment%2Fcontrollers%2Fconsumer%2FConsumerEiTypeInfo.java;h=c63d6f74ddfc7e37ecd31355c127004dab30be3a;hb=c5ea745a563f8bae0c0c3de3649a943e167f01cc;hp=0d041152e5862ad8762b1871cf4b43ca0bd200f1;hpb=6a1eb6e2a6538decc54f5348fcb1589f5b829e68;p=nonrtric.git diff --git a/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/controllers/consumer/ConsumerEiTypeInfo.java b/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/controllers/consumer/ConsumerEiTypeInfo.java index 0d041152..c63d6f74 100644 --- a/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/controllers/consumer/ConsumerEiTypeInfo.java +++ b/enrichment-coordinator-service/src/main/java/org/oransc/enrichment/controllers/consumer/ConsumerEiTypeInfo.java @@ -1,9 +1,9 @@ /*- * ========================LICENSE_START================================= - * ONAP : ccsdk oran - * ====================================================================== - * Copyright (C) 2020 Nordix Foundation. All rights reserved. - * ====================================================================== + * O-RAN-SC + * %% + * Copyright (C) 2020 Nordix Foundation + * %% * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at @@ -20,24 +20,12 @@ package org.oransc.enrichment.controllers.consumer; -import com.fasterxml.jackson.annotation.JsonProperty; -import com.google.gson.annotations.SerializedName; - -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import io.swagger.v3.oas.annotations.media.Schema; import org.immutables.gson.Gson; @Gson.TypeAdapters -@ApiModel(value = "EiType", description = "Information for an EI type") +@Schema(name = "EiTypeObject", description = "Information for an EI type") public class ConsumerEiTypeInfo { - @ApiModelProperty(value = "Json schema for the job data") - @SerializedName("eiJobParametersSchema") - @JsonProperty("eiJobParametersSchema") - public final Object jobParametersSchema; - - ConsumerEiTypeInfo(Object jobParametersSchema) { - this.jobParametersSchema = jobParametersSchema; - } }