Apidoc: Invalid nesting in apiSuccess since Version 0.27.0

Created on 18 May 2021  路  4Comments  路  Source: apidoc/apidoc

Following code:

       ...
       * @apiSuccess (200) {Boolean} ok True when success
       * @apiSuccess (200) {Object} data Response data, that includes returned values
       * @apiSuccess (200) {Object} data.fileType File Type and Extension.
       * @apiSuccess (200) {String} data.fileType.ext Detected Image Extension from file type.
       * @apiSuccess (200) {String} data.fileType.mime Detected Image Mime Type from file type.
       * @apiSuccess (200) {Buffer} data.imageBuffer Image Buffer.
       * @apiSuccess (200) {String} data.extension Image Extension from URL.
       ...
  is causing invalid nesting:

image

I just tried it with 0.26.0 - it works just fine.

bug

Most helpful comment

Does it seem reasonable to all if I just remove the sorting function and let the order in which it was parsed be the one in the output doc? The code is not working anyway and seems hard to fix. Also, I _love_ removing code ^^

All 4 comments

This is the correct one, that I get in 0.26.0:

image

Rolling back version to 26 can solve the problem.
git checkout bf56f2ff872850560423f6e0ea215c5905787db7

Does it seem reasonable to all if I just remove the sorting function and let the order in which it was parsed be the one in the output doc? The code is not working anyway and seems hard to fix. Also, I _love_ removing code ^^

@NicolasCARPi this will be helpful. also any new params can just b added at last of documentation, instead of comparing various versions.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kingmayko picture kingmayko  路  3Comments

OsoianMarcel picture OsoianMarcel  路  6Comments

whitelujx picture whitelujx  路  3Comments

YannDoW picture YannDoW  路  4Comments

ameliariely picture ameliariely  路  7Comments