Skip to content

Commit

Permalink
fix: rems specification
Browse files Browse the repository at this point in the history
  • Loading branch information
admy7 committed Mar 19, 2024
1 parent c0baf24 commit 8e1287d
Showing 1 changed file with 18 additions and 10 deletions.
28 changes: 18 additions & 10 deletions src/main/openapi/rems.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,11 @@ paths:
type: string
- name: application-id
in: path
required: true
description: Application id
schema:
type: string
type: integer
format: int64
responses:
'200':
description: ''
Expand All @@ -99,7 +101,7 @@ paths:
schema:
type: object
items:
$ref: '#/components/schemas/ApplicationOverview'
$ref: '#/components/schemas/Application'
components:
schemas:
ApplicationOverview:
Expand Down Expand Up @@ -765,7 +767,9 @@ components:
- attachment
- text
license/title:
$ref: '#/components/schemas/LocalizedString'
type: object
items:
$ref: '#/components/schemas/LocalizedString'
license/id:
type: integer
format: int64
Expand All @@ -786,7 +790,9 @@ components:
form/internal-name:
type: string
form/external-title:
$ref: '#/components/schemas/LocalizedString'
type: object
items:
$ref: '#/components/schemas/LocalizedString'
form/fields:
type: array
items:
Expand All @@ -797,14 +803,16 @@ components:
- field/title
- field/visible
- field/type
- field/value
# - field/value
- field/id
- field/optional
properties:
field/private:
type: boolean
field/title:
$ref: '#/components/schemas/LocalizedString'
type: object
items:
$ref: '#/components/schemas/LocalizedString'
field/visible:
type: boolean
field/type:
Expand All @@ -825,11 +833,9 @@ components:
- text
field/value:
type: object
required:
- description
properties:
description:
oneOf:
x-oneOf:
- type: string
- type: array
items:
Expand Down Expand Up @@ -864,4 +870,6 @@ components:
type: integer
format: int64
event/actor-attributes:
$ref: '#/components/schemas/UserWithAttributes'
type: object
items:
$ref: '#/components/schemas/UserWithAttributes'

0 comments on commit 8e1287d

Please sign in to comment.