io.github.springwolf.asyncapi.v3.bindings.nats.NATSOperationBinding 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.bindings.nats;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.github.springwolf.asyncapi.v3.bindings.OperationBinding;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
/**
* @see NATS Operation
*/
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class NATSOperationBinding extends OperationBinding {
/**
* Defines the name of the queue to use. It MUST NOT exceed 255 characters.
*/
@JsonProperty("queue")
private String queue;
/**
* The version of this binding. If omitted, "latest" MUST be assumed.
*/
@Builder.Default
@JsonProperty("bindingVersion")
private String bindingVersion = "0.1.0";
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy