🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

next-rest-framework

Package Overview
Dependencies
Maintainers
1
Versions
86
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

next-rest-framework - npm Package Versions

1
5689

0.7.2

Diff
blomqma
published 0.7.2 •

Changelog

Source

0.7.2 - 2023-05-19

Fixed

  • Fix path finding for windows environments, and add path parameters to OpenAPI spec.
blomqma
published 0.7.1 •

Changelog

Source

0.7.1 - 2023-05-09

Fixed

  • Fix miscellaneous bugs with Zod schemas, where intersection, nullable and enum types were not working with the OpenAPI spec generation.
blomqma
published 0.7.0 •

Changelog

Source

0.7.0 - 2023-04-17

Added

  • Add a binary script that can be used programmatically to generate the OpenAPI spec e.g. before running next build.
blomqma
published 0.6.0 •

Changelog

Source

0.6.0 - 2023-04-11

Added

  • Add SwaggerUI customization options for using custom title, description, logo and favicon.

Fixed

  • Fix bug that caused custom OpenAPI YAML file paths not working.
  • Fix documentation and examples that were using Zod number schemas for query parameter validation, resulting in an error when following the examples.
blomqma
published 0.5.1 •

Changelog

Source

0.5.1 - 2023-03-28

Fixed

  • Revert the addition of the localOpenApiSpec config option. Using a user-defined route resulted in the generated OpenAPI spec file not being included in the Vercel build artifacts, thus making it not work. This issue is fixed by using a static path for the spec file so it will be always called openapi.json and lies in the project root.
blomqma
published 0.5.0 •

Changelog

Source

0.5.0 - 2023-03-28

Changed

  • Change OpenAPI generation by generating a local OpenAPI spec file that is dynamically updated in local development and used in production for the OpenAPI endpoints. Rename the openApiSpec config option to openApiSpecOverrides for better clarity with the added localOpenApiSpec path option.
blomqma
published 0.4.2 •

Changelog

Source

0.4.2 - 2023-03-21

Fixed

  • Fix bug with middlewares and error handlers that responded to the API request and the execution was not stopped.
blomqma
published 0.4.1 •

Changelog

Source

0.4.1 - 2023-03-20

Fixed

  • Fix the getting started docs containing a typo that caused an error.
blomqma
published 0.4.0 •

Changelog

Source

0.4.0 - 2023-03-15

Fixed

  • Fix the OpenAPI instrumentation for dynamic routes containing parameters that were not displayed correctly in the Swagger UI.

Changed

  • Defining content type and request body are no longer required in the input object. Making the endpoint definition friendlier for different types of requests.
blomqma
published 0.3.7 •

Changelog

Source

0.3.7 - 2023-03-09

Fixed

  • Fix previous release not reflecting the latest changes introduced in the release notes of v0.3.6.