Feedback

long response in Get throw error
Error Detected You can copy the error information and leave a message to the discussion group or official website suggestion feedback Error: Cannot create a string longer than 0x1fffffe8 characters at Object.slice (node:buffer:695:37) at Buffer.toString (node:buffer:865:14) at i (evalmachine.<anonymous>:1:475483) at o.toFastJSON (evalmachine.<anonymous>:1:467024) at o (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:47:432355) at r.<anonymous> (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:47:434372) at t1 (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:228:45045) at C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:228:85624 at C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:228:66876 at Function.<anonymous> (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:228:85598) at t1 (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:228:45079) at Function.invokeMap (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:228:77413) at t.<anonymous> (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:47:461762) at r.<anonymous> (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:47:439592) at r.<anonymous> (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:47:441039) at t1 (C:\Users\hojdy\AppData\Local\Programs\Apidog\resources\app.asar\dist\main\vendors.js:228:45045)
1
Enhanced OpenAPI Export Options (components/responses)
Problem: When exporting to OpenAPI, only the responses that are actively used in existing endpoints are included under components/responses. Additionally, the exporter automatically inlines response schemas in the path definitions, rather than keeping them as reusable references. This limits the usefulness of the export for creating base API templates or boilerplate definitions, since many pre-built responses and standard components are excluded. Proposed Enhancements: Option to include all pre-built components in export • Add a setting that allows all pre-defined responses to be included in the components/responses section of the OpenAPI JSON/YAML export. • This ensures consistency across projects and enables teams to build a “base API template” with shared assets, even if some responses aren’t currently tied to endpoints. Option to use $ref references in paths • Add a setting to prevent automatic inlining of responses under paths. • Instead, export them as $ref references to #/components/responses/.... Example: "/provision": { "post": { "responses": { "200": { "$ref": "#/components/responses/OK" }, "207": { "$ref": "#/components/responses/MultiStatus" }, "400": { "$ref": "#/components/responses/BadRequest" }, "422": { "$ref": "#/components/responses/UnprocessableEntity" } } } } Benefits: • Enables the creation of reusable base API templates. • Improves consistency across different projects. • Makes the exported OpenAPI spec cleaner and more maintainable. • Aligns with OpenAPI best practices by favoring $ref reuse instead of inlining.
1
Load More