Skip to content

Commit

Permalink
updated swagger.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
albertoabellagarcia committed Nov 12, 2024
1 parent 7367e20 commit 7196738
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions MasterVessel/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:
MasterVessel:
$ref: "https://smart-data-models.github.io/dataModel.MarineTransport/MasterVessel/model.yaml#/MasterVessel"
info:
description: |
The data model is intended to provide information about vessels. It allows to represent the properties of each vessel: static and dynamic information
title: MasterVessel
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:
- MasterVessel
type: string
responses:
? "200"
:
content:
application/ld+json:
examples:
keyvalues:
summary: "Key-Values Pairs"
value:
-
$ref: "https://smart-data-models.github.io/dataModel.MarineTransport/MasterVessel/examples/example.json"
normalized:
summary: "Normalized NGSI-LD"
value:
-
$ref: "https://smart-data-models.github.io/dataModel.MarineTransport/MasterVessel/examples/example-normalized.jsonld"
description: OK
tags:
- ngsi-ld
tags:
-
description: "NGSI-LD Linked-data Format"
name: ngsi-ld

0 comments on commit 7196738

Please sign in to comment.