Skip to content

Commit

Permalink
docs: regenerate swagger docs
Browse files Browse the repository at this point in the history
  • Loading branch information
endyApina committed Oct 14, 2024
1 parent 30f889e commit 2eff528
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 5 deletions.
15 changes: 13 additions & 2 deletions api/notificationservice/notificationservice_docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ const docTemplatenotificationservice = `{
"filter.ControlType": {
"type": "string",
"enum": [
"bool",
"enum",
"float",
"integer",
Expand All @@ -207,6 +208,7 @@ const docTemplatenotificationservice = `{
"autocomplete"
],
"x-enum-varnames": [
"ControlTypeBool",
"ControlTypeEnum",
"ControlTypeFloat",
"ControlTypeInteger",
Expand Down Expand Up @@ -290,7 +292,8 @@ const docTemplatenotificationservice = `{
"string",
"float",
"integer",
"enum"
"enum",
"bool"
],
"allOf": [
{
Expand Down Expand Up @@ -361,14 +364,22 @@ const docTemplatenotificationservice = `{
},
"paging.Response": {
"type": "object",
"required": [
"index",
"size",
"totalDisplayableResults"
],
"properties": {
"index": {
"type": "integer"
},
"size": {
"type": "integer"
},
"total": {
"totalDisplayableResults": {
"type": "integer"
},
"totalResults": {
"type": "integer"
}
}
Expand Down
15 changes: 13 additions & 2 deletions api/notificationservice/notificationservice_swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@
"filter.ControlType": {
"type": "string",
"enum": [
"bool",
"enum",
"float",
"integer",
Expand All @@ -200,6 +201,7 @@
"autocomplete"
],
"x-enum-varnames": [
"ControlTypeBool",
"ControlTypeEnum",
"ControlTypeFloat",
"ControlTypeInteger",
Expand Down Expand Up @@ -283,7 +285,8 @@
"string",
"float",
"integer",
"enum"
"enum",
"bool"
],
"allOf": [
{
Expand Down Expand Up @@ -354,14 +357,22 @@
},
"paging.Response": {
"type": "object",
"required": [
"index",
"size",
"totalDisplayableResults"
],
"properties": {
"index": {
"type": "integer"
},
"size": {
"type": "integer"
},
"total": {
"totalDisplayableResults": {
"type": "integer"
},
"totalResults": {
"type": "integer"
}
}
Expand Down
11 changes: 10 additions & 1 deletion api/notificationservice/notificationservice_swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ definitions:
- CompareOperatorExists
filter.ControlType:
enum:
- bool
- enum
- float
- integer
Expand All @@ -53,6 +54,7 @@ definitions:
- autocomplete
type: string
x-enum-varnames:
- ControlTypeBool
- ControlTypeEnum
- ControlTypeFloat
- ControlTypeInteger
Expand Down Expand Up @@ -115,6 +117,7 @@ definitions:
- float
- integer
- enum
- bool
type: object
models.Notification:
properties:
Expand Down Expand Up @@ -165,8 +168,14 @@ definitions:
type: integer
size:
type: integer
total:
totalDisplayableResults:
type: integer
totalResults:
type: integer
required:
- index
- size
- totalDisplayableResults
type: object
query.FilterOption:
properties:
Expand Down

0 comments on commit 2eff528

Please sign in to comment.