-
-
Notifications
You must be signed in to change notification settings - Fork 782
Closed
Description
In the openapi spec there are several instances of a block called x-parameters. These are "vendor extensions" according the OpenAPI spec https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#patterned-objects .
The API documentation generator is leaving these out, so there's no way to know they exist without looking directly at the spec.
Example:
- API docs for
POST /auth/v1/tokenshttps://api.stackstorm.com/auth/v1/tokens/#/token_controller.post - Spec for
POST /auth/v1/tokenshttps://github.com/StackStorm/st2/blob/master/st2common/st2common/openapi.yaml#L3991-L4020 - You can see that the parameters
remote_addrandremote_userare missing from the docus, even though they're in the spec.