Questions tagged [asyncapi]

AsyncAPI is an open source initiative that seeks to improve the current state of Event-Driven Architectures (EDA).

At its core, is the AsyncAPI specification intending to document message-driven APIs in a machine-readable way.

The specification sets the ground for various projects around that go a from parsers to code generators and mocking libraries.

Use this tag if you are posting an issue with one of the tools build atop the AsyncAPI spec.

45 questions
1
vote
0 answers

SignalR and AsyncAPI

We are trying to document our SignalR Hubs via AsyncAPI. This is the best example so far we were able to find about SignalR and AsyncAPI: https://github.com/neuroglia-io/AsyncApi/issues/3 When we apply this scenario to our code in a similar manner,…
ruzgarustu
  • 165
  • 1
  • 7
1
vote
0 answers

Code generation issue for AsyncAPI definition using java-spring-template

I'm trying to generate the code using this java-spring-template using this async API definition. After building it, when I try to start using ./gradlew bootRun , it gives the following error. Can someone point out the issue in the definition…
Chamila Adhikarinayake
  • 3,588
  • 5
  • 25
  • 32
1
vote
1 answer

parallel job processing with Azure Service Bus Queues

I have an Azure Service Bus queue with Rest API requests for Database ingestion jobs. For this, I have a requirement to create task workers to complete each job asynchronously as given in the below diagram. I want to process these messages in…
1
vote
1 answer

AsyncAPI - How to distribute definition over different files

I am thinking of using AsyncAPI in my project for documenting the RabbitMQ messaging system. What I need to do is, rather than creating a single yaml/json file for all the messages in the application, I want to create the AsyncAPI definition for…
Rachit Anand
  • 616
  • 5
  • 16
0
votes
1 answer

Gradle look into wrong maven repository l

How I add plugin in build.gradle. Source: https://plugins.gradle.org/plugin/com.asyncapi.asyncapi-gradle-plugin buildscript { repositories { maven { url = uri("https://plugins.gradle.org/m2/") } } dependencies { …
Настя
  • 11
  • 1
0
votes
1 answer

Asynchronous API - POST & GET - multiple GET endpoints

I am building an Asynchronous API with polling and it has the following endpoints - POST Create Resource Request - curl -X POST https://api.example.com/v1/card/eligibility/ Response - { "requestId": "12345678", "timestamp": "2021-11-01", …
0
votes
1 answer

AsyncAPI apicurio data model additionaProperties:true

In apicurio data model additionalProperties variable is using AsyncApiSchema type, it cannot give the value as true when it comes to create schema for map> offset Here json will be dynamic. Isn't it good to have it as the type of Object…
0
votes
1 answer

What does ">-" do?

I have found some internal async-api schema that looks like the following example: schemas: Example: type: object allOf: - $ref: '#/components/schemas/Foo' - type: object properties: bar: …
mamen
  • 1,202
  • 6
  • 26
0
votes
0 answers

Automatic generation of Asyncapi, TS, Express documentation

Has anyone encountered automatic generation of documentation for web sockets in my Soket IO project. The project is on TS, Express. I look in the direction of Asyncapi and can't find an opportunity to describe the documentation with decorators in…
0
votes
1 answer

How do you formally describe your Websocket API?

REST and other synchronous API are well defined via OpenAPI specification, and docs&code can be generated with Swagger or other platforms. It is not suited to describe Websockets. This question has already been asked 6 years ago on stack, and i…
ShooShoo
  • 43
  • 3
0
votes
1 answer

AsyncAPI specification for AWS SNS scenario

As per the official documentation of AsyncAPI Specification to define event-driven APIs, there would be the need to define the basic components like info, server, channel, message, schema section using the specifications. This is good enough for…
Kundan Saini
  • 87
  • 2
  • 6
  • 15
0
votes
1 answer

Exact difference between Kafka and AsyncApi

I am new in Kafka and want to understand what is the difference between AsyncAPI and Kafka itself?
Vx69
  • 3
  • 1
0
votes
1 answer

How to define a message fixed field value in AsyncAPI

We are looking at using CloudEvents as a message envelope for events generated in our system, and defining those messages using AsyncAPI. We are using the CloudEvents type property to identify each event type, with a different data property schema…
PeeGee
  • 99
  • 8
0
votes
1 answer

How to create a proxy for async api developed in .NET?

My backend service is developed in .NET and it generates Async API specification and I could upload it to Anypoint platform Exchange easily. Is there any specific requirements to create a proxy for the backend service? Or will it be a simple HTTP…
0
votes
1 answer

Is there a way to merge or subtype type references in AsyncAPI

I have an AsyncAPI document that defines a message with an existing payload type. channels: onboarding-consumption: publish: operationId: publishConsumptionEvent summary: Notify of application usage for consumption reporting…
Richard Collette
  • 5,462
  • 4
  • 53
  • 79