27 Commits

Author SHA1 Message Date
soupette
818927f7b5 Fix conflicts
Signed-off-by: soupette <cyril.lpz@gmail.com>
2020-03-23 14:33:17 +01:00
Ralph
dae9cfa415
Make plugins documentation generation optional (#5465)
* Make plugins documentation generation optional

Signed-off-by: Ralph Maroun <rmaroun@outlook.com>

* Removing "-" character from schema names for generated plugin documentation so it becomes compatible with AWS API gateway import API feature using OAS file. Adding only one property to the settings file pluginsForWhichToGenerateDoc so that the user can choose for which plugin he wishes to generate documentation. Adding a parameter to generate or not the default response (this can now be set to false to have a documentation that is compatible with AWS API Gateway).

Signed-off-by: Ralph Maroun <rmaroun@outlook.com>

* Updating settings.json to start without the pluginsForWhichToGenerateDoc key so that all plugins documentation gets generated by default. Updated the documentation to reflect this change.

Signed-off-by: Ralph Maroun <rmaroun@outlook.com>

* Updating documentation to correct typos and rephrase some sentences to make them more clear.

Signed-off-by: Ralph Maroun <rmaroun@outlook.com>

* Destructuring the config to the var pluginsForWhichToGenerateDoc instead of renaming it to take into account comment from Alexandre Bodin

Signed-off-by: Ralph Maroun <rmaroun@outlook.com>

* Destructuring generateDefaultResponse and pluginsForWhichToGenerateDoc from strapi config object based on feedback from Alexandre Bodin

Signed-off-by: Ralph Maroun <rmaroun@outlook.com>

Co-authored-by: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
2020-03-20 14:03:51 +01:00
Vedran Krizic
f29b712b86
changed location of overrides 2020-01-09 17:19:48 +01:00
Jim LAURIE
5102051b10 fix: get route desc
Fix the access to the `config.description` if the the `config` key not exist.

fix #2533
2019-12-20 14:47:31 +01:00
Alexandre Bodin
d901b54c2e Support dynamic zones in documentation plugin 2019-12-02 12:00:07 +01:00
Alexandre Bodin
b9122edf0d Rename groups to components 2019-11-13 18:49:02 +01:00
soupette
6f8b23d254 Fix conflicts 2019-09-27 16:26:09 +02:00
Alexandre Bodin
548c77aebf Pass group associations as second param 2019-09-17 10:18:34 +02:00
Abdón Rodríguez Davila
54c383fd44
Merge branch 'master' into eslint-update 2019-09-12 15:05:53 +02:00
Alexandre Bodin
32b8e4174b Fix json type and add groups 2019-09-10 16:54:50 +02:00
Alexandre Bodin
e07d83a89b Add richtext 2019-09-10 16:54:50 +02:00
Abdón Rodríguez Davila
f04f372442 Update Object.prototype.hasOwnProperty.call to lodash.has 2019-08-28 12:20:27 +02:00
Abdón Rodríguez Davila
61c41d821c Fix no-prototype-builtins rule 2019-08-28 12:20:27 +02:00
Louis Augry
a3fe9d5a38 Fix documention typo 2019-07-08 15:10:17 +02:00
Alexandre Bodin
c5dc672cc7 Only use keys from settings.json to create documentation files, fix array concat only for routes in extensions 2019-06-16 14:44:24 +02:00
Jim LAURIE
2b092ada12 Fix load settings 2019-06-13 17:12:49 +02:00
Alexandre Bodin
5af9e477a9 Update strapi-plugin-documentation paths 2019-04-16 09:05:46 +02:00
Jim LAURIE
29795248b8
Merge branch 'master' into patch-6 2019-03-11 16:27:08 +01:00
Jim LAURIE
8241863444
Merge branch 'master' into enhancement/bigint 2019-03-07 13:42:16 +01:00
EpicUsaMan
38887214ed
Add support for array of methods to plugins 2019-03-05 22:03:52 +02:00
EpicUsaMan
585051b77f
Remove unused code 2019-03-05 21:12:35 +02:00
EpicUsaMan
3acebcffc0
Support array of methods in documentation plugin 2019-03-05 20:55:46 +02:00
EpicUsaMan
2c2e22d48c
Fix for UPPERCASE / camelCase names 2019-02-28 21:41:46 +02:00
DMehaffy
d656077399 add a few more bigint 2019-01-21 05:11:48 -07:00
soupette
ab4571aa32 Fix model reference in route config 2018-12-13 16:29:57 +01:00
soupette
52e5f87cd3 Fix post schema 2018-12-07 00:14:59 +01:00
soupette
7ed610242a Add token in swagger and fix private fields 2018-12-06 18:03:56 +01:00