Skip to content

Commit

Permalink
chore: update aspida2openapi to v0.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Aug 19, 2024
1 parent 9359913 commit 3500f75
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 61 deletions.
8 changes: 4 additions & 4 deletions client/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/swagger-ui-react": "^4.18.3",
"aspida2openapi": "^0.4.2",
"aspida2openapi": "^0.5.0",
"happy-css-modules": "^3.1.1",
"notios": "^0.5.3",
"pathpida": "^0.22.0"
Expand Down
2 changes: 1 addition & 1 deletion client/pages/docs.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import SwaggerUI from 'swagger-ui-react';
import 'swagger-ui-react/swagger-ui.css';
import { staticPath } from 'utils/$path';

const Docs = () => <SwaggerUI url={staticPath.docs.openapi_json} docExpansion="none" />;
const Docs = () => <SwaggerUI url={staticPath.docs.openapi_json} docExpansion="list" />;

export default Docs;
55 changes: 0 additions & 55 deletions client/public/docs/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
"paths": {
"/health": {
"get": {
"tags": [
"health"
],
"parameters": [],
"responses": {
"2XX": {
"content": {
Expand All @@ -31,7 +27,6 @@
},
"/": {
"get": {
"parameters": [],
"responses": {
"2XX": {
"content": {
Expand All @@ -47,10 +42,6 @@
},
"/private": {
"get": {
"tags": [
"private"
],
"parameters": [],
"responses": {
"2XX": {
"content": {
Expand All @@ -66,11 +57,6 @@
},
"/private/me": {
"get": {
"tags": [
"private",
"me"
],
"parameters": [],
"responses": {
"2XX": {
"content": {
Expand Down Expand Up @@ -106,10 +92,6 @@
},
"/private/tasks/{taskId}": {
"patch": {
"tags": [
"private",
"tasks"
],
"parameters": [
{
"name": "taskId",
Expand Down Expand Up @@ -202,10 +184,6 @@
}
},
"delete": {
"tags": [
"private",
"tasks"
],
"parameters": [
{
"name": "taskId",
Expand Down Expand Up @@ -283,12 +261,6 @@
},
"/private/tasks/di": {
"get": {
"tags": [
"private",
"tasks",
"di"
],
"parameters": [],
"responses": {
"2XX": {
"content": {
Expand Down Expand Up @@ -359,10 +331,6 @@
},
"/private/tasks": {
"get": {
"tags": [
"private",
"tasks"
],
"parameters": [
{
"name": "limit",
Expand Down Expand Up @@ -441,11 +409,6 @@
}
},
"post": {
"tags": [
"private",
"tasks"
],
"parameters": [],
"requestBody": {
"content": {
"multipart/form-data": {
Expand Down Expand Up @@ -531,11 +494,6 @@
}
},
"patch": {
"tags": [
"private",
"tasks"
],
"parameters": [],
"requestBody": {
"content": {
"application/json": {
Expand Down Expand Up @@ -629,11 +587,6 @@
}
},
"delete": {
"tags": [
"private",
"tasks"
],
"parameters": [],
"requestBody": {
"content": {
"application/json": {
Expand Down Expand Up @@ -725,10 +678,6 @@
},
"/session": {
"post": {
"tags": [
"session"
],
"parameters": [],
"requestBody": {
"content": {
"application/json": {
Expand Down Expand Up @@ -768,10 +717,6 @@
}
},
"delete": {
"tags": [
"session"
],
"parameters": [],
"responses": {
"2XX": {
"content": {
Expand Down

0 comments on commit 3500f75

Please sign in to comment.