-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Labels
Description
Implement API Console functionality.
Each method in ReDoc will have a button: “Try this method” which will open interactive console modal window.
There is the list of key features that should be implemented in the first version:
- Ability to send GET, POST, PUT, DELETE, UPDATE requests
- Ability to input/use/save authorization credentials
- Show UI for easy entering parameters for path, headers, query and body (payload) parameters
- UI should show selectbox for enums, checkboxes for boolean, text input for other simple types
- Request should be validated before send according to OpenAPI spec
- Support different environments (e.g. sandbox, dev, testing, etc) through OpenAPI vendor extension (each env will have unique base url and description) + ability to set default env specially for API-console
- For most parts response will be shown “as is”. JSON response will be only prettified (with possibility of collapsing). The other responses will be represented as strings.
- Show response headers that are documented in swagger. HTTP response headers that are not documented will be hidden under “Show undocumented response headers” button
ericmillsio, grokify, manschutz-samsung, typekpb, nachii and 198 morejulianazuniga, dbykov, kevin70, sschwell, manuquentin and 7 morearvi, pallocchi, gfelot, nrempel, julianazuniga and 17 more