Minor cleanup

This commit is contained in:
Thom Werring 2023-10-21 13:59:58 +02:00
parent b3ce5808b1
commit 8782242b10
3 changed files with 13 additions and 13 deletions

View file

@ -1,6 +1,6 @@
import { Controller, Get } from "@nestjs/common";
import { AppService } from "@/app.service";
import { ApiExtraModels, ApiOkResponse, ApiTags, getSchemaPath } from "@nestjs/swagger";
import { ApiExcludeEndpoint, ApiExtraModels, ApiOkResponse, ApiTags, getSchemaPath } from "@nestjs/swagger";
import { SkillsService } from "@/skills/skills.service";
import { ExperiencesService } from "@/experiences/experiences.service";
import { SkillDto } from "@/skills/skills.types";
@ -8,11 +8,13 @@ import { SkillDto } from "@/skills/skills.types";
@Controller()
@ApiExtraModels(SkillDto)
export class AppController {
constructor(private readonly appService: AppService, private readonly skillsService: SkillsService, private readonly experiencesService: ExperiencesService) {}
constructor(private readonly appService: AppService, private readonly skillsService: SkillsService, private readonly experiencesService: ExperiencesService) {
}
@Get()
@ApiExcludeEndpoint()
sayHello(): string {
return this.appService.getHello();
return this.appService.sayHello();
}
@Get("skills")

View file

@ -2,7 +2,7 @@ import { Injectable } from '@nestjs/common';
@Injectable()
export class AppService {
getHello(): string {
sayHello(): string {
return 'Hello World!';
}
}

View file

@ -9,16 +9,15 @@ async function bootstrap() {
const config = new DocumentBuilder()
.setTitle("Thom Werring - CV")
.setDescription("Westerstraat 83<br/>1521ZB, Wormerveer<br/><a href='tel:+31637650849'>+31 6 37 65 08 49</a>")
.addApiKey({
type: "apiKey",
name: "Authorization",
bearerFormat: "bearer",
}, "Credentials")
// .addApiKey({
// type: "apiKey",
// name: "Authorization",
// bearerFormat: "bearer",
// }, "Credentials")
.setVersion("1.0.0a")
.setContact("Thom Werring", null, "cv@t-werring.nl")
.addTag("Skills",
`<p>
I'm a software lead with 5+ years of experience in cloud-native development and Agile/Scrum methodologies. I'm passionate about building and leading high-performing teams to deliver scalable and reliable cloud-based applications. I have a proven track record of success in using Node.js, TypeScript, JavaScript, Docker, Kubernetes, AWS, DevOps, Git, microservices, and HAProxy to create and deploy innovative solutions.<br/>
`<p>I'm a software lead with 5+ years of experience in cloud-native development and Agile/Scrum methodologies. I'm passionate about building and leading high-performing teams to deliver scalable and reliable cloud-based applications. I have a proven track record of success in using Node.js, TypeScript, JavaScript, Docker, Kubernetes, AWS, DevOps, Git, microservices, and HAProxy to create and deploy innovative solutions.<br/>
I'm also a strong communicator and collaborator, and I'm always looking for ways to improve my skills and knowledge. I'm excited about the future of cloud computing, and I'm eager to use my skills and experience to help others achieve their goals.
</p>
`)
@ -56,7 +55,6 @@ async function bootstrap() {
},
sortPropsAlphabetically: true,
hideDownloadButton: false,
hideHostname: true,
tagGroups: [
{
@ -65,7 +63,7 @@ async function bootstrap() {
},
{
name: 'Experience',
tags: ['Saysimple', 'Blackorange', 'Werring webdevelopment'],
tags: ['Experience', 'Saysimple', 'Blackorange', 'Werring webdevelopment'],
},
],
};