Skip to content

Commit

Permalink
Update OCM OpenAPI to match their implementation
Browse files Browse the repository at this point in the history
See this upstream issue:
openchargemap/ocm-docs#8
  • Loading branch information
neomantra committed Feb 27, 2024
1 parent cfe5201 commit 7bd8f9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions openchargemap-api.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions openchargemap.openapi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ components:
ID: 148527
UUID: 4C524AA1-3413-4D56-804C-480304FEB0FB
UserComments:
- ID: string
- ID: 0
ChargePointID: 0
CommentTypeID: 0
CommentType: {}
Expand All @@ -690,8 +690,8 @@ components:
CheckinStatusType: {}
'': string
MediaItems:
- ID: string
ChargePointID: string
- ID: int
ChargePointID: int
ItemURL: string
ItemThumbnailURL: string
Comment: string
Expand Down Expand Up @@ -1183,7 +1183,7 @@ components:
description: A user comment or check-in for a specific charging point (POI/Site)
properties:
ID:
type: string
type: integer
ChargePointID:
type: integer
CommentTypeID:
Expand Down Expand Up @@ -1212,9 +1212,9 @@ components:
Currently always an image.
properties:
ID:
type: string
type: integer
ChargePointID:
type: string
type: integer
ItemURL:
type: string
ItemThumbnailURL:
Expand Down Expand Up @@ -1909,7 +1909,7 @@ components:
- ID: 148527
UUID: 4C524AA1-3413-4D56-804C-480304FEB0FB
UserComments:
- ID: string
- ID: 0
ChargePointID: 0
CommentTypeID: 0
CommentType:
Expand All @@ -1931,8 +1931,8 @@ components:
IsAutomatedCheckin: true
IsPositive: true
MediaItems:
- ID: string
ChargePointID: string
- ID: 0
ChargePointID: 0
ItemURL: string
ItemThumbnailURL: string
Comment: string
Expand Down

0 comments on commit 7bd8f9c

Please sign in to comment.