> 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 Simple Authentication Service (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 Simple Authentication Service (internal) 5 | description: |- Warning was generated by the info-license rule. [3] api/resources/token.yml:40:9 at #/components/paths/token/post/responses Operation must have at least one `4XX` response. 38 | required: 39 | - username 40 | responses: 41 | 201: 42 | description: The token was created successfully. Warning was generated by the operation-4xx-response rule. ./api/openapi.yml: validated in 49ms Woohoo! Your API description is valid. 🎉 You have 3 warnings.