Skip to content

Commit

Permalink
Update Documentation with core changes (#129)
Browse files Browse the repository at this point in the history
Co-authored-by: discoursebuild <[email protected]>
  • Loading branch information
github-actions[bot] and discoursebuild authored Dec 4, 2024
1 parent 85fcd52 commit 91eb08c
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
26 changes: 23 additions & 3 deletions openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,9 @@
},
"badge_type_id": {
"type": "integer"
},
"show_in_post_header": {
"type": "boolean"
}
},
"required": [
Expand All @@ -283,7 +286,8 @@
"auto_revoke",
"show_posts",
"badge_type_id",
"image_upload_id"
"image_upload_id",
"show_in_post_header"
]
}
},
Expand Down Expand Up @@ -533,6 +537,9 @@
},
"badge_type_id": {
"type": "integer"
},
"show_in_post_header": {
"type": "boolean"
}
},
"required": [
Expand All @@ -557,7 +564,8 @@
"auto_revoke",
"show_posts",
"badge_type_id",
"image_upload_id"
"image_upload_id",
"show_in_post_header"
]
}
},
Expand Down Expand Up @@ -724,6 +732,9 @@
},
"badge_type_id": {
"type": "integer"
},
"show_in_post_header": {
"type": "boolean"
}
},
"required": [
Expand All @@ -748,7 +759,8 @@
"auto_revoke",
"show_posts",
"badge_type_id",
"image_upload_id"
"image_upload_id",
"show_in_post_header"
]
}
},
Expand Down Expand Up @@ -4692,6 +4704,10 @@
"null"
]
},
"badges_granted": {
"type": "array",
"items": {}
},
"version": {
"type": "integer"
},
Expand Down Expand Up @@ -5333,6 +5349,10 @@
"null"
]
},
"badges_granted": {
"type": "array",
"items": {}
},
"version": {
"type": "integer"
},
Expand Down
15 changes: 15 additions & 0 deletions openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ paths:
- 'null'
badge_type_id:
type: integer
show_in_post_header:
type: boolean
required:
- id
- name
Expand All @@ -256,6 +258,7 @@ paths:
- show_posts
- badge_type_id
- image_upload_id
- show_in_post_header
badge_types:
type: array
items:
Expand Down Expand Up @@ -429,6 +432,8 @@ paths:
type: boolean
badge_type_id:
type: integer
show_in_post_header:
type: boolean
required:
- id
- name
Expand All @@ -452,6 +457,7 @@ paths:
- show_posts
- badge_type_id
- image_upload_id
- show_in_post_header
required:
- badge_types
- badge
Expand Down Expand Up @@ -563,6 +569,8 @@ paths:
type: boolean
badge_type_id:
type: integer
show_in_post_header:
type: boolean
required:
- id
- name
Expand All @@ -586,6 +594,7 @@ paths:
- show_posts
- badge_type_id
- image_upload_id
- show_in_post_header
required:
- badge_types
- badge
Expand Down Expand Up @@ -3342,6 +3351,9 @@ paths:
type:
- integer
- 'null'
badges_granted:
type: array
items: {}
version:
type: integer
can_edit:
Expand Down Expand Up @@ -3811,6 +3823,9 @@ paths:
type:
- integer
- 'null'
badges_granted:
type: array
items: {}
version:
type: integer
can_edit:
Expand Down

0 comments on commit 91eb08c

Please sign in to comment.