Michael Welch

Results 41 comments of Michael Welch

I'm not even sure why the code checks for `param.type`. The spec does not call out a type field on the [Parameter Object](https://spec.openapis.org/oas/v3.0.3#fixed-fields-9). I see that some of the tests...

Oh, I like the idea of this PR. We have a few operations with really long example URLs

I'm getting this issue and based on an earlier comment I changed the config to `recommended`. I'm still getting the same error. What is the rule even saying? I've searched...

@tatomyr You can hide my comment or mark it as off-topic. After struggling with this for a bit my colleague that set up redocly-cli on our repo showed me that...

Here's just a real minimal example of the issue. ```yaml openapi: 3.0.3 info: title: Pets description: Pet store version: '0.3' components: examples: speed: summary: Speed of Pet value: Fast paths:...

I wrote up this issue because I was completely unaware that I was using `example` incorrectly because if you follow my incorrect set of steps 1. Create a shared example...

> You can pass module(s) that define custom keywords/formats. The modules should export a function that accepts Ajv instance as a parameter. The file name should start with ".", it...

Here's my first attempt: ```js function customKeywords(ajv, keyword) { console.log(`checking ${keyword}`); if (keyword === 'myKeyword') { return ajv; } throw new Error(`Unknown keyword ${keyword}`); } module.exports = customKeywords; ``` I've...

The help subsystem adds this additional blurb (not exactly in the README): > -c module(s) should export a function that accepts Ajv instance as parameter > (file path should start...

I'm looking at https://github.com/ajv-validator/ajv-cli/issues/86 for some additional help. Could you add a few words about you named your example and how you use `-c` to reference it?