Skip to content

Unreleased version from main branch #2672

Description

@janarmannistu-stack

openapi-typescript version

7.13.0

Node.js version

22.22.0

OS + version

macOS 26.3

Description

Hi,

In documentation there is said that CLI flags can be passed in redocly.yaml, but it seems to not work. It seems that the code is merged to main branch but is not released as the code was merged 2 weeks ago 27.02.2026 but the last release for openapi-typescript was 11.02.2026. Are there plans to create a release or some workarounds?

Reproduction

Create a new project and try to use CLI flags in redocly.yaml

apis:
  myApi@v1:
    root: https://myApi/docs
    x-openapi-ts:
      output: ./apiSchema.ts
      properties-required-by-default: true

Expected result

Running with npx openapi-typescript should produce output where properties are required by default. It works when I pass the flag via CLI, but since I have multiple API-s and schemas I need to granually control each API flags.

Required

  • My OpenAPI schema is valid and passes the Redocly validator (npx @redocly/cli@latest lint)

Extra

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingopenapi-tsRelevant to the openapi-typescript library

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions