> openapi-lint > npx --yes @redocly/cli lint ./api/openapi.yml validating api/openapi.yml... [1] api/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 LTI Service REST API (internal) Warning was generated by the no-empty-servers rule. [2] api/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 LTI Service REST API (internal) 5 | description: |- Warning was generated by the info-license rule. [3] api/operations/lti_request.yml:88:7 at #/paths/login/post/responses Operation must have at least one `4XX` response. 86 | - lti_message_hint 87 | additionalProperties: false 88 | responses: 89 | 200: 90 | description: |- Warning was generated by the operation-4xx-response rule. [4] api/operations/lti_request.yml:30:7 at #/paths/launch/post/responses Operation must have at least one `4XX` response. 28 | - id_token 29 | additionalProperties: false 30 | responses: 31 | 200: 32 | description: |- Warning was generated by the operation-4xx-response rule. [5] api/operations/lti_request.yml:112:7 at #/paths/jwks/get/responses Operation must have at least one `4XX` response. 110 | parameters: 111 | - $ref: 'platform.yml#/components/parameters/platform_id' 112 | responses: 113 | 200: 114 | description: |- Warning was generated by the operation-4xx-response rule. [6] api/operations/session.yml:107:7 at #/paths/session_by_id_experiment/patch/responses Operation must have at least one `4XX` response. 105 | - role 106 | - device 107 | responses: 108 | 201: 109 | description: |- Warning was generated by the operation-4xx-response rule. api/openapi.yml: validated in 68ms Woohoo! Your API description is valid. 🎉 You have 6 warnings.