Exporting OpenAPI Spec Using effect-http

Is it possible to get effect-http to output an OpenAPI spec as a JSON file? I can view it in the Swagger UI, but now I need to be able to automatically generate the OpenAPI file from the code.
Was this page helpful?