Skip to content

fix: make local OpenAPI generation use PostgreSQL - #1721

Open
jeeeeetshahhhhh wants to merge 1 commit into
PokeAPI:masterfrom
jeeeeetshahhhhh:fix/local-postgres-openapi-generation
Open

jeeeeetshahhhhh wants to merge 1 commit into
PokeAPI:masterfrom
jeeeeetshahhhhh:fix/local-postgres-openapi-generation

Conversation

@jeeeeetshahhhhh

@jeeeeetshahhhhh jeeeeetshahhhhh commented Nov 12, 2026 •

Copy link
Copy Markdown

Summary

  • add local PostgreSQL settings with environment-based connection parameters
  • add make openapi-generate-postgres for schema generation against PostgreSQL
  • document the command and defaults

This addresses #1623: SQLite reports wider integer bounds than PostgreSQL, causing locally regenerated OpenAPI schemas to differ from the checked-in schema.

Validation

  • python3 -m compileall -q config/local_postgres.py
  • git diff --check

I could not run Ruff because uv is not installed in this environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant