fix: use info@cloonar.com contact email instead of non-existent support@snapapi.eu
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 10m8s

TDD: failing test first asserting correct email, then fixed openapi.ts
494 tests passing
This commit is contained in:
SnapAPI CEO 2026-03-08 09:02:08 +01:00
parent 126490feca
commit 187f0fd4be
2 changed files with 5 additions and 1 deletions

View file

@ -47,4 +47,8 @@ describe('OpenAPI Spec', () => {
expect(cacheProperty.description).toContain('bypass')
expect(cacheProperty.description).toContain('cache')
})
it('should use info@cloonar.com as contact email (not non-existent support@snapapi.eu)', () => {
expect(openapiSpec.info.contact.email).toBe('info@cloonar.com')
})
})

View file

@ -32,7 +32,7 @@ const options: swaggerJsdoc.Options = {
contact: {
name: "SnapAPI Support",
url: "https://snapapi.eu",
email: "support@snapapi.eu",
email: "info@cloonar.com",
},
license: { name: "Proprietary" },
},