Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ running as a public beta at

<img width="1510" height="858" alt="Screenshot OSeM" src="https://github.com/user-attachments/assets/70da4cff-1751-4a13-89e8-607a5198df37">


## Project setup

If you do need to set the project up locally yourself, feel free to follow these
Expand Down Expand Up @@ -163,11 +162,10 @@ flexibility to adjust the outputs to the needs of the respective use case.

##### Documenting an API Route

API route documentation is generated from route-local `zod-openapi`
definitions. Each API route can export an `openapi` object that describes the
route's OpenAPI path item. Request bodies, response bodies, path parameters,
query parameters, and headers should be described with Zod schemas wherever
possible.
API route documentation is generated from route-local `zod-openapi` definitions.
Each API route can export an `openapi` object that describes the route's OpenAPI
path item. Request bodies, response bodies, path parameters, query parameters,
and headers should be described with Zod schemas wherever possible.

The main benefit of this approach is that schemas can be shared between
validation and documentation. This keeps the OpenAPI documentation closer to the
Expand Down
11 changes: 11 additions & 0 deletions app/db/drizzle/0046_flowery_blacklash.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
CREATE TABLE "rate_limit_grant" (
"id" text PRIMARY KEY NOT NULL,
"kind" text NOT NULL,
"value" text NOT NULL,
"tier" text NOT NULL,
"enabled" boolean DEFAULT true NOT NULL,
"note" text,
"expires_at" timestamp with time zone,
"created_at" timestamp with time zone DEFAULT now() NOT NULL,
"updated_at" timestamp with time zone DEFAULT now() NOT NULL
);
Loading
Loading