> @crosslab/openapi-spec@0.0.1 openapi-lint > node generate.js && npx --yes @redocly/cli lint ./openapi.yml validating ./openapi.yml... [1] openapi.yml:2:1 at #/openapi Servers must be present. 1 | # yaml-language-server: $schema=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json 2 | openapi: 3.1.0 3 | info: 4 | title: CrossLab REST API Warning was generated by the no-empty-servers rule. [2] openapi.yml:3:1 at #/info Info object should contain `license` field. 1 | # yaml-language-server: $schema=https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/schemas/v3.1/schema.json 2 | openapi: 3.1.0 3 | info: 4 | title: CrossLab REST API 5 | description: |- Warning was generated by the info-license rule. [3] gen/CrossLab Device Service REST API (internal)-0.0.1.json:543:17 at #/components/parameters/device_id/name Path parameter `device_id` is not used in the path `{$request.query.changedUrl}`. 541 | "device_id": { 542 | "in": "path", 543 | "name": "device_id", 544 | "description": "UUID of the device", 545 | "required": true, Warning was generated by the path-parameters-defined rule. [4] gen/CrossLab Device Service REST API (internal)-0.0.1.json:543:17 at #/components/parameters/device_id/name Path parameter `device_id` is not used in the path `{$request.query.changedUrl}`. 541 | "device_id": { 542 | "in": "path", 543 | "name": "device_id", 544 | "description": "UUID of the device", 545 | "required": true, Warning was generated by the path-parameters-defined rule. ./openapi.yml: validated in 212ms Woohoo! Your OpenAPI definition is valid. 🎉 You have 4 warnings.