This samples shows how to retrieve a list of collections. The source is generated on the fly with the openapi-generator-maven-plugin available from Maven Central.
Build with
mvn install
Create a new API token in the Span dashboard and run the sample with
java -jar target/target/collection-sample-1.0.0.jar [API token]