File

src/module/information/information.controller.ts

Prefix

information

Index

Methods

Methods

Async getHandbookURL
getHandbookURL()
Decorators :
@Get('/handbook-url')
Returns : Promise<string>
Async getVersion
getVersion()
Decorators :
@Get('/version')
Returns : Promise<string>
import { Controller, Get } from '@nestjs/common';
import { InformationService } from './information.service';

@Controller('information')
export class InformationController {
    constructor(private readonly informationService: InformationService) {}

    @Get('/version')
    async getVersion(): Promise<string> {
        return this.informationService.getVersion();
    }

    @Get('/handbook-url')
    async getHandbookURL(): Promise<string> {
        return this.informationService.getHandbookUrl();
    }
}

results matching ""

    No results matching ""