@insertish/oapi
Advanced tools
Comparing version 0.1.13 to 0.1.14
@@ -117,3 +117,3 @@ #!/usr/bin/env bash | ||
for (const schema of Object.keys(schemas)) { | ||
entries.push(`export type ${schema} = components['schemas']['${schema}'];`); | ||
entries.push(`export type ${schema.replace(/\s/g, '_')} = components['schemas']['${schema}'];`); | ||
} | ||
@@ -120,0 +120,0 @@ |
{ | ||
"name": "@insertish/oapi", | ||
"version": "0.1.13", | ||
"version": "0.1.14", | ||
"description": "API Library Generator for OpenAPI", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -188,3 +188,3 @@ // This file was auto-generated by @insertish/oapi! | ||
/** | ||
* Send HTTP GET request. | ||
* Send HTTP PATCH request. | ||
* @param path Path | ||
@@ -191,0 +191,0 @@ * @param params Body or Query Parameters |
18962