Skip to content

Instantly share code, notes, and snippets.

View ChrisMGeo's full-sized avatar

Chris George ChrisMGeo

View GitHub Profile
@ChrisMGeo
ChrisMGeo / skipValidateSpec.log
Created May 13, 2026 15:50
Better Auth OpenAPI Client generation issue
❯ openapi-generator-cli.cmd generate -i http://localhost:8787/api/auth/open-api/generate-schema -o ts\better-auth-openapi-trial -g typescript-node --skip-validate-spec
WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::objectFieldOffset has been called by com.github.benmanes.caffeine.cache.UnsafeAccess (file:/C:/Users/chris/scoop/apps/openapi-generator-cli/7.22.0/openapi-generator-cli.jar)
WARNING: Please consider reporting this to the maintainers of class com.github.benmanes.caffeine.cache.UnsafeAccess
WARNING: sun.misc.Unsafe::objectFieldOffset will be removed in a future release
[main] WARN o.o.c.config.CodegenConfigurator - There were issues with the specification, but validation has been explicitly disabled.
Errors:
-paths.'/callback/{id}'. Declared path parameter id needs to be defined as a path parameter in path or operation level
-attribute paths.'/get-session'(post).operationId is repeated
-attribute paths.'/get-session'(post)