Improve OpenAPI schema
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 21 Apr 2020 19:30:24 +0000 (23:30 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 21 Apr 2020 19:30:24 +0000 (23:30 +0400)
commitf0238d010a61ab935b61beebd5674593a75f17dc
treed3fee10a1c6347b5307b8c1cfae29e78898018d1
parented3974af248a1b201d2008f1a128ee53550ef78b
Improve OpenAPI schema

- Removes unneeded wrapping in examples
- Adds `:format` attributes
12 files changed:
lib/pleroma/web/api_spec/schemas/account.ex
lib/pleroma/web/api_spec/schemas/account_create_request.ex
lib/pleroma/web/api_spec/schemas/account_create_response.ex
lib/pleroma/web/api_spec/schemas/account_emoji.ex
lib/pleroma/web/api_spec/schemas/account_field.ex
lib/pleroma/web/api_spec/schemas/account_field_attribute.ex
lib/pleroma/web/api_spec/schemas/account_follows_request.ex
lib/pleroma/web/api_spec/schemas/account_relationship.ex
lib/pleroma/web/api_spec/schemas/app_create_request.ex
lib/pleroma/web/api_spec/schemas/app_create_response.ex
lib/pleroma/web/api_spec/schemas/list.ex
lib/pleroma/web/api_spec/schemas/status.ex