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.
Once installed, you can use this skill by running the following command in your terminal:
skills use api-endpoint