Improve OpenAPI spec and deploy it to api.pleroma.social
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.
This commit is contained in:
parent
ba40af054c
commit
9fcff7851f
39 changed files with 334 additions and 229 deletions
6
lib/mix/tasks/pleroma/openapi_spec.ex
Normal file
6
lib/mix/tasks/pleroma/openapi_spec.ex
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue