all: test

test:
	rm -f openapi-test.yaml
	(echo "########## AUTO-GENERATED FILE: DO NOT EDIT! ##########" >> openapi-test.yaml)
	cat 0_intro/*.yaml >> openapi-test.yaml
	(echo "paths:" >> openapi-test.yaml)
	cat 1_endpoints/*.yaml >> openapi-test.yaml
	(echo "components:" >> openapi-test.yaml)
	cat 2_components/*.yaml >> openapi-test.yaml
	cat 3_misc/*.yaml >> openapi-test.yaml

final-build:
	cp openapi-test.yaml ../FINAL_BUILD_TARGET

clean:
	rm -f openapi-test.yaml
