Closed
Conversation
Add comprehensive type mapping functionality to convert OpenAPI/JSON Schema types to Postgres types with indexing optimization. This implements Task 002 from the dynamic schema generation project. Key features: - Maps all OpenAPI types to appropriate Postgres types (text, bigint, jsonb, etc.) - Handles special Stripe field conventions (id, object, metadata, timestamps) - Distinguishes between simple arrays (text[]) and complex arrays (jsonb) - Provides indexing recommendations for each column type - Supports table naming conventions with pluralization - Comprehensive unit and integration tests The type mapper works with the existing OpenAPI parser to enable dynamic table generation from any Stripe API version specification. All generated columns are designed to be indexable by users for optimal query performance. Committed-By-Agent: claude
Add 17 unit tests covering all TableGenerator functionality: - CREATE TABLE generation with various column types - Schema evolution with ALTER TABLE ADD COLUMN - Table naming conventions and pluralization - Indexing recommendations for common fields - Error handling for invalid objects - Custom schema name support All tests passing. Completes Task 003 requirements. Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com> Committed-By-Agent: claude
Committed-By-Agent: claude
Add a new /schema page to the dashboard that visualizes PostgreSQL table schemas generated from Stripe's OpenAPI specification using React Flow. Features: - Interactive canvas with pan/zoom and drag-and-drop table positioning - Automatic dagre-based layout for clean table arrangement - FK relationship detection and visualization with labeled edges - PK (orange) and FK (purple) badges on columns - API version selector dropdown (currently supports "current" version) - MiniMap for navigation on large schemas The visualizer fetches Stripe's OpenAPI spec, parses it to extract common object types (customer, subscription, invoice, etc.), and renders them as draggable table cards showing column names, types, and nullability. Committed-By-Agent: claude
Yostra
reviewed
Feb 17, 2026
Collaborator
Yostra
left a comment
There was a problem hiding this comment.
Did you try the OpenAPITools schema generator? It would be nice if it worked (reduce the maintenance surface area).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.