Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: generate integrations #428

Merged
merged 2 commits into from
Nov 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/silly-penguins-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@ladesa-ro/api-client-fetch": patch
"@ladesa-ro/api.integrations.openapi-json": patch
---

chore: generate integrations
change(diario-professor/controller): tag diarios-professores
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import { CalendariosLetivosService } from "./services.gen";
import { CampiService } from "./services.gen";
import { CidadesService } from "./services.gen";
import { CursosService } from "./services.gen";
import { DiarioProfessorService } from "./services.gen";
import { DiariosService } from "./services.gen";
import { DiariosPreferenciaAgrupamentoService } from "./services.gen";
import { DiariosProfessoresService } from "./services.gen";
import { DiasCalendariosService } from "./services.gen";
import { DisciplinasService } from "./services.gen";
import { DisponibilidadesService } from "./services.gen";
Expand Down Expand Up @@ -50,9 +50,9 @@ export class LadesaApiClient {
public readonly campi: CampiService;
public readonly cidades: CidadesService;
public readonly cursos: CursosService;
public readonly diarioProfessor: DiarioProfessorService;
public readonly diarios: DiariosService;
public readonly diariosPreferenciaAgrupamento: DiariosPreferenciaAgrupamentoService;
public readonly diariosProfessores: DiariosProfessoresService;
public readonly diasCalendarios: DiasCalendariosService;
public readonly disciplinas: DisciplinasService;
public readonly disponibilidades: DisponibilidadesService;
Expand Down Expand Up @@ -103,9 +103,9 @@ export class LadesaApiClient {
this.campi = new CampiService(this.request);
this.cidades = new CidadesService(this.request);
this.cursos = new CursosService(this.request);
this.diarioProfessor = new DiarioProfessorService(this.request);
this.diarios = new DiariosService(this.request);
this.diariosPreferenciaAgrupamento = new DiariosPreferenciaAgrupamentoService(this.request);
this.diariosProfessores = new DiariosProfessoresService(this.request);
this.diasCalendarios = new DiasCalendariosService(this.request);
this.disciplinas = new DisciplinasService(this.request);
this.disponibilidades = new DisponibilidadesService(this.request);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3222,7 +3222,7 @@ export class DiariosService {
}
}

export class DiarioProfessorService {
export class DiariosProfessoresService {
constructor(public readonly httpRequest: BaseHttpRequest) {}

/**
Expand All @@ -3240,7 +3240,7 @@ export class DiarioProfessorService {
public diarioProfessorList(data: DiarioProfessorListData = {}): CancelablePromise<DiarioProfessorListResponse> {
return this.httpRequest.request({
method: "GET",
url: "/diario-professor",
url: "/diarios-professores",
query: {
page: data.page,
limit: data.limit,
Expand All @@ -3266,7 +3266,7 @@ export class DiarioProfessorService {
public diarioProfessorCreate(data: DiarioProfessorCreateData): CancelablePromise<DiarioProfessorCreateResponse> {
return this.httpRequest.request({
method: "POST",
url: "/diario-professor",
url: "/diarios-professores",
body: data.requestBody,
mediaType: "application/json",
errors: {
Expand All @@ -3286,7 +3286,7 @@ export class DiarioProfessorService {
public diarioProfessorFindOneById(data: DiarioProfessorFindOneByIdData): CancelablePromise<DiarioProfessorFindOneByIdResponse> {
return this.httpRequest.request({
method: "GET",
url: "/diario-professor/{id}",
url: "/diarios-professores/{id}",
path: {
id: data.id,
},
Expand All @@ -3308,7 +3308,7 @@ export class DiarioProfessorService {
public diarioProfessorUpdateOneById(data: DiarioProfessorUpdateOneByIdData): CancelablePromise<DiarioProfessorUpdateOneByIdResponse> {
return this.httpRequest.request({
method: "PATCH",
url: "/diario-professor/{id}",
url: "/diarios-professores/{id}",
path: {
id: data.id,
},
Expand All @@ -3331,7 +3331,7 @@ export class DiarioProfessorService {
public diarioProfessorDeleteOneById(data: DiarioProfessorDeleteOneByIdData): CancelablePromise<DiarioProfessorDeleteOneByIdResponse> {
return this.httpRequest.request({
method: "DELETE",
url: "/diario-professor/{id}",
url: "/diarios-professores/{id}",
path: {
id: data.id,
},
Expand Down
14 changes: 7 additions & 7 deletions integrations/openapi-json/generated.json
Original file line number Diff line number Diff line change
Expand Up @@ -7563,7 +7563,7 @@
"tags": ["diarios"]
}
},
"/diario-professor": {
"/diarios-professores": {
"get": {
"description": "Sem descrição.",
"operationId": "DiarioProfessorList",
Expand Down Expand Up @@ -7673,7 +7673,7 @@
}
],
"summary": "",
"tags": ["diario-professor"]
"tags": ["diarios-professores"]
},
"post": {
"description": "Sem descrição.",
Expand Down Expand Up @@ -7717,10 +7717,10 @@
}
],
"summary": "",
"tags": ["diario-professor"]
"tags": ["diarios-professores"]
}
},
"/diario-professor/{id}": {
"/diarios-professores/{id}": {
"get": {
"description": "Sem descrição.",
"operationId": "DiarioProfessorFindOneById",
Expand Down Expand Up @@ -7767,7 +7767,7 @@
}
],
"summary": "",
"tags": ["diario-professor"]
"tags": ["diarios-professores"]
},
"patch": {
"description": "Sem descrição.",
Expand Down Expand Up @@ -7827,7 +7827,7 @@
}
],
"summary": "",
"tags": ["diario-professor"]
"tags": ["diarios-professores"]
},
"delete": {
"description": "Sem descrição.",
Expand Down Expand Up @@ -7875,7 +7875,7 @@
}
],
"summary": "",
"tags": ["diario-professor"]
"tags": ["diarios-professores"]
}
},
"/aulas": {
Expand Down