Skip to content

Commit 8fcf635

Browse files
committed
generate prebuild
1 parent a4132c7 commit 8fcf635

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

content/docs/parent-api/list-parent-behaviour.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: |
44
Lists the behaviour points for a pupil.
55
full: true
66
_openapi:
7-
method: POST
7+
method: GET
88
route: /parentbehaviours/{studentId}
99
toc: []
1010
structuredData:
@@ -16,4 +16,4 @@ _openapi:
1616

1717
{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}
1818

19-
<APIPage document={"./openapi/parentclientapi.yaml"} operations={[{"path":"/parentbehaviours/{studentId}","method":"post"}]} webhooks={[]} hasHead={false} />
19+
<APIPage document={"./openapi/parentclientapi.yaml"} operations={[{"path":"/parentbehaviours/{studentId}","method":"get"}]} webhooks={[]} hasHead={false} />

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"private": true,
55
"scripts": {
66
"generate": "tsx scripts/generate-docs.mts",
7+
"prebuild": "pnpm generate",
78
"postbuild": "tsx scripts/post-build.mts",
89
"build": "next build",
910
"dev": "next dev",

0 commit comments

Comments
 (0)