Skip to content

Commit

Permalink
updated swagger.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Oct 5, 2023
1 parent d5cbb74 commit 8b8b5b6
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions CheckpointAreaLocation/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:
CheckpointAreaLocation:
$ref: "https://smart-data-models.github.io/dataModel.ACRIS/CheckpointAreaLocation/model.yaml#/CheckpointAreaLocation"
info:
description: |
Property. The geospatial or geopolitical location of a Checkpoint.
title: CheckpointAreaLocation
version: "0.0.1"
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:
- CheckpointAreaLocation
type: string
responses:
? "200"
:
content:
application/ld+json:
examples:
keyvalues:
summary: "Key-Values Pairs"
value:
-
$ref: "https://smart-data-models.github.io/dataModel.ACRIS/CheckpointAreaLocation/examples/example.json"
normalized:
summary: "Normalized NGSI-LD"
value:
-
$ref: "https://smart-data-models.github.io/dataModel.ACRIS/CheckpointAreaLocation/examples/example-normalized.jsonld"
description: OK
tags:
- ngsi-ld
tags:
-
description: "NGSI-LD Linked-data Format"
name: ngsi-ld

0 comments on commit 8b8b5b6

Please sign in to comment.