Nog CLI Developer Guide - v0.11.0
    Preparing search index...

    Represents a NestJS service class in the IR. Each IrService corresponds to one generated service file containing HTTP client methods.

    interface IrService {
        fileName: string;
        name: string;
        operations: Map<string, IrOperation>;
    }
    Index

    Properties

    fileName: string

    The generated file basename (without .ts extension). Always ends with .service. Computed once in the IR converter so writers and the barrel index reference a single source of truth and never re-derive it.

    'default.service' (writer emits `default.service.ts`)
    
    'account-visibility.service' (writer emits `account-visibility.service.ts`)
    
    name: string

    The service class name in PascalCase.

    'DefaultService'
    
    'UsersService'
    
    operations: Map<string, IrOperation>

    Map of operation IDs to their IR representations. Each operation becomes a method pair in the generated service (Observable and Promise variants). Key: operationId from OpenAPI Value: IrOperation containing method details