Skip to content

Commit b1ff3cc

Browse files
committed
Updated API docs
1 parent e08bfb4 commit b1ff3cc

3 files changed

Lines changed: 11 additions & 24 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@
8484
"config": {
8585
"allow-plugins": {
8686
"composer/package-versions-deprecated": true,
87+
"ergebnis/composer-normalize": true,
8788
"symfony/flex": true,
88-
"symfony/runtime": true,
89-
"ergebnis/composer-normalize": true
89+
"symfony/runtime": true
9090
},
9191
"optimize-autoloader": true,
9292
"preferred-install": {

public/api-spec-v1.json

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"openapi": "3.0.0",
2+
"openapi": "3.1.0",
33
"info": {
44
"title": "",
55
"description": "",
@@ -27,9 +27,6 @@
2727
},
2828
"application/json": {
2929
"schema": {}
30-
},
31-
"text/html": {
32-
"schema": {}
3330
}
3431
},
3532
"links": {}
@@ -56,18 +53,12 @@
5653
"schema": {
5754
"$ref": "#/components/schemas/DetectionResult-write"
5855
}
59-
},
60-
"text/html": {
61-
"schema": {
62-
"$ref": "#/components/schemas/DetectionResult-write"
63-
}
6456
}
6557
},
6658
"required": true
6759
},
6860
"deprecated": false
69-
},
70-
"parameters": []
61+
}
7162
}
7263
},
7364
"components": {
@@ -124,5 +115,6 @@
124115
"apiKey": []
125116
}
126117
],
127-
"tags": []
118+
"tags": [],
119+
"webhooks": {}
128120
}

public/api-spec-v1.yaml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
openapi: 3.0.0
1+
openapi: 3.1.0
22
info:
33
title: ''
44
description: ''
@@ -14,19 +14,17 @@ paths:
1414
tags:
1515
- DetectionResult
1616
responses:
17-
202:
17+
'202':
1818
description: 'DetectionResult resource created'
1919
content:
2020
application/ld+json:
2121
schema: { }
2222
application/json:
2323
schema: { }
24-
text/html:
25-
schema: { }
2624
links: { }
27-
400:
25+
'400':
2826
description: 'Invalid input'
29-
422:
27+
'422':
3028
description: 'Unprocessable entity'
3129
summary: 'Creates a DetectionResult resource.'
3230
description: 'Creates a DetectionResult resource.'
@@ -40,12 +38,8 @@ paths:
4038
application/json:
4139
schema:
4240
$ref: '#/components/schemas/DetectionResult-write'
43-
text/html:
44-
schema:
45-
$ref: '#/components/schemas/DetectionResult-write'
4641
required: true
4742
deprecated: false
48-
parameters: []
4943
components:
5044
schemas:
5145
DetectionResult-write:
@@ -85,3 +79,4 @@ security:
8579
-
8680
apiKey: []
8781
tags: []
82+
webhooks: { }

0 commit comments

Comments
 (0)