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=718fc1767c5534e0606c7ffeb3bb23db6b8d9b0e;hp=05d232625fa7a538ac3faad1c98446f9af375df1;hpb=6f86ab364ac739951556bf2d5bf70429b518de47;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 05d23262..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 = "ei_type_info", 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("job_data_schema") - @JsonProperty("job_data_schema") - public final Object jobDataSchema; - - ConsumerEiTypeInfo(Object jobDataSchema) { - this.jobDataSchema = jobDataSchema; - } }