Skip to content

Commit

Permalink
Merge pull request #175 from bci-oss/feature/opeapi_add_description
Browse files Browse the repository at this point in the history
feat:Added summary for the open api paths
  • Loading branch information
agg3fe authored Oct 20, 2023
2 parents c8201ad + 3de81c1 commit 265d040
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## 0.2.12
### Added
- Added summary for the open api paths

### Fixed
- Fixed CVE-2022-44729| CWE-918 Third-Party Components vulnerability.
Expand Down
12 changes: 12 additions & 0 deletions backend/src/main/resources/static/semantic-hub-openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns all the Semantic Models based on the Namespace and SemanticModelStatus
operationId: getModelList
parameters:
- in: query
Expand Down Expand Up @@ -78,6 +79,7 @@ paths:
post:
tags:
- SemanticHub
summary: Creates a new Semantic Model with the respective SemanticModelStatus for the respective SemanticModelType
operationId: createModelWithUrn
parameters:
- in: query
Expand Down Expand Up @@ -110,6 +112,7 @@ paths:
put:
tags:
- SemanticHub
summary: Updates an existing Semantic Model with the respective SemanticModelStatus for the respective SemanticModelType
operationId: modifyModel
parameters:
- in: query
Expand Down Expand Up @@ -144,6 +147,7 @@ paths:
post:
tags:
- SemanticHub
summary: Returns all the Semantic Models based on the URN list
operationId: getModelListByUrns
description: This endpoint allows to filter for a specific set of URNs. The endpoint returns the metadata, such as the model status. For URNs that are not in the database there is no entry in the result set. Therefore, a search array with 10 URNs can result in a response containing 9 or less result entries.
parameters:
Expand Down Expand Up @@ -189,6 +193,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns a Semantic Model based on the URN
operationId: getModelByUrn
parameters:
- in: path
Expand Down Expand Up @@ -232,6 +237,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns a Semantic Model file based on the URN
operationId: getModelFile
parameters:
- in: path
Expand All @@ -254,6 +260,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns a Semantic Model diagram based on the URN
operationId: getModelDiagram
parameters:
- in: path
Expand All @@ -276,6 +283,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns a Semantic Model HTML documentation based on the URN
operationId: getModelDocu
parameters:
- in: path
Expand All @@ -298,6 +306,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns a Semantic Model JSON schema based on the URN
operationId: getModelJsonSchema
parameters:
- in: path
Expand All @@ -320,6 +329,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns a Semantic Model Open API definition JSON based on the URN
operationId: getModelOpenApi
parameters:
- in: path
Expand Down Expand Up @@ -347,6 +357,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns a Semantic Model example payload JSON based on the URN
operationId: getModelExamplePayloadJson
parameters:
- in: path
Expand All @@ -369,6 +380,7 @@ paths:
get:
tags:
- SemanticHub
summary: Returns a Semantic Model AAS sub-model template based on the URN and AasFormat
operationId: getAasSubmodelTemplate
parameters:
- in: path
Expand Down

0 comments on commit 265d040

Please sign in to comment.