This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.1 | |
info: | |
version: "0.0.1" | |
title: Test Defect | |
description: >- | |
A client side JS error occurred when using the `TryItOut` feature of the SwaggerUI. It would try fail | |
to formatKeyValuePairs on a JSON query parameter. | |
paths: | |
/test: | |
get: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tailoredADL | |
title: "Automobile API" | |
description: "Automobile API" | |
version: "1.0.0" | |
resources: | |
- name: automobile | |
operations: | |
- list | |
- retrieve | |
properties: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export * from 'ramda-adjunct' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RA.isUinteger32(0); //=> true | |
RA.isUinteger32(2 ** 32 - 1); //=> true | |
RA.isUinteger32(Infinity); //=> false | |
RA.isUinteger32(NaN); //=> false | |
RA.isUinteger32(-1); //=> false | |
RA.isUinteger32(2 ** 32); //=> false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const alice = { | |
name: 'Alice', | |
address: { | |
street: 31, | |
zipCode: 97777, | |
}, | |
}; | |
const bob = { | |
name: 'Bob', | |
address: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RA.isBlank(''); //=> true | |
RA.isBlank(' '); //=> true | |
RA.isBlank('\t\n'); //=> true | |
RA.isBlank({}); //=> true | |
RA.isBlank(null); //=> true | |
RA.isBlank(undefined); //=> true | |
RA.isBlank([]); //=> true | |
RA.isBlank(false); //=> true | |
RA.isBlank('value'); //=> false | |
RA.isBlank({ foo: 'foo' }); //=> false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// sync interface | |
const multiply = (a, b) => a * b; | |
const multiplyAsync = async (...args) => multiply(...args); | |
multiply[Symbol.for('nodejs.util.promisify.custom')] = multiplyAsync; | |
// now in node.js when consuming this | |
import { promisify } from 'node:util'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
title: Upload bug in swagger ui | |
version: 1.0.0 | |
servers: | |
- url: http://example.com | |
paths: | |
/InsertFile: | |
post: | |
requestBody: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Apache License | |
Version 2.0, January 2004 | |
http://www.apache.org/licenses/ | |
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION | |
1. Definitions. | |
"License" shall mean the terms and conditions for use, reproduction, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RA.toNumber(3.2); //=> 3.2 | |
RA.toNumber(Number.MIN_VALUE); //=> 5e-324 | |
RA.toNumber(Infinity); //=> Infinity | |
RA.toNumber('3.2'); //=> 3.2 | |
RA.toNumber(Symbol('3.2')); //=> NaN |