ng-openapi-gen: how to generate only one method per endpoint

Discussão em 'Angular' iniciado por Chriss, Fevereiro 13, 2025.

  1. Chriss

    Chriss Guest

    the generator, produced 4 methods:

    getById$Plain$Response():Observable<StrictHttpResponse<JsonData>>
    getById$Plain():Observable<JsonData>
    getById$Json$Response():Observable<StrictHttpResponse<JsonData>>
    getById$Json():Observable<JsonData>


    but we only need one, that should have a signature like:

    getById():Observable<JsonData>


    Can this be configured somehow?

    Same question in github

    Continue reading...

Compartilhe esta Página