Skip to content

Commit

Permalink
feat(bindings): move bindings to root package
Browse files Browse the repository at this point in the history
  • Loading branch information
Pakisan committed Apr 20, 2024
1 parent 0c168d4 commit d31e556
Show file tree
Hide file tree
Showing 4 changed files with 67 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.asyncapi.bindings;

import com.asyncapi.v3.ExtendableObject;
import lombok.EqualsAndHashCode;

/**
* Describes protocol-specific definition for a channel.
* <p>
* This object MAY be extended with {@link ExtendableObject}.
*
* @see <a href="https://www.asyncapi.com/docs/reference/specification/v3.0.0#specificationExtensions">Specification Extensions</a>
* @see <a href="https://www.asyncapi.com/docs/reference/specification/v3.0.0#channelBindingsObject">Channel Binding</a>
* @author Pavel Bodiachevskii
* @version 3.0.0
*/
@EqualsAndHashCode(callSuper = true)
public class ChannelBinding extends ExtendableObject {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.asyncapi.bindings;

import com.asyncapi.v3.ExtendableObject;
import lombok.EqualsAndHashCode;

/**
* Describes AsyncAPI message binding.
*
* @author Pavel Bodiachevskii
*/
@EqualsAndHashCode(callSuper = true)
public class MessageBinding extends ExtendableObject {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.asyncapi.bindings;

import com.asyncapi.v3.ExtendableObject;
import lombok.EqualsAndHashCode;

/**
* Describes protocol-specific definition for an operation.
* <p>
* This object MAY be extended with {@link ExtendableObject}.
*
* @see <a href="https://www.asyncapi.com/docs/reference/specification/v3.0.0#specificationExtensions">Specification Extensions</a>
* @see <a href="https://www.asyncapi.com/docs/reference/specification/v3.0.0#operationBindingsObject">Operation Binding</a>
* @author Pavel Bodiachevskii
* @version 3.0.0
*/
@EqualsAndHashCode(callSuper = true)
public class OperationBinding extends ExtendableObject {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.asyncapi.bindings;

import com.asyncapi.v3.ExtendableObject;
import lombok.EqualsAndHashCode;

/**
* Describes protocol-specific definition for a server.
* <p>
* This object MAY be extended with {@link ExtendableObject}.
*
* @see <a href="https://www.asyncapi.com/docs/reference/specification/v3.0.0#specificationExtensions">Specification Extensions</a>
* @see <a href="https://www.asyncapi.com/docs/reference/specification/v3.0.0#serverBindingsObject">Server Binding</a>
* @author Pavel Bodiachevskii
* @version 3.0.0
*/
@EqualsAndHashCode(callSuper = true)
public class ServerBinding extends ExtendableObject {
}

0 comments on commit d31e556

Please sign in to comment.