Skip to content

Commit

Permalink
removed new_model.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Sep 1, 2023
1 parent 409b889 commit 9414d73
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions ParkingSpot/swagger.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
# Copyleft (c) 2022 Contributors to Smart Data Models initiative
#


components:
schemas:
ParkingSpot:
$ref: "https://smart-data-models.github.io/dataModel.Parking/ParkingSpot/model.yaml#/ParkingSpot"
info:
description: |
A parking spot is an area well delimited where one vehicle can be parked.
title: ParkingSpot
version: "0.1.0"
openapi: "3.0.0"

paths:
/ngsi-ld/v1/entities:
get:
description: "Retrieve a set of entities which matches a specific query from an NGSI-LD system"
parameters:
-
in: query
name: type
required: true
schema:
enum:
- ParkingSpot
type: string
responses:
? "200"
:
content:
application/ld+json:
examples:
keyvalues:
summary: "Key-Values Pairs"
value:
-
$ref: "https://smart-data-models.github.io/dataModel.Parking/ParkingSpot/examples/example.json"
normalized:
summary: "Normalized NGSI-LD"
value:
-
$ref: "https://smart-data-models.github.io/dataModel.Parking/ParkingSpot/examples/example-normalized.jsonld"
description: OK
tags:
- ngsi-ld
tags:
-
description: "NGSI-LD Linked-data Format"
name: ngsi-ld

0 comments on commit 9414d73

Please sign in to comment.