docs/modules/openfga.md
Testcontainers module for OpenFGA.
You can start an OpenFGA container instance from any Java application by using:
<!--codeinclude-->OpenFGA container inside_block:container
<!--/codeinclude-->Add the following dependency to your pom.xml/build.gradle file:
=== "Gradle"
groovy testImplementation "org.testcontainers:testcontainers-openfga:{{latest_version}}"
=== "Maven"
xml <dependency> <groupId>org.testcontainers</groupId> <artifactId>testcontainers-openfga</artifactId> <version>{{latest_version}}</version> <scope>test</scope> </dependency>