Skip to content

Commit

Permalink
updated swagger defs
Browse files Browse the repository at this point in the history
  • Loading branch information
adamhaeger committed Dec 17, 2024
1 parent 944a197 commit bfed4bb
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 13 deletions.
24 changes: 15 additions & 9 deletions test/Altinn.App.Api.Tests/OpenApi/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -1804,7 +1804,7 @@
"description": "OK"
},
"425": {
"description": "Too Early"
"description": "Client Error"
},
"500": {
"description": "Internal Server Error"
Expand Down Expand Up @@ -5259,7 +5259,8 @@
"actions": {
"type": "object",
"additionalProperties": {
"type": "boolean"
"type": "boolean",
"nullable": true
},
"nullable": true
},
Expand Down Expand Up @@ -5365,8 +5366,7 @@
"type": "boolean"
},
"allowInSubform": {
"type": "boolean",
"deprecated": true
"type": "boolean"
},
"shadowFields": {
"$ref": "#/components/schemas/ShadowFields"
Expand Down Expand Up @@ -5464,7 +5464,7 @@
"copyInstanceSettings": {
"$ref": "#/components/schemas/CopyInstanceSettings"
},
"storageAccountNumber": {
"storageContainerNumber": {
"type": "integer",
"format": "int32",
"nullable": true
Expand All @@ -5479,7 +5479,8 @@
"features": {
"type": "object",
"additionalProperties": {
"type": "boolean"
"type": "boolean",
"nullable": true
},
"nullable": true
},
Expand Down Expand Up @@ -6502,8 +6503,12 @@
"JsonNodeOptions": {
"type": "object",
"properties": {
"propertyNameCaseInsensitive": {
"type": "boolean"
"hasValue": {
"type": "boolean",
"readOnly": true
},
"value": {
"$ref": "#/components/schemas/JsonNodeOptions"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -7344,7 +7349,8 @@
"items": {
"$ref": "#/components/schemas/ValidationIssueWithSource"
}
}
},
"nullable": true
},
"nullable": true
},
Expand Down
13 changes: 9 additions & 4 deletions test/Altinn.App.Api.Tests/OpenApi/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ paths:
'200':
description: OK
'425':
description: Too Early
description: Client Error
'500':
description: Internal Server Error
'401':
Expand Down Expand Up @@ -3215,6 +3215,7 @@ components:
type: object
additionalProperties:
type: boolean
nullable: true
nullable: true
userActions:
type: array
Expand Down Expand Up @@ -3290,7 +3291,6 @@ components:
type: boolean
allowInSubform:
type: boolean
deprecated: true
shadowFields:
$ref: '#/components/schemas/ShadowFields'
additionalProperties: false
Expand Down Expand Up @@ -3361,7 +3361,7 @@ components:
$ref: '#/components/schemas/MessageBoxConfig'
copyInstanceSettings:
$ref: '#/components/schemas/CopyInstanceSettings'
storageAccountNumber:
storageContainerNumber:
type: integer
format: int32
nullable: true
Expand All @@ -3374,6 +3374,7 @@ components:
type: object
additionalProperties:
type: boolean
nullable: true
nullable: true
logo:
$ref: '#/components/schemas/Logo'
Expand Down Expand Up @@ -4114,8 +4115,11 @@ components:
JsonNodeOptions:
type: object
properties:
propertyNameCaseInsensitive:
hasValue:
type: boolean
readOnly: true
value:
$ref: '#/components/schemas/JsonNodeOptions'
additionalProperties: false
JsonPatch:
type: object
Expand Down Expand Up @@ -4723,6 +4727,7 @@ components:
type: array
items:
$ref: '#/components/schemas/ValidationIssueWithSource'
nullable: true
nullable: true
clientActions:
type: array
Expand Down

0 comments on commit bfed4bb

Please sign in to comment.