Skip to content

Commit

Permalink
Merge pull request #428 from ladesa-ro/robozinho-do-ladesa/generated-…
Browse files Browse the repository at this point in the history
…integrations

chore: generate integrations
  • Loading branch information
guesant authored Nov 30, 2024
2 parents 6aafb56 + 2d1fba4 commit f8116cd
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 16 deletions.
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

0 comments on commit f8116cd

Please sign in to comment.