younifyd
← All articles
Tutorial5 min read

OpenAPI import: from spec to a running workflow in minutes

y

The younifyd team

July 4, 2026 · younifyd.com

If you have an OpenAPI 3.x spec, younifyd can import it and scaffold your routes automatically. You get pre-configured endpoints, input schemas, and authentication settings — without starting from a blank canvas. This post walks through the import flow, how to customize the generated workflow, and common pitfalls to avoid.

Importing your spec

From the younifyd dashboard, click Import → OpenAPI. Paste your spec URL or upload a file. younifyd parses the spec and presents a list of operations — you select which ones to import and they become workflow routes. Each route gets the path parameters, query string, and request body schema from the spec, pre-wired as validation rules.

# imported from openapi.yaml
GET /v2/products/{id} → ✓ imported
GET /v2/products/search → ✓ imported
POST /v2/orders → ✓ imported
DELETE /v2/orders/{id} → skipped
auth: bearer (from securitySchemes)

What gets generated automatically

younifyd creates: a route for each imported operation, input validation from the spec's request schema, a connector call to the upstream service (using the server URL from the spec), and auth configuration from the spec's securitySchemes. You get a working proxy workflow that validates inputs and forwards requests — ready to extend with caching, transformations, and parallel steps.

Customizing the generated workflow

The imported workflow is a starting point, not a final state. Common customizations: add a parallel step to enrich responses from a second service, add field masking to redact sensitive fields from logs, change the auth scheme if your gateway uses a different mechanism than your upstream service, and add a transformation step to rename or reshape fields for your clients.

Common pitfalls

The most common issues are: specs with allOf/anyOf schema composition (younifyd flattens these — review the generated validation), specs that reference external $ref files (upload them together or resolve references first), and specs with OAuth flows that don't match your gateway's token format. The import preview shows any warnings before you commit — read them before importing.

Import your OpenAPI spec

Paste a spec URL and have working routes in minutes. Free to start.

Try for Free