111 Commits

Author SHA1 Message Date
Mark Kaylor
d25e7468fb Add required attributes to response 2023-04-24 15:25:17 +02:00
Mark Kaylor
b71708a303 Add a component schema for each model 2023-04-24 15:25:17 +02:00
Mark Kaylor
8bdcc13ddc Fix single types using wrong response component 2023-04-24 15:25:17 +02:00
Mark Kaylor
72bb36afbc Use immer 2023-04-24 15:25:17 +02:00
Mark Kaylor
e82a1a9519 PR feedback 2023-04-24 15:25:17 +02:00
Mark Kaylor
5c680d4b8f Clean comments and spacing 2023-04-24 15:25:17 +02:00
Mark Kaylor
4e5dee17bb Refactor to scope mutations 2023-04-24 15:25:17 +02:00
Mark Kaylor
b160ee3707 Add JSDoc 2023-04-24 15:25:17 +02:00
Mark Kaylor
03c811e6c6 Remove immer in favor of a simple function with similar result 2023-04-24 15:25:17 +02:00
Mark Kaylor
19ce046512 Apply overrides for specified versions 2023-04-24 15:25:17 +02:00
Mark Kaylor
f8a631d84e Test excludeFromGeneration and customizer 2023-04-24 15:25:17 +02:00
Mark Kaylor
da3b4ed42d Remove mockdata 2023-04-24 15:25:17 +02:00
Mark Kaylor
179f3eb65d Reduce use of lodash and respect fp immutability 2023-04-24 15:25:17 +02:00
Mark Kaylor
02a6ea5cf5 Add customizer function 2023-04-24 15:25:17 +02:00
Mark Kaylor
743139db75 Migrate current override implementation to dedicated service 2023-04-24 15:25:17 +02:00
Mark Kaylor
119ddd4d98 Test the current override system 2023-04-24 15:25:17 +02:00
Mark Kaylor
f0cf844b61 Add paths key to mock 2023-04-24 15:25:17 +02:00
Mark Kaylor
236116200b Remove email from default plugins 2023-04-24 15:25:17 +02:00
Mark Kaylor
273116941e Test only specified plugins are documented 2023-04-24 15:25:17 +02:00
Mark Kaylor
23acbabc95 Fix plugins generating documentation the user doesn't want 2023-04-24 15:25:17 +02:00
Mark Kaylor
88a6c16746 Test generated schema is valid 2023-04-24 15:25:17 +02:00
Mark Kaylor
8c781fe8e8 Format lines for readability 2023-04-24 15:25:17 +02:00
Mark Kaylor
fdbd8e5d55 Refactor and fix tests 2023-04-24 15:25:17 +02:00
Mark Kaylor
ff9621a843 Fix invalid openapi schema override 2023-04-24 15:25:17 +02:00
Raphael Müßeler
5ec28f30fd fix: added query parameter for locale (API Documentation Plugin) 2022-11-15 22:22:25 +01:00
Dillen Meijboom
095c8822c1
Add free-form filters to the query parameters 2022-09-20 11:48:59 +02:00
GitStart
1642c18734
Merge branch 'main' into STRAP-54 2022-09-15 07:31:52 +01:00
gitstart
9175297519 ID in schema have type string 2022-09-06 05:35:56 +00:00
Alexandre Bodin
e57f02d2d9 Fix eslint in plugins folder 2022-09-05 15:18:24 +02:00
gitstart
6b94965574 ID in schema have type string 2022-08-31 10:37:08 +00:00
Gustav Hansen
365bcf3014 Documentation: Fix eslint errors 2022-08-23 15:58:05 +02:00
Gustav Hansen
18e60778cc Documentation: Fix eslint errors 2022-08-23 15:51:04 +02:00
markkaylor
f5a62af92b
Merge pull request #13458 from meganoob1337/strapi/fix/issue-13453-documentation-fix
fix #13453 Documentation Plugin doesn't generate Proper Type for the …
2022-08-23 14:57:15 +02:00
Alexandre Bodin
cf49ddbbfc Prettier and backend fix 2022-08-11 10:20:49 +02:00
Alexandre Bodin
0ae14c06cb 1st fix pass 2022-08-11 10:20:48 +02:00
Andrei
2143c2d3d0
Merge branch 'strapi:master' into strapi/fix/issue-13453-documentation-fix 2022-08-01 13:46:26 +02:00
Andrei Wilkens
f4519a89a1 renamed addSchema to addComponentSchema and fixed a template string 2022-08-01 13:44:21 +02:00
Convly
bdb5a3ee89 Merge branch 'releases/4.3.0' into features/typescript 2022-06-30 16:08:51 +02:00
Andrei Wilkens
be96961ff9 comment 2022-06-30 13:09:24 +02:00
Andrei Wilkens
82d2921964 added jsdoc for new params 2022-06-30 13:03:52 +02:00
Andrei Wilkens
9b57d63af4 Adjusted Review changes 2022-06-30 13:01:19 +02:00
Andrei Wilkens
4195dc9b38 Merge branch 'master' into strapi/fix/issue-13453-documentation-fix 2022-06-30 12:38:23 +02:00
Alexandre Bodin
f925e93db4 Complete U&P documentation 2022-06-04 09:48:31 +02:00
Andrei Wilkens
6d168f8c54 remove ? 2022-06-03 16:33:25 +02:00
Andrei Wilkens
59793db5b4 fix #13453 Documentation Plugin doesn't generate Proper Type for the Localization prop , and doesn't generate Refs for Components in Dynamic Zones 2022-06-03 14:57:30 +02:00
Alexandre Bodin
720f05ad48 Merge branch 'master' into fix/up-fixes 2022-06-03 10:07:51 +02:00
Alexandre Bodin
573d56bc30 Improve doc merge and start documentation of U&P 2022-06-02 15:52:47 +02:00
Alexandre Bodin
bdf2e13290 Init docs fix 2022-06-01 23:12:16 +02:00
Convly
da364912ee Merge branch 'master' of github.com:strapi/strapi into features/typescript 2022-05-31 15:29:18 +02:00
Michael Nilsson
65cb147ec9 Fix generation of OpenAPI documentation with top level type attribute 2022-05-27 16:17:47 +02:00