@hasagi/schema 0.6.9 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -190,7 +190,6 @@ function endpointToOperation(endpoint, schema) {
|
|
|
190
190
|
}
|
|
191
191
|
else if (endpoint.method === "GET" || endpoint.method === "DELETE" || endpoint.method === "HEAD" || endpoint.method === "OPTIONS" || endpoint.method === "TRACE") {
|
|
192
192
|
const params = endpoint.arguments.slice(parameters.length).flatMap(arg => {
|
|
193
|
-
console.log(arg);
|
|
194
193
|
const type = getType(arg) ?? { type: "object", additionalProperties: true };
|
|
195
194
|
if ("$ref" in type) {
|
|
196
195
|
const schemaObject = schema.components.schemas[type.$ref.split("/").at(-1)];
|