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

io.github.stavshamir.springwolf.asyncapi.AsyncApiSerializerService Maven / Gradle / Ivy

Go to download

Automated JSON API documentation for async APIs (Kafka etc.) interfaces built with Spring

There is a newer version: 1.9.0
Show newest version
package io.github.stavshamir.springwolf.asyncapi;

import com.fasterxml.jackson.core.JsonProcessingException;
import io.github.stavshamir.springwolf.asyncapi.types.AsyncAPI;

public interface AsyncApiSerializerService {

    String toJsonString(AsyncAPI asyncAPI) throws JsonProcessingException;

    default String toYaml(AsyncAPI asyncAPI) throws JsonProcessingException {
        throw new UnsupportedOperationException("The 'toYaml' method is not implemented");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy