All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.springwolf.asyncapi.v3.model.operation.OperationReplyAddress Maven / Gradle / Ivy

There is a newer version: 1.9.0
Show newest version
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.asyncapi.v3.model.operation;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.springwolf.asyncapi.v3.model.ExtendableObject;
import io.github.springwolf.asyncapi.v3.model.Reference;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * An object that specifies where an operation has to send the reply.
 * 

* For specifying and computing the location of a reply address, a runtime expression is used. */ @Data @Builder @NoArgsConstructor @AllArgsConstructor @EqualsAndHashCode(callSuper = true) public class OperationReplyAddress extends ExtendableObject implements Reference { /** * An optional description of the address. can be used for rich text * representation. */ @JsonProperty("description") private String description; /** * REQUIRED. A runtime expression that specifies the location of the reply address. */ @NotNull @JsonProperty("location") private String location; @JsonIgnore private String ref; @Override public String getRef() { return ref; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy