projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request 'Fix postgres install and setup for fedora guide' (#147) from...
[akkoma]
/
lib
/
mix
/
tasks
/
pleroma
/
openapi_spec.ex
1
defmodule Mix.Tasks.Pleroma.OpenapiSpec do
2
def run([path]) do
3
# Load Pleroma application to get version info
4
Application.load(:pleroma)
5
spec = Pleroma.Web.ApiSpec.spec(server_specific: false) |> Jason.encode!()
6
File.write(path, spec)
7
end
8
end