naftiko: 1.0.0-alpha2 info: label: Advance Auto Parts Catalog API — Vehicles description: 'Advance Auto Parts Catalog API — Vehicles. 3 operations. Lead operation: Advance Auto Parts List Vehicle Makes. Self-contained Naftiko capability covering one Advance Auto Parts business surface.' tags: - Advance Auto Parts - Vehicles created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ADVANCE_AUTO_PARTS_API_KEY: ADVANCE_AUTO_PARTS_API_KEY capability: consumes: - type: http namespace: catalog-vehicles baseUri: https://api.advanceautoparts.com/v1 description: Advance Auto Parts Catalog API — Vehicles business capability. Self-contained, no shared references. resources: - name: vehicles-makes path: /vehicles/makes operations: - name: getvehiclemakes method: GET description: Advance Auto Parts List Vehicle Makes outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: year in: query type: integer description: Vehicle model year. required: true - name: vehicles-models path: /vehicles/models operations: - name: getvehiclemodels method: GET description: Advance Auto Parts List Vehicle Models outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: year in: query type: integer description: Vehicle model year. required: true - name: makeId in: query type: string description: Vehicle make identifier. required: true - name: vehicles-years path: /vehicles/years operations: - name: getvehicleyears method: GET description: Advance Auto Parts List Vehicle Years outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: X-API-Key value: '{{env.ADVANCE_AUTO_PARTS_API_KEY}}' placement: header exposes: - type: rest namespace: catalog-vehicles-rest port: 8080 description: REST adapter for Advance Auto Parts Catalog API — Vehicles. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/vehicles/makes name: vehicles-makes description: REST surface for vehicles-makes. operations: - method: GET name: getvehiclemakes description: Advance Auto Parts List Vehicle Makes call: catalog-vehicles.getvehiclemakes with: year: rest.year outputParameters: - type: object mapping: $. - path: /v1/vehicles/models name: vehicles-models description: REST surface for vehicles-models. operations: - method: GET name: getvehiclemodels description: Advance Auto Parts List Vehicle Models call: catalog-vehicles.getvehiclemodels with: year: rest.year makeId: rest.makeId outputParameters: - type: object mapping: $. - path: /v1/vehicles/years name: vehicles-years description: REST surface for vehicles-years. operations: - method: GET name: getvehicleyears description: Advance Auto Parts List Vehicle Years call: catalog-vehicles.getvehicleyears outputParameters: - type: object mapping: $. - type: mcp namespace: catalog-vehicles-mcp port: 9090 transport: http description: MCP adapter for Advance Auto Parts Catalog API — Vehicles. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: advance-auto-parts-list-vehicle description: Advance Auto Parts List Vehicle Makes hints: readOnly: true destructive: false idempotent: true call: catalog-vehicles.getvehiclemakes with: year: tools.year outputParameters: - type: object mapping: $. - name: advance-auto-parts-list-vehicle-2 description: Advance Auto Parts List Vehicle Models hints: readOnly: true destructive: false idempotent: true call: catalog-vehicles.getvehiclemodels with: year: tools.year makeId: tools.makeId outputParameters: - type: object mapping: $. - name: advance-auto-parts-list-vehicle-3 description: Advance Auto Parts List Vehicle Years hints: readOnly: true destructive: false idempotent: true call: catalog-vehicles.getvehicleyears outputParameters: - type: object mapping: $.