mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-11-13 04:34:47 +00:00
9fcff7851f
Too many changes in OpenAPI spec to describe each one, but basically it is tag fixes, bringing consitency to operation summaries and fixing some incorrect information.
6 lines
180 B
Elixir
6 lines
180 B
Elixir
defmodule Mix.Tasks.Pleroma.OpenapiSpec do
|
|
def run([path]) do
|
|
spec = Pleroma.Web.ApiSpec.spec(server_specific: false) |> Jason.encode!()
|
|
File.write(path, spec)
|
|
end
|
|
end
|