io.github.stavshamir.springwolf.asyncapi.AsyncApiCustomizer 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 io.github.stavshamir.springwolf.asyncapi.types.AsyncAPI;
/**
* Allows to modify the final AsyncApi document after it has been generated.
*
* There is no check that the document is still AsyncApi conform after any applied modification.
*
* This is a low level API. The AsyncApi class may change during versions and break your customizers.
*
* When you feel the need to use this, we like to hear from you.
* Ideally we upstream your changes into the main project,
* so that your customizer does not break and other people can benefit as well.
*/
public interface AsyncApiCustomizer {
/**
* Customize the AsyncApi document in-place using its setter methods.
*
* @param asyncAPI The Springwolf AsyncApi class
*/
void customize(AsyncAPI asyncAPI);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy