api-endpoint
Add new API endpoints to the OpenGov SDK from an OpenAPI specification. Use when: (1) Adding a new resource module (e.g., fees.py, transactions.py) (2) Adding endpoints to an existing module (3) User provides an OpenAPI spec file path or asks to "add endpoints" or "implement API methods" Creates: endpoint module, Pydantic models (params, response, enums), tests, and exports.
Installation and usage
Add new API endpoints to the OpenGov SDK from an OpenAPI specification. Use when: (1) Adding a new resource module (e.g., fees.py, transactions.py) (2) Adding endpoints to an existing module (3) User provides an OpenAPI spec file path or asks to "add endpoints" or "implement API methods" Creates: endpoint module, Pydantic models (params, response, enums), tests, and exports.
安裝後,您可以透過在終端機執行以下指令來使用此技能:
skills use api-endpoint