This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.components.securitySchemes={ "ApiKeyAuth" : { "type": "apiKey", "in" : "header", "name" : "X-Gravitee-Api-Key"}} | .paths[]?[]?.security = [{"ApiKeyAuth" : []}] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends: spectral:oas | |
rules: | |
endpoint-should-be-https: | |
description: Endpoints should be using https | |
given: $.servers[*] | |
severity: error | |
then: | |
field: url | |
function: pattern | |
functionOptions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stages: | |
- validate | |
validate_open-api: | |
stage: validate | |
image: | |
name: stoplight/spectral | |
entrypoint: [""] | |
script: | |
- spectral lint request-apispec.json -f junit -o api-report.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
<build> | |
<plugins> | |
... | |
<plugin> | |
<groupId>org.springframework.boot</groupId> | |
<artifactId>spring-boot-maven-plugin</artifactId> | |
<version>VERSION HERE</version> | |
<configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8" ?> | |
<Feature SiLA2Version="0.1" FeatureVersion="1.0" Originator="org.silastandard" Category="examples" | |
xmlns="http://www.sila-standard.org" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.sila-standard.org https://gitlab.com/SiLA2/sila_base/raw/master/schema/FeatureDefinition.xsd"> | |
<Identifier>AutomatedStorage</Identifier> | |
<DisplayName>Automated Storage</DisplayName> | |
<Description>Feature allowing to interact with automated storage remote controls</Description> | |
<DataTypeDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Command> | |
... | |
<Parameter> | |
... | |
<DataType> | |
<DataTypeIdentifier>Rack</DataTypeIdentifier> | |
</DataType> | |
</Parameter> | |
... | |
</Command> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DataTypeDefinition> | |
<Identifier>Rack</Identifier> | |
<DisplayName>Rack</DisplayName> | |
<Description>Rack entity containing containers </Description> | |
<DataType> | |
... | |
</DataType> | |
</DataTypeDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Feature> | |
... | |
<Property> | |
<Identifier>FreezerTemperature</Identifier> | |
<DisplayName>Freezer Temperature</DisplayName> | |
<Description>The current temperature of the freezer</Description> | |
<DataType> | |
<Basic>Real</Basic> | |
</DataType> | |
<Observable>Yes</Observable> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Command> | |
... | |
<Parameter> | |
<Identifier>ExpectedRackContent</Identifier> | |
<DisplayName>Expected Rack Content</DisplayName> | |
<Description>The vials barcode and position which are expected within the rack</Description> | |
<DataType> | |
<List> | |
<DataType> | |
<Structure> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Command> | |
... | |
<Parameter> | |
<Identifier>RackBarcode</Identifier> | |
<DisplayName>Rack Barcode</DisplayName> | |
<Description>The barcode of the rack that will be inserted into the automated freezer</Description> | |
<DataType> | |
<Basic>String</Basic> | |
</DataType> | |
</Parameter> |
NewerOlder