Skip to content

Commit

Permalink
Merge pull request #2 from saevarma/support/openapi-bug
Browse files Browse the repository at this point in the history
Fix methodList and serviceId schema definitions
  • Loading branch information
saevarma authored Sep 25, 2020
2 parents 781fce7 + 4b257c4 commit 3b450f0
Showing 1 changed file with 16 additions and 21 deletions.
37 changes: 16 additions & 21 deletions doc/Protocols/pr-mrest_x-road_service_metadata_protocol_for_rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -265,38 +265,33 @@ components:
methodList:
type: object
properties:
member:
service:
type: array
items:
$ref: "#/components/schemas/serviceId"
serviceId:
type: object
properties:
type:
type: object
properties:
object_type:
type: string
enum:
- MEMBER
- SUBSYSTEM
- SERVER
- GLOBALGROUP
- SECURITYCATEGORY
- SERVICE
- CENTRALSERVICE
- LOCALGROUP
xRoadInstance:
object_type:
type: string
memberClass:
enum:
- MEMBER
- SUBSYSTEM
- SERVER
- GLOBALGROUP
- SECURITYCATEGORY
- SERVICE
- CENTRALSERVICE
- LOCALGROUP
xroad_instance:
type: string
memberCode:
member_class:
type: string
serviceVersion:
member_code:
type: string
subsystemCode:
subsystem_code:
type: string
serviceCode:
service_code:
type: string
```
Expand Down

0 comments on commit 3b450f0

Please sign in to comment.