Skip to content

Commit 9c8d4e9

Browse files
committed
Correct version and pastes endpoint path in openapi spec
1 parent 0d11dc8 commit 9c8d4e9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

echo/openapi.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"info": {
44
"title": "MystBin API",
55
"description": "MystBin API endpoints and types.",
6-
"version": "1.0.0",
6+
"version": "5.0.0",
77
"contact": {
88
"name": "MystBin",
99
"email": "[email protected]"
@@ -26,7 +26,7 @@
2626
}
2727
],
2828
"paths": {
29-
"/paste": {
29+
"/pastes": {
3030
"post": {
3131
"summary": "Create New Paste",
3232
"description": "Create a new Paste containing up to five files.",
@@ -88,7 +88,7 @@
8888
}
8989
}
9090
},
91-
"/paste/{id}": {
91+
"/pastes/{id}": {
9292
"parameters": [
9393
{
9494
"schema": {

0 commit comments

Comments
 (0)