Migration guide

Migrate from OpenAPI Generator to Octri

The move starts from two things your build already has: the spec you generate from, and the package names in your generator config.

Written by Octri · Checked 25 October 2026

What to have to hand

Your OpenAPI file, and your Markdown in a GitHub repository. Everything else is set in API Studio and SDK Studio.

  • openapi.yaml
  • config.yaml

What comes across

OpenAPI Generator has no config for Octri to read, so the move runs on files you already have. Rows marked “By hand” are what is left for you.

WhatIn OctriFrom OpenAPI Generator
SDKsOne repository per language, generated for youYour OpenAPI file
Package namesSDK package settingspackageName or npmName, by hand
Templates and patchesCustom code in the SDK repositoryBy hand
API referenceA page for every endpoint, written for youYour OpenAPI file

Step by step

  1. Bring the spec

    Sign up and upload the OpenAPI file you pass to -i, or connect the repository it lives in. Octri scores the spec and writes a reference page for every endpoint.

  2. Set the packages

    Pick your languages and enter the package names from your generator config, such as packageName or npmName. Octri generates each SDK, with its tests and mock server, into a repository of its own.

  3. Move your patches

    Code you patch in after each run, or carry in custom templates, moves into the SDK repository, where custom code is kept through each regeneration by a normal merge.

  4. Release

    Publish the first Octri version as a new major version, since method names and types change, then retire the CI job that ran the generator. Each merged spec change regenerates and releases from then on.

Questions

Yes. Octri generates the client libraries, docs and MCP server, so keep OpenAPI Generator for server stubs if you use them. Both read the same spec.

Still deciding?

The comparison sets Octri against OpenAPI Generator row by row, from each product’s own pages, with Octri’s prices beside them.

Try it on your own spec

Bring what you have from OpenAPI Generator on the Free plan and see your reference written and your first SDK built.