Fix/adjust swagger components
@@ -130,14 +130,10 @@ module.exports = (crowi) => {
* content:
* application/json:
* schema:
- * $ref: '#/components/schemas/CustomizeLayoutTheme'
- * $ref: '#/components/schemas/CustomizeBehavior'
- * $ref: '#/components/schemas/CustomizeFunction'
- * $ref: '#/components/schemas/CustomizeHighlight'
- * $ref: '#/components/schemas/CustomizeTitle'
- * $ref: '#/components/schemas/CustomizeHeader'
- * $ref: '#/components/schemas/CustomizeCss'
- * $ref: '#/components/schemas/CustomizeScript'
+ * properties:
+ * customizeParams:
+ * type: object
+ * description: customize params
*/
router.get('/', loginRequiredStrictly, adminRequired, async(req, res) => {
@@ -100,10 +100,9 @@ module.exports = (crowi) => {
* properties:
- * markdonwParams:
- * $ref: '#/components/schemas/LineBreakParams'
- * $ref: '#/components/schemas/PresentationParams'
- * $ref: '#/components/schemas/XssParams'
+ * markdownParams:
+ * description: markdown params
const markdownParams = {