projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
524bf514427633fe78cc8b150940070d8286c0bf
[akkoma]
/
openapi_spec.ex
1
defmodule Mix.Tasks.Pleroma.OpenapiSpec do
2
def run([path]) do
3
spec = Pleroma.Web.ApiSpec.spec(server_specific: false) |> Jason.encode!()
4
File.write(path, spec)
5
end
6
end