-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
* Organize collection schemas into array-max-*.yaml files. I tried to name the files after the natural upper bound that they all share. This makes it clearer what the collection describes, too, besides not having to repeat the actual constant. * Move most of the base responses into the top level openapi.yaml file. This means that all the header definitions can be references in the bundled spec which had ballooned past 12k lines. It's now down to ~4500, which is what the original unsplit spec sat at, IIRC. * Enable redocly lint again locally on save. We can add the VS Code plugin back to populated the problems tab, but this is working for me. That linter validates examples. I deleted a couple of examples that weren't validating, but we have a lot of examples to create, so I don't think that's a problem. * Redocly doesn't dereference externalValue examples, so I changed them to `$ref:` and put them in the `docs/examples` folder for now. * Ensure all requests use 400 with the problem media type, and they all have an empty 500 which is used as the default response, too. * Most importantly, all the linter builds are passing and there are no local warnings. I also did some ad hoc experimentation with Azure's `autotest` to make sure I could generate a client with it. That did uncover a few schema issues that are addressed here as well.
- Loading branch information
There are no files selected for viewing
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
'200': | ||
$ref: '../../openapi-split.yaml#/components/responses/200' | ||
'304': | ||
$ref: '../../openapi-split.yaml#/components/responses/304' | ||
'400': | ||
$ref: '../../openapi-split.yaml#/components/responses/400' | ||
'401': | ||
$ref: '../../openapi-split.yaml#/components/responses/401' | ||
'403': | ||
$ref: '../../openapi-split.yaml#/components/responses/403' | ||
'404': | ||
$ref: '../../openapi-split.yaml#/components/responses/404' | ||
'406': | ||
$ref: '../../openapi-split.yaml#/components/responses/406' | ||
'410': | ||
$ref: '../../openapi-split.yaml#/components/responses/410' | ||
'429': | ||
$ref: '../../openapi-split.yaml#/components/responses/429' | ||
'500': &unexpected-error | ||
$ref: '../../openapi-split.yaml#/components/responses/500' | ||
default: *unexpected-error |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.