OpenMercantil · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for OpenMercantil Public Stats API

4 actions 4 updates phrasing extends openapi/openmercantil-stats-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for OpenMercantil's API. It is a proposal applied on top of the contract, not a document OpenMercantil publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/api/v1/sectores/stats'].get
$.paths['/api/v1/sectores/stats.csv'].get
$.paths['/api/v1/ccaa/stats'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for OpenMercantil Public Stats API
  version: 1.0.0
extends: openapi/openmercantil-stats-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-26'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/api/v1/sectores/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get company statistics by sector
      effect: read
      questions:
      - How many companies are there per CNAE sector and how fast are they growing?
      - Where can I see growth statistics across sectors?
      instructions:
      - text: Get the sector aggregate statistics.
      - text: Show company counts and growth by sector.
      method: generated
      generated: '2026-09-26'
- target: $.paths['/api/v1/sectores/stats.csv'].get
  update:
    x-apievangelist-phrasing:
      intent: Download sector statistics as CSV
      effect: read
      questions:
      - Can I download sector statistics as a CSV file?
      - Is there a spreadsheet of company counts by sector?
      instructions:
      - text: Download the sector statistics as CSV.
      - text: Export sector company counts to a CSV file.
      method: generated
      generated: '2026-09-26'
- target: $.paths['/api/v1/ccaa/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get company statistics by autonomous community
      effect: read
      questions:
      - How many companies are there in each Spanish autonomous community?
      - Can I compare regions like Madrid and Catalonia by company count?
      instructions:
      - text: Get the company statistics by autonomous community.
      - text: Show company totals for each CCAA.
      method: generated
      generated: '2026-09-26'