This repository has been archived by the owner on Aug 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 624
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
431 additions
and
201 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
@echo on | ||
@echo off | ||
|
||
set BACK_PATH=%cd% | ||
set INSTALL_DERIVE=D: | ||
|
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,2 @@ | ||
<?php | ||
|
||
return [ | ||
[ | ||
'______' => '______', | ||
'______' => '______', | ||
'______' => '______', | ||
], | ||
[ | ||
"______" => "______", | ||
"______" => "______", | ||
"______" => "______", | ||
], | ||
[ | ||
'______' => '______', | ||
'______' => '______', | ||
'______' => '______', | ||
], | ||
[ | ||
"______" => "______", | ||
"______" => "______", | ||
"______" => "______", | ||
], | ||
[ | ||
"'______'" => "'______'", | ||
"'______'" => "'______'", | ||
"'______'" => "'______'", | ||
], | ||
[ | ||
'"Naming requests"' => '"命名请求"', | ||
'"Set indent character"' => '"设置缩进字符"', | ||
'"Option for setting indentation character"' => '"设置缩进字符的选项"', | ||
'"Collapse redundant folders"' => '"折叠冗余文件夹"', | ||
'"Optimize conversion"' => '"优化转换"', | ||
'"Request parameter generation"' => '"请求参数生成"', | ||
'"Response parameter generation"' => '"响应参数生成"', | ||
'"Folder organization"' => '"文件夹结构"', | ||
'"Select whether to create folders according to the spec’s paths or tags."' => '"选择是否根据规范的路径或标签创建文件夹."', | ||
'"Include auth info in example requests"' => '"在示例请求中包括认证信息"', | ||
'"Select whether to include authentication parameters in the example request"' => '"选择是否在示例请求中包括身份验证参数"', | ||
'"Schema"' => '"架构"', | ||
'"Example"' => '"示例"', | ||
'"Fallback"' => '"Fallback"', | ||
'"Determines how the requests inside the generated collection will be named. If “Fallback” is selected, the request will be named after one of the following schema values: `description`, `operationid`, `url`."' => '"确定如何命名所生成集合中的请求. 如果选择了“Fallback”, 则请求将以以下架构值之一命名: `description`, `operationid`, `url`."', | ||
'"Importing will collapse all folders that have only one child element and lack persistent folder-level data."' => '"导入将折叠所有只有一个子元素且缺少持久文件夹级数据的文件夹."', | ||
'"Optimizes conversion for large specification, disabling this option might affect the performance of conversion."' => '"优化大规格的转换, 禁用此选项可能会影响转换的性能."', | ||
'"Select whether to generate the request parameters based on the [schema](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject) or the [example](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#exampleObject) in the schema."' => '"选择是根据 [架构](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject) 还是根据架构中的 [示例](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#exampleObject) 生成请求参数."', | ||
'"Select whether to generate the response parameters based on the [schema](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject) or the [example](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#exampleObject) in the schema."' => '"选择是基于 [架构](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#schemaObject) 还是架构中的 [示例](https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#exampleObject) 生成响应参数."', | ||
'"______"' => '"______"', | ||
'"______"' => '"______"', | ||
'"______"' => '"______"', | ||
'"______"' => '"______"', | ||
'"______"' => '"______"', | ||
'"______"' => '"______"', | ||
] | ||
]; | ||
|
||
|
||
return require "openapi-to-postmanv2.js.php"; |
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
Oops, something went wrong.