API: generate /api/state documentation from UI types (#32431)
Co-authored-by: Michael Geers <michael@geers.tv>
This commit is contained in:
parent
c7c744f54e
commit
c3f3384bfc
44 changed files with 8757 additions and 3347 deletions
5
Makefile
5
Makefile
|
|
@ -31,7 +31,7 @@ CURRDIR := $(shell pwd)
|
|||
|
||||
default:: ui build
|
||||
|
||||
all:: clean install install-ui ui assets lint test-ui lint-ui test build
|
||||
all:: clean install install-ui ui assets openapi lint test-ui lint-ui test build
|
||||
|
||||
clean::
|
||||
rm -rf dist/
|
||||
|
|
@ -48,6 +48,9 @@ ui::
|
|||
assets::
|
||||
go generate ./...
|
||||
|
||||
openapi::
|
||||
vp run openapi
|
||||
|
||||
docs::
|
||||
go generate github.com/evcc-io/evcc/util/templates/...
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue