This file contains hidden or 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
| function getRandomIntInclusive(min, max) { | |
| min = Math.ceil(min); | |
| max = Math.floor(max); | |
| return Math.floor(Math.random() * (max - min + 1) + min); //The maximum is inclusive and the minimum is inclusive | |
| } | |
| const genArr = () => { | |
| const arr = []; | |
| for(let i = 0; i < getRandomIntInclusive(0, 100); i++){ | |
| arr.push(getRandomIntInclusive(0, 100)) |
This file contains hidden or 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: Mateus API | |
| description: A simple API with one route | |
| version: 1.0.0 | |
| paths: | |
| /hello: | |
| get: | |
| summary: Get a friendly greeting | |
| description: Returns a simple greeting message |
OlderNewer