@digipair/skill-qrcode 0.96.0 → 0.97.0
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 +38 -2
- package/schema.json +38 -2
package/package.json
CHANGED
package/schema.fr.json
CHANGED
|
@@ -23,7 +23,22 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
|
-
"x-events": []
|
|
26
|
+
"x-events": [],
|
|
27
|
+
"responses": {
|
|
28
|
+
"200": {
|
|
29
|
+
"description": "Code QR généré avec succès",
|
|
30
|
+
"content": {
|
|
31
|
+
"application/json": {
|
|
32
|
+
"schema": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "uri",
|
|
35
|
+
"pattern": "^data:image\/png;base64,",
|
|
36
|
+
"description": "Image PNG encodée en base64 du code QR généré sous forme de data URL"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
27
42
|
}
|
|
28
43
|
},
|
|
29
44
|
"/decode": {
|
|
@@ -41,7 +56,28 @@
|
|
|
41
56
|
}
|
|
42
57
|
}
|
|
43
58
|
],
|
|
44
|
-
"x-events": []
|
|
59
|
+
"x-events": [],
|
|
60
|
+
"responses": {
|
|
61
|
+
"200": {
|
|
62
|
+
"description": "Code QR décodé avec succès",
|
|
63
|
+
"content": {
|
|
64
|
+
"application/json": {
|
|
65
|
+
"schema": {
|
|
66
|
+
"oneOf": [
|
|
67
|
+
{
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "Texte/données décodées du code QR"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "null",
|
|
73
|
+
"description": "Aucun code QR trouvé dans l'image"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
45
81
|
}
|
|
46
82
|
}
|
|
47
83
|
},
|
package/schema.json
CHANGED
|
@@ -23,7 +23,22 @@
|
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
],
|
|
26
|
-
"x-events": []
|
|
26
|
+
"x-events": [],
|
|
27
|
+
"responses": {
|
|
28
|
+
"200": {
|
|
29
|
+
"description": "QR code successfully generated",
|
|
30
|
+
"content": {
|
|
31
|
+
"application/json": {
|
|
32
|
+
"schema": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "uri",
|
|
35
|
+
"pattern": "^data:image\/png;base64,",
|
|
36
|
+
"description": "Base64 encoded PNG image of the generated QR code as a data URL"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
27
42
|
}
|
|
28
43
|
},
|
|
29
44
|
"/decode": {
|
|
@@ -41,7 +56,28 @@
|
|
|
41
56
|
}
|
|
42
57
|
}
|
|
43
58
|
],
|
|
44
|
-
"x-events": []
|
|
59
|
+
"x-events": [],
|
|
60
|
+
"responses": {
|
|
61
|
+
"200": {
|
|
62
|
+
"description": "QR code successfully decoded",
|
|
63
|
+
"content": {
|
|
64
|
+
"application/json": {
|
|
65
|
+
"schema": {
|
|
66
|
+
"oneOf": [
|
|
67
|
+
{
|
|
68
|
+
"type": "string",
|
|
69
|
+
"description": "Decoded text/data from the QR code"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"type": "null",
|
|
73
|
+
"description": "No QR code found in the image"
|
|
74
|
+
}
|
|
75
|
+
]
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
45
81
|
}
|
|
46
82
|
}
|
|
47
83
|
},
|