Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apidoc

Package Overview
Dependencies
Maintainers
1
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apidoc - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

3

CHANGELOG.md
# apiDoc Changelog
#### 0.2.2
Bugfix: Template not show @apiSuccessExample @apiErrorExample.
#### 0.2.1

@@ -4,0 +7,0 @@ Bugfix: executable line delimiters.

@@ -26,2 +26,7 @@ /**

*
* @apiExample CURL example:
* curl -i -X POST http://localhost:3001/example
* -H 'Content-Type: application/json' \
* -d '{ "id": "4711" }'
*
* @apiSuccess {String} id The Users-ID.

@@ -31,6 +36,14 @@ * @apiSuccess {Date} registered Registration Date.

*
* @apiSuccessExample Success-Response (example):
* HTTP/1.1 200 OK
* {
* "id": "4711"
* "registered": "31.01.2013"
* "name": "John Doe"
* }
*
* @apiError NoAccessRight Only authenticated Admins can access the data.
* @apiError UserNotFound The <code>id</code> of the User was not found.
*
* @apiErrorExample Response (example):
* @apiErrorExample Error-Response (example):
* HTTP/1.1 401 Not Authenticated

@@ -37,0 +50,0 @@ * {

2

package.json
{
"name": "apidoc",
"version": "0.2.1",
"version": "0.2.2",
"description": "RESTful web API Documentation Generator",

@@ -5,0 +5,0 @@ "author": "Peter Rottmann <rottmann@inveris.de>",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc