naftiko: 1.0.0-alpha2 info: label: HubSpot CMS Source Code API — File Validation description: 'HubSpot CMS Source Code API — File Validation. 1 operations. Lead operation: Hubspot Validate a Source Code File. Self-contained Naftiko capability covering one Hubspot business surface.' tags: - Hubspot - File Validation created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HUBSPOT_API_KEY: HUBSPOT_API_KEY capability: consumes: - type: http namespace: source-code-file-validation baseUri: https://api.hubapi.com description: HubSpot CMS Source Code API — File Validation business capability. Self-contained, no shared references. resources: - name: cms-v3-source-code-environment-validate-path path: /cms/v3/source-code/{environment}/validate/{path} operations: - name: validatesourcecodefile method: POST description: Hubspot Validate a Source Code File outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.HUBSPOT_API_KEY}}' exposes: - type: rest namespace: source-code-file-validation-rest port: 8080 description: REST adapter for HubSpot CMS Source Code API — File Validation. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/cms/v3/source-code/{environment}/validate/{path} name: cms-v3-source-code-environment-validate-path description: REST surface for cms-v3-source-code-environment-validate-path. operations: - method: POST name: validatesourcecodefile description: Hubspot Validate a Source Code File call: source-code-file-validation.validatesourcecodefile with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: source-code-file-validation-mcp port: 9090 transport: http description: MCP adapter for HubSpot CMS Source Code API — File Validation. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: hubspot-validate-source-code-file description: Hubspot Validate a Source Code File hints: readOnly: true destructive: false idempotent: false call: source-code-file-validation.validatesourcecodefile with: body: tools.body outputParameters: - type: object mapping: $.