io.github.stavshamir.springwolf.asyncapi.AsyncApiSerializerService Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of springwolf-core Show documentation
Show all versions of springwolf-core Show documentation
Automated JSON API documentation for async APIs (Kafka etc.) interfaces built with Spring
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