Skip to content

Commit

Permalink
fix: endpoint path
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Aug 15, 2024
1 parent 24646a6 commit 8667f1d
Show file tree
Hide file tree
Showing 14 changed files with 190 additions and 250 deletions.
9 changes: 2 additions & 7 deletions samples/allOf-required.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
{
"openapi": "3.1.0",
"info": {
"title": "aspida to OpenAPI",
"title": "allOf-required api",
"version": "v0.0"
},
"servers": [
{
"url": "/api"
}
],
"paths": {
"samples/allOf-required/path": {
"/path": {
"get": {
"tags": [
"path"
Expand Down
9 changes: 2 additions & 7 deletions samples/array-one-of.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
{
"openapi": "3.1.0",
"info": {
"title": "aspida to OpenAPI",
"title": "array-one-of api",
"version": "v0.0"
},
"servers": [
{
"url": "/api"
}
],
"paths": {
"samples/array-one-of/user": {
"/user": {
"get": {
"tags": [
"user"
Expand Down
25 changes: 10 additions & 15 deletions samples/externals.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,11 @@
{
"openapi": "3.1.0",
"info": {
"title": "aspida to OpenAPI",
"title": "externals api",
"version": "v0.0"
},
"servers": [
{
"url": "/api"
}
],
"paths": {
"samples/externals/users/{user_id}/orders/{order_id}": {
"/users/{user_id}/orders/{order_id}": {
"get": {
"tags": [
"users"
Expand Down Expand Up @@ -105,7 +100,7 @@
}
}
},
"samples/externals/users/{user_id}/orders": {
"/users/{user_id}/orders": {
"get": {
"tags": [
"users"
Expand Down Expand Up @@ -205,7 +200,7 @@
}
}
},
"samples/externals/users/{user_id}/orders/purchase/invoice": {
"/users/{user_id}/orders/purchase/invoice": {
"post": {
"tags": [
"users"
Expand Down Expand Up @@ -315,7 +310,7 @@
}
}
},
"samples/externals/users/{user_id}/orders/purchase/wallet": {
"/users/{user_id}/orders/purchase/wallet": {
"post": {
"tags": [
"users"
Expand Down Expand Up @@ -429,7 +424,7 @@
}
}
},
"samples/externals/users/{user_id}/orders/unsubscribe": {
"/users/{user_id}/orders/unsubscribe": {
"post": {
"tags": [
"users"
Expand Down Expand Up @@ -535,7 +530,7 @@
}
}
},
"samples/externals/users/{user_id}/orders/update/renew": {
"/users/{user_id}/orders/update/renew": {
"post": {
"tags": [
"users"
Expand Down Expand Up @@ -646,7 +641,7 @@
}
}
},
"samples/externals/users/{user_id}/phone-numbers/{phone_number}/orders": {
"/users/{user_id}/phone-numbers/{phone_number}/orders": {
"get": {
"tags": [
"users"
Expand Down Expand Up @@ -745,7 +740,7 @@
}
}
},
"samples/externals/users/{user_id}/phone-numbers/{phone_number}/orders/purchase/invoice": {
"/users/{user_id}/phone-numbers/{phone_number}/orders/purchase/invoice": {
"post": {
"tags": [
"users"
Expand Down Expand Up @@ -859,7 +854,7 @@
}
}
},
"samples/externals/users/{user_id}/phone-numbers/{phone_number}/orders/purchase/wallet": {
"/users/{user_id}/phone-numbers/{phone_number}/orders/purchase/wallet": {
"post": {
"tags": [
"users"
Expand Down
Loading

0 comments on commit 8667f1d

Please sign in to comment.