forked from httpie/http-prompt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add support for open api servers
In openapi 3 the 'schemes' and 'basePath' were replaced with a single property called 'servers', in this property we introduce the available servers with the full path, for example: ```yaml servers: - url: https://statsapi.web.nhl.com/api/v1 ``` With this change, a flag is added in the parsing of the context `is_open_api` that can be used to check for the new properties available in open api 3. fixes httpie#197 Signed-off-by: Arturo Volpe <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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