@digipair/skill-yaml 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-yaml",
3
- "version": "0.96.0",
3
+ "version": "0.97.0",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "web",
package/schema.fr.json CHANGED
@@ -32,7 +32,46 @@
32
32
  }
33
33
  }
34
34
  ],
35
- "x-events": []
35
+ "x-events": [],
36
+ "responses": {
37
+ "200": {
38
+ "description": "Données YAML analysées avec succès en objet/tableau JavaScript",
39
+ "content": {
40
+ "application/json": {
41
+ "schema": {
42
+ "oneOf": [
43
+ {
44
+ "type": "object",
45
+ "description": "Objet YAML analysé",
46
+ "additionalProperties": true
47
+ },
48
+ {
49
+ "type": "array",
50
+ "description": "Tableau YAML analysé",
51
+ "items": {}
52
+ },
53
+ {
54
+ "type": "string",
55
+ "description": "Valeur primitive YAML analysée"
56
+ },
57
+ {
58
+ "type": "number",
59
+ "description": "Nombre YAML analysé"
60
+ },
61
+ {
62
+ "type": "boolean",
63
+ "description": "Booléen YAML analysé"
64
+ },
65
+ {
66
+ "type": "null",
67
+ "description": "Valeur null YAML analysée"
68
+ }
69
+ ]
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
36
75
  }
37
76
  },
38
77
  "/dump": {
@@ -45,9 +84,7 @@
45
84
  "summary": "Données",
46
85
  "required": true,
47
86
  "description": "Données à convertir en YAML",
48
- "schema": {
49
- "type": "string"
50
- }
87
+ "schema": {}
51
88
  },
52
89
  {
53
90
  "name": "options",
@@ -59,7 +96,20 @@
59
96
  }
60
97
  }
61
98
  ],
62
- "x-events": []
99
+ "x-events": [],
100
+ "responses": {
101
+ "200": {
102
+ "description": "Données converties avec succès au format YAML",
103
+ "content": {
104
+ "text/yaml": {
105
+ "schema": {
106
+ "type": "string",
107
+ "description": "Représentation YAML formatée des données d'entrée"
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
63
113
  }
64
114
  }
65
115
  },
package/schema.json CHANGED
@@ -32,7 +32,46 @@
32
32
  }
33
33
  }
34
34
  ],
35
- "x-events": []
35
+ "x-events": [],
36
+ "responses": {
37
+ "200": {
38
+ "description": "YAML data successfully parsed to JavaScript object/array",
39
+ "content": {
40
+ "application/json": {
41
+ "schema": {
42
+ "oneOf": [
43
+ {
44
+ "type": "object",
45
+ "description": "Parsed YAML object",
46
+ "additionalProperties": true
47
+ },
48
+ {
49
+ "type": "array",
50
+ "description": "Parsed YAML array",
51
+ "items": {}
52
+ },
53
+ {
54
+ "type": "string",
55
+ "description": "Parsed YAML primitive value"
56
+ },
57
+ {
58
+ "type": "number",
59
+ "description": "Parsed YAML number"
60
+ },
61
+ {
62
+ "type": "boolean",
63
+ "description": "Parsed YAML boolean"
64
+ },
65
+ {
66
+ "type": "null",
67
+ "description": "Parsed YAML null value"
68
+ }
69
+ ]
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
36
75
  }
37
76
  },
38
77
  "/dump": {
@@ -45,9 +84,7 @@
45
84
  "summary": "Data",
46
85
  "required": true,
47
86
  "description": "Data to convert to YAML",
48
- "schema": {
49
- "type": "string"
50
- }
87
+ "schema": {}
51
88
  },
52
89
  {
53
90
  "name": "options",
@@ -59,7 +96,20 @@
59
96
  }
60
97
  }
61
98
  ],
62
- "x-events": []
99
+ "x-events": [],
100
+ "responses": {
101
+ "200": {
102
+ "description": "Data successfully converted to YAML format",
103
+ "content": {
104
+ "text/yaml": {
105
+ "schema": {
106
+ "type": "string",
107
+ "description": "YAML formatted string representation of the input data"
108
+ }
109
+ }
110
+ }
111
+ }
112
+ }
63
113
  }
64
114
  }
65
115
  },