Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 516 Bytes

openapi.md

File metadata and controls

33 lines (23 loc) · 516 Bytes

marimo + openapi

Printing the OpenAPI schema

marimo development openapi

Writing a new OpenAPI schema

marimo development openapi > openapi/api.yaml

Validating an OpenAPI schema

pipx install openapi-spec-validator
marimo development openapi | openapi-spec-validator -

Generating a client from an OpenAPI schema

make fe-codegen

You will then need to reinstall the package in /frontend:

cd frontend
pnpm update @marimo-team/marimo-api