Skip to content

✨ Add OpenAPI examples to speed up integration and contributor onboar…#663

Merged
Cedarich merged 1 commit into
Pulsefy:mainfrom
datagerl:feature/add-openapi-examples
Jun 27, 2026
Merged

✨ Add OpenAPI examples to speed up integration and contributor onboar…#663
Cedarich merged 1 commit into
Pulsefy:mainfrom
datagerl:feature/add-openapi-examples

Conversation

@datagerl

Copy link
Copy Markdown
Contributor

his PR adds comprehensive OpenAPI examples to all API schemas including:

  • AnchorMetadata examples in all requests/responses

  • Success case examples

  • Error case examples (like 422 validation errors)
    This will make Swagger UI much more user-friendly for contributors and integrators! 🎉
    Changes made :

  • Added model_config with json_schema_extra.examples to all schemas

  • Added Field(examples=[...]) to individual fields

closes #620

@vercel

vercel Bot commented Jun 27, 2026

Copy link
Copy Markdown

@datagerl is attempting to deploy a commit to the Cedarich's projects Team on Vercel.

A member of the Team first needs to authorize it.

@Cedarich Cedarich merged commit 103d73e into Pulsefy:main Jun 27, 2026
7 of 8 checks passed
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.

Add OpenAPI Examples for Key Routes

2 participants