@digipair/skill-git 0.96.0 → 0.97.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/schema.fr.json +146 -9
- package/schema.json +146 -9
package/package.json
CHANGED
package/schema.fr.json
CHANGED
@@ -10,7 +10,9 @@
|
|
10
10
|
"paths": {
|
11
11
|
"/commit": {
|
12
12
|
"post": {
|
13
|
-
"tags": [
|
13
|
+
"tags": [
|
14
|
+
"service"
|
15
|
+
],
|
14
16
|
"summary": "Commit GIT",
|
15
17
|
"parameters": [
|
16
18
|
{
|
@@ -41,12 +43,50 @@
|
|
41
43
|
}
|
42
44
|
}
|
43
45
|
],
|
44
|
-
"x-events": []
|
46
|
+
"x-events": [],
|
47
|
+
"responses": {
|
48
|
+
"200": {
|
49
|
+
"description": "Commit Git réussi",
|
50
|
+
"content": {
|
51
|
+
"application/json": {
|
52
|
+
"schema": {
|
53
|
+
"type": "object",
|
54
|
+
"properties": {
|
55
|
+
"commit": {
|
56
|
+
"type": "string",
|
57
|
+
"description": "Hash du commit"
|
58
|
+
},
|
59
|
+
"summary": {
|
60
|
+
"type": "object",
|
61
|
+
"description": "Résumé du commit",
|
62
|
+
"properties": {
|
63
|
+
"changes": {
|
64
|
+
"type": "number",
|
65
|
+
"description": "Nombre de changements"
|
66
|
+
},
|
67
|
+
"insertions": {
|
68
|
+
"type": "number",
|
69
|
+
"description": "Nombre d'insertions"
|
70
|
+
},
|
71
|
+
"deletions": {
|
72
|
+
"type": "number",
|
73
|
+
"description": "Nombre de suppressions"
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
45
83
|
}
|
46
84
|
},
|
47
85
|
"/push": {
|
48
86
|
"post": {
|
49
|
-
"tags": [
|
87
|
+
"tags": [
|
88
|
+
"service"
|
89
|
+
],
|
50
90
|
"summary": "Push GIT",
|
51
91
|
"parameters": [
|
52
92
|
{
|
@@ -71,12 +111,43 @@
|
|
71
111
|
}
|
72
112
|
}
|
73
113
|
],
|
74
|
-
"x-events": []
|
114
|
+
"x-events": [],
|
115
|
+
"responses": {
|
116
|
+
"200": {
|
117
|
+
"description": "Push Git réussi",
|
118
|
+
"content": {
|
119
|
+
"application/json": {
|
120
|
+
"schema": {
|
121
|
+
"type": "object",
|
122
|
+
"properties": {
|
123
|
+
"repo": {
|
124
|
+
"type": "string",
|
125
|
+
"description": "Nom du dépôt"
|
126
|
+
},
|
127
|
+
"ref": {
|
128
|
+
"type": "object",
|
129
|
+
"description": "Informations de référence"
|
130
|
+
},
|
131
|
+
"pushed": {
|
132
|
+
"type": "array",
|
133
|
+
"items": {
|
134
|
+
"type": "object"
|
135
|
+
},
|
136
|
+
"description": "Commits poussés"
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
75
144
|
}
|
76
145
|
},
|
77
146
|
"/show": {
|
78
147
|
"post": {
|
79
|
-
"tags": [
|
148
|
+
"tags": [
|
149
|
+
"service"
|
150
|
+
],
|
80
151
|
"summary": "Show GIT",
|
81
152
|
"parameters": [
|
82
153
|
{
|
@@ -101,12 +172,27 @@
|
|
101
172
|
}
|
102
173
|
}
|
103
174
|
],
|
104
|
-
"x-events": []
|
175
|
+
"x-events": [],
|
176
|
+
"responses": {
|
177
|
+
"200": {
|
178
|
+
"description": "Résultat Git show",
|
179
|
+
"content": {
|
180
|
+
"application/json": {
|
181
|
+
"schema": {
|
182
|
+
"type": "string",
|
183
|
+
"description": "Sortie de Git show"
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
105
189
|
}
|
106
190
|
},
|
107
191
|
"/log": {
|
108
192
|
"post": {
|
109
|
-
"tags": [
|
193
|
+
"tags": [
|
194
|
+
"service"
|
195
|
+
],
|
110
196
|
"summary": "Log GIT",
|
111
197
|
"parameters": [
|
112
198
|
{
|
@@ -209,7 +295,58 @@
|
|
209
295
|
}
|
210
296
|
}
|
211
297
|
],
|
212
|
-
"x-events": []
|
298
|
+
"x-events": [],
|
299
|
+
"responses": {
|
300
|
+
"200": {
|
301
|
+
"description": "Résultat Git log",
|
302
|
+
"content": {
|
303
|
+
"application/json": {
|
304
|
+
"schema": {
|
305
|
+
"type": "object",
|
306
|
+
"properties": {
|
307
|
+
"all": {
|
308
|
+
"type": "array",
|
309
|
+
"items": {
|
310
|
+
"type": "object",
|
311
|
+
"properties": {
|
312
|
+
"hash": {
|
313
|
+
"type": "string",
|
314
|
+
"description": "Hash du commit"
|
315
|
+
},
|
316
|
+
"date": {
|
317
|
+
"type": "string",
|
318
|
+
"description": "Date du commit"
|
319
|
+
},
|
320
|
+
"message": {
|
321
|
+
"type": "string",
|
322
|
+
"description": "Message du commit"
|
323
|
+
},
|
324
|
+
"author_name": {
|
325
|
+
"type": "string",
|
326
|
+
"description": "Nom de l'auteur"
|
327
|
+
},
|
328
|
+
"author_email": {
|
329
|
+
"type": "string",
|
330
|
+
"description": "Email de l'auteur"
|
331
|
+
}
|
332
|
+
}
|
333
|
+
},
|
334
|
+
"description": "Tableau des objets commit"
|
335
|
+
},
|
336
|
+
"total": {
|
337
|
+
"type": "number",
|
338
|
+
"description": "Nombre total de commits"
|
339
|
+
},
|
340
|
+
"latest": {
|
341
|
+
"type": "object",
|
342
|
+
"description": "Dernier objet commit"
|
343
|
+
}
|
344
|
+
}
|
345
|
+
}
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
349
|
+
}
|
213
350
|
}
|
214
351
|
}
|
215
352
|
},
|
@@ -217,4 +354,4 @@
|
|
217
354
|
"schemas": {}
|
218
355
|
},
|
219
356
|
"x-scene-blocks": {}
|
220
|
-
}
|
357
|
+
}
|
package/schema.json
CHANGED
@@ -10,7 +10,9 @@
|
|
10
10
|
"paths": {
|
11
11
|
"/commit": {
|
12
12
|
"post": {
|
13
|
-
"tags": [
|
13
|
+
"tags": [
|
14
|
+
"service"
|
15
|
+
],
|
14
16
|
"summary": "GIT Commit",
|
15
17
|
"parameters": [
|
16
18
|
{
|
@@ -41,12 +43,50 @@
|
|
41
43
|
}
|
42
44
|
}
|
43
45
|
],
|
44
|
-
"x-events": []
|
46
|
+
"x-events": [],
|
47
|
+
"responses": {
|
48
|
+
"200": {
|
49
|
+
"description": "Git commit successful",
|
50
|
+
"content": {
|
51
|
+
"application/json": {
|
52
|
+
"schema": {
|
53
|
+
"type": "object",
|
54
|
+
"properties": {
|
55
|
+
"commit": {
|
56
|
+
"type": "string",
|
57
|
+
"description": "Commit hash"
|
58
|
+
},
|
59
|
+
"summary": {
|
60
|
+
"type": "object",
|
61
|
+
"description": "Commit summary",
|
62
|
+
"properties": {
|
63
|
+
"changes": {
|
64
|
+
"type": "number",
|
65
|
+
"description": "Number of changes"
|
66
|
+
},
|
67
|
+
"insertions": {
|
68
|
+
"type": "number",
|
69
|
+
"description": "Number of insertions"
|
70
|
+
},
|
71
|
+
"deletions": {
|
72
|
+
"type": "number",
|
73
|
+
"description": "Number of deletions"
|
74
|
+
}
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
82
|
+
}
|
45
83
|
}
|
46
84
|
},
|
47
85
|
"/push": {
|
48
86
|
"post": {
|
49
|
-
"tags": [
|
87
|
+
"tags": [
|
88
|
+
"service"
|
89
|
+
],
|
50
90
|
"summary": "GIT Push",
|
51
91
|
"parameters": [
|
52
92
|
{
|
@@ -71,12 +111,43 @@
|
|
71
111
|
}
|
72
112
|
}
|
73
113
|
],
|
74
|
-
"x-events": []
|
114
|
+
"x-events": [],
|
115
|
+
"responses": {
|
116
|
+
"200": {
|
117
|
+
"description": "Git push successful",
|
118
|
+
"content": {
|
119
|
+
"application/json": {
|
120
|
+
"schema": {
|
121
|
+
"type": "object",
|
122
|
+
"properties": {
|
123
|
+
"repo": {
|
124
|
+
"type": "string",
|
125
|
+
"description": "Repository name"
|
126
|
+
},
|
127
|
+
"ref": {
|
128
|
+
"type": "object",
|
129
|
+
"description": "Reference information"
|
130
|
+
},
|
131
|
+
"pushed": {
|
132
|
+
"type": "array",
|
133
|
+
"items": {
|
134
|
+
"type": "object"
|
135
|
+
},
|
136
|
+
"description": "Pushed commits"
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
75
144
|
}
|
76
145
|
},
|
77
146
|
"/show": {
|
78
147
|
"post": {
|
79
|
-
"tags": [
|
148
|
+
"tags": [
|
149
|
+
"service"
|
150
|
+
],
|
80
151
|
"summary": "GIT Show",
|
81
152
|
"parameters": [
|
82
153
|
{
|
@@ -101,12 +172,27 @@
|
|
101
172
|
}
|
102
173
|
}
|
103
174
|
],
|
104
|
-
"x-events": []
|
175
|
+
"x-events": [],
|
176
|
+
"responses": {
|
177
|
+
"200": {
|
178
|
+
"description": "Git show result",
|
179
|
+
"content": {
|
180
|
+
"application/json": {
|
181
|
+
"schema": {
|
182
|
+
"type": "string",
|
183
|
+
"description": "Git show output"
|
184
|
+
}
|
185
|
+
}
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
105
189
|
}
|
106
190
|
},
|
107
191
|
"/log": {
|
108
192
|
"post": {
|
109
|
-
"tags": [
|
193
|
+
"tags": [
|
194
|
+
"service"
|
195
|
+
],
|
110
196
|
"summary": "GIT Log",
|
111
197
|
"parameters": [
|
112
198
|
{
|
@@ -209,7 +295,58 @@
|
|
209
295
|
}
|
210
296
|
}
|
211
297
|
],
|
212
|
-
"x-events": []
|
298
|
+
"x-events": [],
|
299
|
+
"responses": {
|
300
|
+
"200": {
|
301
|
+
"description": "Git log result",
|
302
|
+
"content": {
|
303
|
+
"application/json": {
|
304
|
+
"schema": {
|
305
|
+
"type": "object",
|
306
|
+
"properties": {
|
307
|
+
"all": {
|
308
|
+
"type": "array",
|
309
|
+
"items": {
|
310
|
+
"type": "object",
|
311
|
+
"properties": {
|
312
|
+
"hash": {
|
313
|
+
"type": "string",
|
314
|
+
"description": "Commit hash"
|
315
|
+
},
|
316
|
+
"date": {
|
317
|
+
"type": "string",
|
318
|
+
"description": "Commit date"
|
319
|
+
},
|
320
|
+
"message": {
|
321
|
+
"type": "string",
|
322
|
+
"description": "Commit message"
|
323
|
+
},
|
324
|
+
"author_name": {
|
325
|
+
"type": "string",
|
326
|
+
"description": "Author name"
|
327
|
+
},
|
328
|
+
"author_email": {
|
329
|
+
"type": "string",
|
330
|
+
"description": "Author email"
|
331
|
+
}
|
332
|
+
}
|
333
|
+
},
|
334
|
+
"description": "Array of commit objects"
|
335
|
+
},
|
336
|
+
"total": {
|
337
|
+
"type": "number",
|
338
|
+
"description": "Total number of commits"
|
339
|
+
},
|
340
|
+
"latest": {
|
341
|
+
"type": "object",
|
342
|
+
"description": "Latest commit object"
|
343
|
+
}
|
344
|
+
}
|
345
|
+
}
|
346
|
+
}
|
347
|
+
}
|
348
|
+
}
|
349
|
+
}
|
213
350
|
}
|
214
351
|
}
|
215
352
|
},
|
@@ -217,4 +354,4 @@
|
|
217
354
|
"schemas": {}
|
218
355
|
},
|
219
356
|
"x-scene-blocks": {}
|
220
|
-
}
|
357
|
+
}
|