How to set basePath with openapi-generator-cli 7.12.0

Discussão em 'Angular' iniciado por Fabi, Setembro 15, 2025.

  1. Fabi

    Fabi Guest

    Hey i have following openapitools.json

    {
    "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json",
    "spaces": 4,
    "generator-cli": {
    "version": "7.12.0",
    "generators": {
    "angular": {
    "generatorName": "typescript-angular",
    "glob": "../backend/../**/*.yaml",
    "output": "libs/shared/openAPI/src/generated",
    "additionalProperties": {
    "ngVersion": "19.0.0",
    "enumPropertyNaming": "UPPERCASE",
    "stringEnums": true,
    "basePath": "/api"
    },
    "typeMappings": {
    "UUID": "UUID"
    },
    "importMappings": {
    "UUID": "@decaf/shared/types"
    }
    }
    }
    }
    }



    This does not work with Version 7.12.0 but if i change it to 7.11.0 it works. They need to be breaking changes in the newer version but i cant find it in the docu.

    Tried Version 7.11.0 -> Works Read openapi-generator releases changes

    Continue reading...

Compartilhe esta Página