Ghost/core/server/api/v2/utils
naz 071bf8edb5
Extracted Admin API JSON schemas into @tryghost/admin-api-schema (#12237)
closes https://github.com/TryGhost/Ghost/issues/10628

- JSON Schemas were extracted into a separate module to allow other clients to reuse them (for example documentation). Having them in a separate package also slims down the amount of code needed to be maintained in the core.
- Updated canary API input validators to use admin-api-schema module
- Removed canary schemas that moved into admin-api-schema package
- Updated v2 API input validators to use admin-api-schema package
- Removed v2 schemas that moved into admin-api-schema package
- Updated tests to contain needed information in apiConfig to pick up correct validation
- Added @tryghost/admin-api-schema package dependency
2020-09-30 16:25:12 +13:00
..
serializers 🐛 Fixed Tags API v2 to return posts count 2020-08-31 18:46:35 +12:00
validators Extracted Admin API JSON schemas into @tryghost/admin-api-schema (#12237) 2020-09-30 16:25:12 +13:00
index.js Added comments for Ghost API 2019-05-06 14:49:25 +02:00
permissions.js Refactored common lib import to use destructuring (#11835) 2020-05-22 19:22:20 +01:00