io.github.springwolf.asyncapi.v3.model.channel.message.MessageExample Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springwolf-asyncapi Show documentation
Show all versions of springwolf-asyncapi Show documentation
Springwolf implementation of the AsyncApi specification
// SPDX-License-Identifier: Apache-2.0
package io.github.springwolf.asyncapi.v3.model.channel.message;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.springwolf.asyncapi.v3.model.ExtendableObject;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import java.util.Map;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class MessageExample extends ExtendableObject {
/**
* The value of this field MUST validate against the Message Object's headers field.
*/
@JsonProperty(value = "headers")
private Map headers;
/**
* The value of this field MUST validate against the Message Object's payload field.
*/
@JsonProperty(value = "payload")
private Map payload;
/**
* A machine-friendly name.
*/
@JsonProperty(value = "name")
private String name;
/**
* A short summary of what the example is about.
*/
@JsonProperty(value = "summary")
private String summary;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy