Commit graph

70 commits

Author SHA1 Message Date
lain
57e6f2757a ChatOperation: Make simple schema into inline schema 2020-05-04 12:47:23 +02:00
lain
dcf535fe77 Credo fixes. 2020-05-04 11:32:11 +02:00
lain
651935f137 Schemas: Refactor to our naming scheme. 2020-05-04 11:08:00 +02:00
lain
c40afe5ba0 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms 2020-05-04 10:43:20 +02:00
rinpatch
c18ef452b0 OpenAPI: Add follow_request to notification types
Closes #1731
2020-05-01 23:14:20 +03:00
rinpatch
85105f7aae OpenAPI: Remove max pagination limit from the spec
In an ideal world clients wouldn't try to request more than the max
hardcoded limit, but SubwayTooter does.
2020-05-01 21:33:34 +03:00
lain
3370bb0e46 Merge branch 'openapi/notifications' into 'develop'
Add OpenAPI spec for NotificationController

See merge request pleroma/pleroma!2437
2020-05-01 13:09:36 +00:00
lain
ad2182bbd2 Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_create_request.ex 2020-04-30 11:38:26 +00:00
Egor Kislitsyn
9c1adb35de
Merge branch 'develop' into openapi/notifications 2020-04-30 13:52:07 +04:00
Egor Kislitsyn
1898054da4
Merge branch 'develop' into openapi/reports 2020-04-30 13:51:27 +04:00
rinpatch
8cf3a32463 Add exlude_replies to OpenAPI spec for account timelines 2020-04-30 00:49:59 +03:00
lain
b68d56c816 Apply suggestion to lib/pleroma/web/api_spec/schemas/chat_message_response.ex 2020-04-29 19:49:13 +00:00
lain
67659afe48 ChatOperation: Refactor. 2020-04-29 13:34:43 +02:00
lain
0c491b904d Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms 2020-04-29 13:19:04 +02:00
Egor Kislitsyn
5238ae3dd3
Add OpenAPI spec for NotificationController 2020-04-28 21:27:54 +04:00
Ivan Tashkinov
4c0e53367a [#2349] Post-merge fix. 2020-04-28 20:04:25 +03:00
Egor Kislitsyn
560f2c1979
Add OpenAPI spec for ReportController 2020-04-28 16:50:37 +04:00
lain
b5dc59c8fa Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms 2020-04-28 14:16:21 +02:00
Egor Kislitsyn
dda65f7799
Move single used schemas to operation schema 2020-04-27 22:55:05 +04:00
Egor Kislitsyn
2efc00b3cf
Use json_response_and_validate_schema/2 in tests to validate OpenAPI schema 2020-04-27 20:46:52 +04:00
lain
ad82a216ff Chat API: Align more to Pleroma/Mastodon API. 2020-04-27 17:48:34 +02:00
lain
49e673dfea ChatView: Add actor_account_id 2020-04-27 16:08:03 +02:00
lain
00e956528b Credo fixes. 2020-04-27 14:02:11 +02:00
lain
15ba3700af Chat Schemas: Inline unimportant Schemas. 2020-04-27 12:45:59 +02:00
Egor Kislitsyn
f1ca917bb0
Merge branch 'develop' into openapi/account 2020-04-27 14:33:00 +04:00
lain
c86143ed73 Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms 2020-04-27 12:07:08 +02:00
Egor Kislitsyn
f362836742
Support validation for inline OpenAPI schema and automatic tests for examples 2020-04-24 15:16:15 +04:00
Egor Kislitsyn
1b06a27746
Update Flake ID description 2020-04-22 20:20:19 +04:00
Egor Kislitsyn
6c26feed01
Merge branch 'develop' into openapi/account 2020-04-22 20:18:12 +04:00
Egor Kislitsyn
11433cd38d
Add OpenAPI schema for FlakeID 2020-04-21 23:54:45 +04:00
Egor Kislitsyn
f0238d010a
Improve OpenAPI schema
- Removes unneeded wrapping in examples
- Adds `:format` attributes
2020-04-21 23:30:24 +04:00
lain
66c2eb670b ChatController: Validate parameters. 2020-04-21 18:23:00 +02:00
lain
97ad0c4597 Chats: Add API specs. 2020-04-21 17:51:06 +02:00
lain
a185b5455f Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remake-remodel-dms 2020-04-21 14:24:27 +02:00
lain
3c828016d9 Merge branch 'openapi/custom-emojis' into 'develop'
Add OpenAPI spec for CustomEmojiController

See merge request pleroma/pleroma!2375
2020-04-21 10:13:50 +00:00
Egor Kislitsyn
ed3974af24 Add OpenAPI spec for AccountController.identity_proofs operation 2020-04-20 18:40:02 +04:00
Egor Kislitsyn
163341857a
Improve OpenAPI errors 2020-04-17 19:27:22 +04:00
lain
6ace22b56a Chat: Add views, don't return them in timeline queries. 2020-04-15 18:23:16 +02:00
Egor Kislitsyn
0e647ff55a
Abstract pagination params in OpenAPI spec 2020-04-15 16:45:45 +04:00
Egor Kislitsyn
8ed162b655 Fix formatting 2020-04-15 15:57:00 +04:00
minibikini
5a2e45a218 Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex 2020-04-15 11:29:10 +00:00
minibikini
81a4c15816 Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex 2020-04-15 10:48:52 +00:00
minibikini
a45bd91d4e Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex 2020-04-15 10:48:32 +00:00
minibikini
bfa26b0937 Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex 2020-04-15 10:30:19 +00:00
minibikini
a794ba655f Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex 2020-04-15 10:27:01 +00:00
minibikini
a7feca1604 Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex 2020-04-15 10:26:53 +00:00
minibikini
d3e876aeee Apply suggestion to lib/pleroma/web/api_spec/operations/account_operation.ex 2020-04-15 10:26:44 +00:00
rinpatch
cc4ff19e34 openapi: add application/x-www-form-urlencoded to body types
Closes #1683
2020-04-15 00:49:21 +03:00
Egor Kislitsyn
247e6fcb90
Merge branch 'develop' into openapi/account 2020-04-14 19:45:22 +04:00
Egor Kislitsyn
4dca712e90
Add OpenAPI spec for DomainBlockController 2020-04-13 22:44:52 +04:00