diff --git a/Makefile b/Makefile index 21ed7dc..c7eb46d 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,6 @@ -.PHONY: codegen web3_codegen orderbook_codegen subgraph_codegen test lint format remove_unused_imports +.PHONY: codegen test lint format remove_unused_imports -codegen: web3_codegen orderbook_codegen subgraph_codegen - -# web3_codegen: -# poetry run web3_codegen +codegen: orderbook_codegen subgraph_codegen orderbook_codegen: poetry run datamodel-codegen --url="https://raw.githubusercontent.com/cowprotocol/services/v2.245.1/crates/orderbook/openapi.yml" --output cow_py/order_book/generated/model.py --target-python-version 3.12 --output-model-type pydantic_v2.BaseModel --input-file-type openapi