Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix incorrect OpenAPI entries (#8) #9

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions Model/schema/ocm-openapi-spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ paths:
name: countryid
description: Exact match on a given numeric country id (comma separated list)
- schema:
type: integer
type: number
in: query
name: latitude
description: Latitude for distance calculation and filtering
Expand Down Expand Up @@ -439,6 +439,7 @@ components:
schemas:
POI:
title: POI
x-go-name: ChargePoint
type: object
description: |-
A POI (Point of Interest), also referred to as a `Site` or `ChargePoint`, is the top-level set of information regarding a geographic site with one or more electric vehicle charging equipment present. The term `ChargePointID` is used to reference the unique ID for each POI, as called OCM ID. This reference appears in various UI elements in the format `OCM-12345` to distinguish the ID number as being a reference for a specific POI/site.
Expand Down Expand Up @@ -572,7 +573,7 @@ components:
ID: 148527
UUID: 4C524AA1-3413-4D56-804C-480304FEB0FB
UserComments:
- ID: string
- ID: 0
ChargePointID: 0
CommentTypeID: 0
CommentType: {}
Expand All @@ -589,8 +590,8 @@ components:
CheckinStatusType: {}
'': string
MediaItems:
- ID: string
ChargePointID: string
- ID: int
ChargePointID: int
ItemURL: string
ItemThumbnailURL: string
Comment: string
Expand Down Expand Up @@ -1053,7 +1054,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 All @@ -1080,9 +1081,9 @@ components:
description: A user submitted media item related to a specific charge point or site. Currently always an image.
properties:
ID:
type: string
type: integer
ChargePointID:
type: string
type: integer
ItemURL:
type: string
ItemThumbnailURL:
Expand Down Expand Up @@ -1751,7 +1752,7 @@ components:
- ID: 148527
UUID: 4C524AA1-3413-4D56-804C-480304FEB0FB
UserComments:
- ID: string
- ID: 0
ChargePointID: 0
CommentTypeID: 0
CommentType:
Expand All @@ -1773,8 +1774,8 @@ components:
IsAutomatedCheckin: true
IsPositive: true
MediaItems:
- ID: string
ChargePointID: string
- ID: 0
ChargePointID: 0
ItemURL: string
ItemThumbnailURL: string
Comment: string
Expand Down