docs(api): add OpenAPI stability warning (#1321)

This commit is contained in:
Zach
2026-05-14 18:16:52 -04:00
committed by GitHub
parent 48a5f5f43c
commit c0b56583fe
2 changed files with 12 additions and 2 deletions
@@ -24,7 +24,10 @@ class OpenApiConfigIntegrationTest {
OpenAPI openAPI = context.getBean(OpenAPI.class);
assertThat(openAPI.getInfo().getTitle()).isEqualTo("Grimmory API");
assertThat(openAPI.getInfo().getDescription())
.isEqualTo("REST API documentation for managing libraries, readers, metadata, and device integrations in Grimmory.");
.startsWith("> [!warning]\n> This documentation is auto-generated and public, but the API is unstable")
.contains("https://github.com/grimmory-tools/grimmory")
.contains("https://discord.gg/9YJ7HB4n8T")
.endsWith("REST API documentation for managing libraries, readers, metadata, and device integrations in Grimmory.\n");
assertThat(openAPI.getInfo().getVersion()).isEqualTo("9.9.9-test");
assertThat(openAPI.getInfo().getContact().getName()).isEqualTo("Grimmory");
assertThat(openAPI.getInfo().getContact().getUrl())