-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclient.generate.nswag
100 lines (100 loc) · 52.4 KB
/
client.generate.nswag
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"runtime": "Net50",
"defaultVariables": null,
"documentGenerator": {
"fromDocument": {
"json": "{\r\n \"x-generator\": \"NSwag v13.9.4.0 (NJsonSchema v10.3.1.0 (Newtonsoft.Json v11.0.0.0))\",\r\n \"swagger\": \"2.0\",\r\n \"info\": {\r\n \"title\": \"My Title\",\r\n \"version\": \"1.0.0\"\r\n },\r\n \"host\": \"192.168.0.10\",\r\n \"schemes\": [\r\n \"http\"\r\n ],\r\n \"paths\": {\r\n \"/api/DataGen/employees\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DataGen\"\r\n ],\r\n \"summary\": \"Generates employees and insert them to database.\",\r\n \"operationId\": \"DataGen_GenerateEmployees\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"count\",\r\n \"in\": \"query\",\r\n \"description\": \"Amount.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Employees.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DataGen/parents\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DataGen\"\r\n ],\r\n \"summary\": \"Generates parents and insert them to database.\",\r\n \"operationId\": \"DataGen_GenerateParents\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"count\",\r\n \"in\": \"query\",\r\n \"description\": \"Amount.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Parents.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ParentDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DifficultyLevel\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DifficultyLevel\"\r\n ],\r\n \"summary\": \"Get all the difficulty levels.\",\r\n \"operationId\": \"DifficultyLevel_GetAllAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Difficulty levels.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DifficultyLevelDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"DifficultyLevel\"\r\n ],\r\n \"summary\": \"Adds difficulty levels.\",\r\n \"operationId\": \"DifficultyLevel_Add\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DifficultyLevelDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DifficultyLevelDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"DifficultyLevel\"\r\n ],\r\n \"summary\": \"Updates Difficulty levels.\",\r\n \"operationId\": \"DifficultyLevel_Update\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DifficultyLevelDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DifficultyLevelDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DifficultyLevel/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DifficultyLevel\"\r\n ],\r\n \"summary\": \"Get the difficulty level.\",\r\n \"operationId\": \"DifficultyLevel_Get\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Difficulty level.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/DifficultyLevelDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"DifficultyLevel\"\r\n ],\r\n \"summary\": \"Deletes the Difficulty levels.\",\r\n \"operationId\": \"DifficultyLevel_Delete\",\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id.\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/DifficultyLevel/getAll\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"DifficultyLevel\"\r\n ],\r\n \"summary\": \"Get all the difficulty levels.\",\r\n \"operationId\": \"DifficultyLevel_GetAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"page\",\r\n \"in\": \"query\",\r\n \"description\": \"Page number.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n },\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"pageSize\",\r\n \"in\": \"query\",\r\n \"description\": \"Page size.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Difficulty levels.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/DifficultyLevelDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Employee\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Employee\"\r\n ],\r\n \"summary\": \"Get all the employees.\",\r\n \"operationId\": \"Employee_GetAllAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Employees.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"Employee\"\r\n ],\r\n \"summary\": \"Adds Employee.\",\r\n \"operationId\": \"Employee_Add\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Employee\"\r\n ],\r\n \"summary\": \"Updates Employee.\",\r\n \"operationId\": \"Employee_Update\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Employee/getAll\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Employee\"\r\n ],\r\n \"summary\": \"Get all the employees.\",\r\n \"operationId\": \"Employee_GetAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"page\",\r\n \"in\": \"query\",\r\n \"description\": \"Page number.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n },\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"pageSize\",\r\n \"in\": \"query\",\r\n \"description\": \"Page size.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Employees.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Employee/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Employee\"\r\n ],\r\n \"summary\": \"Get the employee level.\",\r\n \"operationId\": \"Employee_Get\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Employee.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"Employee\"\r\n ],\r\n \"summary\": \"Deletes the Employee.\",\r\n \"operationId\": \"Employee_Delete\",\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id.\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Exercise\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Exercise\"\r\n ],\r\n \"summary\": \"Get all the exercises.\",\r\n \"operationId\": \"Exercise_GetAllAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Exercises.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ExerciseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"Exercise\"\r\n ],\r\n \"summary\": \"Adds exercise.\",\r\n \"operationId\": \"Exercise_Add\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ExerciseDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ExerciseDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Exercise\"\r\n ],\r\n \"summary\": \"Updates exercise.\",\r\n \"operationId\": \"Exercise_Update\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ExerciseDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ExerciseDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Exercise/getAll\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Exercise\"\r\n ],\r\n \"summary\": \"Get all the exercises.\",\r\n \"operationId\": \"Exercise_GetAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"page\",\r\n \"in\": \"query\",\r\n \"description\": \"Page number.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n },\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"pageSize\",\r\n \"in\": \"query\",\r\n \"description\": \"Page size.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Exercises.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ExerciseDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Exercise/{id}\": {\r\n \"delete\": {\r\n \"tags\": [\r\n \"Exercise\"\r\n ],\r\n \"summary\": \"Deletes the exercises.\",\r\n \"operationId\": \"Exercise_Delete\",\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id.\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Lesson\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Lesson\"\r\n ],\r\n \"summary\": \"Get all the lessons.\",\r\n \"operationId\": \"Lesson_GetAllAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Lessons.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/LessonDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"Lesson\"\r\n ],\r\n \"summary\": \"Adds Lesson.\",\r\n \"operationId\": \"Lesson_Add\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/LessonDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/LessonDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Lesson\"\r\n ],\r\n \"summary\": \"Updates Lesson.\",\r\n \"operationId\": \"Lesson_Update\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/LessonDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/LessonDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Lesson/getAll\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Lesson\"\r\n ],\r\n \"summary\": \"Get all the lessons.\",\r\n \"operationId\": \"Lesson_GetAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"page\",\r\n \"in\": \"query\",\r\n \"description\": \"Page number.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n },\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"pageSize\",\r\n \"in\": \"query\",\r\n \"description\": \"Page size.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Lessons.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/LessonDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Lesson/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Lesson\"\r\n ],\r\n \"summary\": \"Get the lesson.\",\r\n \"operationId\": \"Lesson_Get\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Lesson.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/LessonDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"Lesson\"\r\n ],\r\n \"summary\": \"Deletes the Lesson.\",\r\n \"operationId\": \"Lesson_Delete\",\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id.\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Parent\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Parent\"\r\n ],\r\n \"summary\": \"Get all the parents.\",\r\n \"operationId\": \"Parent_GetAllAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Parents.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ParentDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"Parent\"\r\n ],\r\n \"summary\": \"Adds Parent.\",\r\n \"operationId\": \"Parent_Add\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ParentDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ParentDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Parent\"\r\n ],\r\n \"summary\": \"Updates Parent.\",\r\n \"operationId\": \"Parent_Update\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ParentDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ParentDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Parent/getAll\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Parent\"\r\n ],\r\n \"summary\": \"Get all the parents.\",\r\n \"operationId\": \"Parent_GetAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"page\",\r\n \"in\": \"query\",\r\n \"description\": \"Page number.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n },\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"pageSize\",\r\n \"in\": \"query\",\r\n \"description\": \"Page size.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Parents.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ParentDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Parent/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Parent\"\r\n ],\r\n \"summary\": \"Get the parent level.\",\r\n \"operationId\": \"Parent_Get\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Parent.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/ParentDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"Parent\"\r\n ],\r\n \"summary\": \"Deletes the Parent.\",\r\n \"operationId\": \"Parent_Delete\",\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id.\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Pupil\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Pupil\"\r\n ],\r\n \"summary\": \"Get all the pupils.\",\r\n \"operationId\": \"Pupil_GetAllAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Pupils.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/PupilDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"Pupil\"\r\n ],\r\n \"summary\": \"Adds Pupil.\",\r\n \"operationId\": \"Pupil_Add\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PupilDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PupilDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Pupil\"\r\n ],\r\n \"summary\": \"Updates Pupil.\",\r\n \"operationId\": \"Pupil_Update\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PupilDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PupilDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Pupil/getAll\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Pupil\"\r\n ],\r\n \"summary\": \"Get all the pupils.\",\r\n \"operationId\": \"Pupil_GetAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"page\",\r\n \"in\": \"query\",\r\n \"description\": \"Page number.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n },\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"pageSize\",\r\n \"in\": \"query\",\r\n \"description\": \"Page size.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Pupils.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/PupilDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Pupil/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Pupil\"\r\n ],\r\n \"summary\": \"Get the pupil.\",\r\n \"operationId\": \"Pupil_Get\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Pupil.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/PupilDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"Pupil\"\r\n ],\r\n \"summary\": \"Deletes the Pupil.\",\r\n \"operationId\": \"Pupil_Delete\",\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id.\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Skill\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Skill\"\r\n ],\r\n \"summary\": \"Get all the skills.\",\r\n \"operationId\": \"Skill_GetAllAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Skills.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/SkillDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"post\": {\r\n \"tags\": [\r\n \"Skill\"\r\n ],\r\n \"summary\": \"Adds Skill.\",\r\n \"operationId\": \"Skill_Add\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SkillDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SkillDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"put\": {\r\n \"tags\": [\r\n \"Skill\"\r\n ],\r\n \"summary\": \"Updates Skill.\",\r\n \"operationId\": \"Skill_Update\",\r\n \"consumes\": [\r\n \"application/json\",\r\n \"text/json\",\r\n \"application/*+json\"\r\n ],\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"name\": \"dto\",\r\n \"in\": \"body\",\r\n \"required\": true,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SkillDto\"\r\n },\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Dto.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SkillDto\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Skill/getAll\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Skill\"\r\n ],\r\n \"summary\": \"Get all the skills.\",\r\n \"operationId\": \"Skill_GetAll\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"page\",\r\n \"in\": \"query\",\r\n \"description\": \"Page number.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n },\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"pageSize\",\r\n \"in\": \"query\",\r\n \"description\": \"Page size.\",\r\n \"format\": \"int32\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Skills.\",\r\n \"schema\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/SkillDto\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Skill/{id}\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Skill\"\r\n ],\r\n \"summary\": \"Get the skill.\",\r\n \"operationId\": \"Skill_Get\",\r\n \"produces\": [\r\n \"text/plain\",\r\n \"application/json\",\r\n \"text/json\"\r\n ],\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id.\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": false,\r\n \"description\": \"Skill.\",\r\n \"schema\": {\r\n \"$ref\": \"#/definitions/SkillDto\"\r\n }\r\n }\r\n }\r\n },\r\n \"delete\": {\r\n \"tags\": [\r\n \"Skill\"\r\n ],\r\n \"summary\": \"Deletes the skill.\",\r\n \"operationId\": \"Skill_Delete\",\r\n \"parameters\": [\r\n {\r\n \"type\": \"integer\",\r\n \"name\": \"id\",\r\n \"in\": \"path\",\r\n \"required\": true,\r\n \"description\": \"Id.\",\r\n \"format\": \"int64\",\r\n \"x-nullable\": false\r\n }\r\n ],\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Test/throwBusinessException\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Test\"\r\n ],\r\n \"summary\": \"Throws BusinessException\",\r\n \"operationId\": \"Test_ThrowBusinessException\",\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"/api/Test/throwUnknownException\": {\r\n \"get\": {\r\n \"tags\": [\r\n \"Test\"\r\n ],\r\n \"summary\": \"Throws unknown exception\",\r\n \"operationId\": \"Test_ThrowUnknownException\",\r\n \"responses\": {\r\n \"200\": {\r\n \"x-nullable\": true,\r\n \"description\": \"\",\r\n \"schema\": {\r\n \"type\": \"file\"\r\n }\r\n }\r\n }\r\n }\r\n }\r\n },\r\n \"definitions\": {\r\n \"EmployeeDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/definitions/BaseDto\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"required\": [\r\n \"isFired\"\r\n ],\r\n \"properties\": {\r\n \"firstName\": {\r\n \"type\": \"string\"\r\n },\r\n \"middleName\": {\r\n \"type\": \"string\"\r\n },\r\n \"lastName\": {\r\n \"type\": \"string\"\r\n },\r\n \"birthDate\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"isFired\": {\r\n \"type\": \"boolean\"\r\n },\r\n \"comment\": {\r\n \"type\": \"string\"\r\n },\r\n \"photo\": {\r\n \"type\": \"string\",\r\n \"format\": \"byte\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"BaseDto\": {\r\n \"type\": \"object\",\r\n \"x-abstract\": true,\r\n \"required\": [\r\n \"id\"\r\n ],\r\n \"properties\": {\r\n \"id\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n }\r\n }\r\n },\r\n \"ParentDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/definitions/BaseDto\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"firstName\": {\r\n \"type\": \"string\"\r\n },\r\n \"middleName\": {\r\n \"type\": \"string\"\r\n },\r\n \"lastName\": {\r\n \"type\": \"string\"\r\n },\r\n \"comment\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"DifficultyLevelDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/definitions/BaseDto\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"name\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ExerciseDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/definitions/BaseDto\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"required\": [\r\n \"difficultyLevelId\"\r\n ],\r\n \"properties\": {\r\n \"name\": {\r\n \"type\": \"string\"\r\n },\r\n \"difficultyLevelId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"difficultyLevelName\": {\r\n \"type\": \"string\"\r\n },\r\n \"description\": {\r\n \"type\": \"string\"\r\n },\r\n \"customerDescription\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"LessonDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/definitions/BaseDto\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"required\": [\r\n \"pupilId\",\r\n \"employeeId\",\r\n \"date\"\r\n ],\r\n \"properties\": {\r\n \"pupilId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"pupil\": {\r\n \"$ref\": \"#/definitions/PupilDto\"\r\n },\r\n \"employeeId\": {\r\n \"type\": \"integer\",\r\n \"format\": \"int64\"\r\n },\r\n \"employee\": {\r\n \"$ref\": \"#/definitions/EmployeeDto\"\r\n },\r\n \"date\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"factDate\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"comment\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"PupilDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/definitions/BaseDto\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"required\": [\r\n \"birthDate\"\r\n ],\r\n \"properties\": {\r\n \"firstName\": {\r\n \"type\": \"string\"\r\n },\r\n \"middleName\": {\r\n \"type\": \"string\"\r\n },\r\n \"lastName\": {\r\n \"type\": \"string\"\r\n },\r\n \"birthDate\": {\r\n \"type\": \"string\",\r\n \"format\": \"date-time\"\r\n },\r\n \"comment\": {\r\n \"type\": \"string\"\r\n },\r\n \"parents\": {\r\n \"type\": \"array\",\r\n \"items\": {\r\n \"$ref\": \"#/definitions/ListItemDto\"\r\n }\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"ListItemDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/definitions/BaseDto\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"name\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ]\r\n },\r\n \"SkillDto\": {\r\n \"allOf\": [\r\n {\r\n \"$ref\": \"#/definitions/BaseDto\"\r\n },\r\n {\r\n \"type\": \"object\",\r\n \"properties\": {\r\n \"name\": {\r\n \"type\": \"string\"\r\n },\r\n \"description\": {\r\n \"type\": \"string\"\r\n }\r\n }\r\n }\r\n ]\r\n }\r\n }\r\n}",
"url": "http://192.168.0.10/swagger/v1/swagger.json",
"output": null,
"newLineBehavior": "Auto"
}
},
"codeGenerators": {
"openApiToCSharpClient": {
"clientBaseClass": null,
"configurationClass": null,
"generateClientClasses": true,
"generateClientInterfaces": false,
"clientBaseInterface": null,
"injectHttpClient": false,
"disposeHttpClient": true,
"protectedMethods": [],
"generateExceptionClasses": true,
"exceptionClass": "ApiException",
"wrapDtoExceptions": true,
"useHttpClientCreationMethod": false,
"httpClientType": "System.Net.Http.HttpClient",
"useHttpRequestMessageCreationMethod": false,
"useBaseUrl": true,
"generateBaseUrlProperty": true,
"generateSyncMethods": false,
"exposeJsonSerializerSettings": false,
"clientClassAccessModifier": "public",
"typeAccessModifier": "public",
"generateContractsOutput": false,
"contractsNamespace": null,
"contractsOutputFilePath": null,
"parameterDateTimeFormat": "s",
"parameterDateFormat": "yyyy-MM-dd",
"generateUpdateJsonSerializerSettingsMethod": true,
"useRequestAndResponseSerializationSettings": false,
"serializeTypeInformation": false,
"queryNullValue": "",
"className": "{controller}Client",
"operationGenerationMode": "MultipleClientsFromOperationId",
"additionalNamespaceUsages": [
"MSmile.Dto.Dto"
],
"additionalContractNamespaceUsages": [],
"generateOptionalParameters": false,
"generateJsonMethods": false,
"enforceFlagEnums": false,
"parameterArrayType": "System.Collections.Generic.List",
"parameterDictionaryType": "System.Collections.Generic.IDictionary",
"responseArrayType": "System.Collections.Generic.List",
"responseDictionaryType": "System.Collections.Generic.IDictionary",
"wrapResponses": false,
"wrapResponseMethods": [],
"generateResponseClasses": true,
"responseClass": "SwaggerResponse",
"namespace": "MSmile.Api.Client",
"requiredPropertiesMustBeDefined": true,
"dateType": "System.DateTimeOffset",
"jsonConverters": null,
"anyType": "object",
"dateTimeType": "System.DateTimeOffset",
"timeType": "System.TimeSpan",
"timeSpanType": "System.TimeSpan",
"arrayType": "System.Collections.Generic.ICollection",
"arrayInstanceType": "System.Collections.ObjectModel.Collection",
"dictionaryType": "System.Collections.Generic.IDictionary",
"dictionaryInstanceType": "System.Collections.Generic.Dictionary",
"arrayBaseType": "System.Collections.ObjectModel.Collection",
"dictionaryBaseType": "System.Collections.Generic.Dictionary",
"classStyle": "Poco",
"generateDefaultValues": true,
"generateDataAnnotations": true,
"excludedTypeNames": [],
"excludedParameterNames": [],
"handleReferences": false,
"generateImmutableArrayProperties": false,
"generateImmutableDictionaryProperties": false,
"jsonSerializerSettingsTransformationMethod": null,
"inlineNamedArrays": false,
"inlineNamedDictionaries": false,
"inlineNamedTuples": true,
"inlineNamedAny": false,
"generateDtoTypes": false,
"generateOptionalPropertiesAsNullable": false,
"generateNullableReferenceTypes": false,
"templateDirectory": null,
"typeNameGeneratorType": null,
"propertyNameGeneratorType": null,
"enumNameGeneratorType": null,
"serviceHost": null,
"serviceSchemes": null,
"output": null,
"newLineBehavior": "Auto"
}
}
}