request-typer
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -44,3 +44,3 @@ "use strict"; | ||
return { | ||
required: !parameter.schema.options.optional, | ||
required: parameter.type === "query" ? !parameter.schema.options.optional : true, | ||
name: key, | ||
@@ -47,0 +47,0 @@ in: parameter.type, |
{ | ||
"name": "request-typer", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "make typed request schema and build OpenAPI Specification", | ||
@@ -5,0 +5,0 @@ "files": [ |
43566