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

typera-openapi

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typera-openapi - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

9

dist/generate.js

@@ -381,7 +381,6 @@ "use strict";

const props = ctx.checker.getPropertiesOfType(type);
return props.map((prop) => ({
name: prop.name,
in: in_,
required: in_ === 'path' ? true : !utils_1.isOptional(prop),
}));
return props.map((prop) => {
const description = getDescriptionFromComment(ctx, prop);
return Object.assign({ name: prop.name, in: in_, required: in_ === 'path' ? true : !utils_1.isOptional(prop) }, (description ? { description } : undefined));
});
};

@@ -388,0 +387,0 @@ const typeToHeaders = (ctx, type) => {

{
"name": "typera-openapi",
"version": "1.0.1",
"version": "1.0.2",
"description": "Generate OpenAPI spec from typera routes",

@@ -5,0 +5,0 @@ "repository": "https://github.com/akheron/typera-openapi",

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