New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More ā†’
Socket
Sign inDemoInstall
Socket

@readme/oas-examples

Package Overview
Dependencies
Maintainers
10
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@readme/oas-examples - npm Package Compare versions

Comparing version 5.14.0 to 5.15.0

125

3.0/json/request-examples.json

@@ -164,2 +164,47 @@ {

}
},
{
"name": "param3",
"in": "query",
"schema": {
"type": "string"
},
"examples": {
"userRegistration": {
"summary": "example summary (param 3)",
"description": "a lengthier example description (param 3)",
"value": "param3-example"
}
}
},
{
"name": "param4",
"in": "query",
"schema": {
"type": "string"
},
"example": "param4-example"
},
{
"name": "param5",
"in": "header",
"required": true,
"schema": {
"type": "string"
},
"examples": {
"userRegistration": {
"summary": "example summary (param 5)",
"description": "a lengthier example description (param 5)",
"value": "param5-example"
}
}
},
{
"name": "param6",
"in": "header",
"schema": {
"type": "string"
},
"example": "param6-example"
}

@@ -682,2 +727,64 @@ ],

}
},
"/requestBody-form-data-example": {
"post": {
"summary": "Demo handling of formData",
"operationId": "demoFormData",
"requestBody": {
"content": {
"application/x-www-form-urlencoded": {
"schema": {
"required": ["client_id", "client_secret"],
"type": "object",
"properties": {
"client_id": {
"type": "string"
},
"client_secret": {
"type": "string"
},
"scope": {
"type": "integer",
"format": "int32"
}
}
},
"examples": {
"auth_example": {
"value": {
"client_id": "id123",
"client_secret": "secret456",
"scope": 789
}
}
}
}
},
"required": false
},
"responses": {
"200": {
"description": "Valid Token",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/Token"
},
"examples": {
"auth_example": {
"value": {
"access_token": 123,
"token_type": "type456",
"expires_in": 789
}
}
}
}
}
},
"401": {
"description": "Unauthorized"
}
}
}
}

@@ -726,2 +833,20 @@ },

},
"Token": {
"title": "Token",
"required": ["access_token", "token_type", "expires_in"],
"type": "object",
"properties": {
"access_token": {
"type": "integer",
"format": "int32"
},
"token_type": {
"type": "string"
},
"expires_in": {
"type": "integer",
"format": "int32"
}
}
},
"user": {

@@ -728,0 +853,0 @@ "type": "object",

2

package.json

@@ -12,3 +12,3 @@ {

],
"version": "5.14.0",
"version": "5.15.0",
"repository": {

@@ -15,0 +15,0 @@ "type": "git",

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