openapi: 3.2.0 info: title: Schwarz It Rules API version: 1.0.0 contact: name: YOUR_CONTACT_NAME url: YOUR_CONTACT_LINK email: YOUR_CONTACT@EMAIL.COM description: 'Operations tagged rules across 2 of this provider''s published API definitions: schwarz-it-api-linter-service-openapi.json, schwarz-it-api-linter-service-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: http://localhost:3001 - url: YOUR_PROD_SERVER_NAME tags: - name: Rules paths: /api-linting/api/v1/rules: get: operationId: RulesController_getCompanyApiRules summary: Rules controller get company api rules description: Get company API linting rules for Spectral as YAML. parameters: - name: apiType required: true in: query allowEmptyValue: false schema: enum: - backend_for_frontend - legacy_api - product_api type: string responses: '200': description: Provides company API linting rules as stream download. '400': description: '"apiType" query param is missing.' tags: - Rules x-summary-source: derived servers: - url: http://localhost:3001 - url: YOUR_PROD_SERVER_NAME externalDocs: description: YOUR_DOCS_NAME url: YOUR_DOCS_LINK x-refined-from: - schwarz-it-api-linter-service-openapi.json - schwarz-it-api-linter-service-openapi.yml