-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add --diff-path flag #302
Merged
Merged
Add --diff-path flag #302
Conversation
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
Sample - plain
Sample - JSON/YAML
{
"added": [
{
"url": "/gems_json",
"method": "GET",
"params": [
{
"name": "query",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "sort",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "cookie",
"value": "",
"param_type": "cookie",
"tags": []
}
],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/param_in_path/doc_param_in_json.json"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/gems_json",
"method": "POST",
"params": [
{
"name": "query",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "sort",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "cookie",
"value": "",
"param_type": "cookie",
"tags": []
}
],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/param_in_path/doc_param_in_json.json"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/gems",
"method": "GET",
"params": [],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/no_servers/doc_no_servers.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/gems_yml",
"method": "GET",
"params": [
{
"name": "query",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "sort",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "cookie",
"value": "",
"param_type": "cookie",
"tags": []
}
],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/param_in_path/doc_param_in_path.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/gems_yml",
"method": "PUT",
"params": [
{
"name": "query",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "sort",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "cookie",
"value": "",
"param_type": "cookie",
"tags": []
}
],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/param_in_path/doc_param_in_path.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/pets",
"method": "GET",
"params": [
{
"name": "query",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "sort",
"value": "",
"param_type": "query",
"tags": []
},
{
"name": "cookie",
"value": "",
"param_type": "cookie",
"tags": []
}
],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/common/doc.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/pets",
"method": "POST",
"params": [
{
"name": "name",
"value": "",
"param_type": "json",
"tags": []
}
],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/common/doc.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/pets/{petId}",
"method": "GET",
"params": [],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/common/doc.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/pets/{petId}",
"method": "PUT",
"params": [
{
"name": "name",
"value": "",
"param_type": "json",
"tags": []
},
{
"name": "breed",
"value": "",
"param_type": "json",
"tags": []
}
],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/common/doc.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/shards",
"method": "GET",
"params": [],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas3/multiple_docs/second.yml"
}
]
},
"protocol": "http",
"tags": []
}
],
"removed": [
{
"url": "/v1/pets",
"method": "GET",
"params": [],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas2/doc.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/v1/pets",
"method": "POST",
"params": [],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas2/doc.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/v1/pets/{petId}",
"method": "GET",
"params": [],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas2/doc.yml"
}
]
},
"protocol": "http",
"tags": []
},
{
"url": "/v1/pets/{petId}",
"method": "PUT",
"params": [],
"details": {
"code_paths": [
{
"path": "./spec/functional_test/fixtures/oas2/doc.yml"
}
]
},
"protocol": "http",
"tags": []
}
],
"changed": []
}
added:
- url: /gems_json
method: GET
params:
- name: query
value: ""
param_type: query
tags: &1 []
- name: sort
value: ""
param_type: query
tags: &2 []
- name: cookie
value: ""
param_type: cookie
tags: &3 []
details:
code_paths: &4
- path: ./spec/functional_test/fixtures/oas3/param_in_path/doc_param_in_json.json
protocol: http
tags: []
- url: /gems_json
method: POST
params:
- name: query
value: ""
param_type: query
tags: *1
- name: sort
value: ""
param_type: query
tags: *2
- name: cookie
value: ""
param_type: cookie
tags: *3
details:
code_paths: *4
protocol: http
tags: []
- url: /gems
method: GET
params: []
details:
code_paths:
- path: ./spec/functional_test/fixtures/oas3/no_servers/doc_no_servers.yml
protocol: http
tags: []
- url: /gems_yml
method: GET
params:
- name: query
value: ""
param_type: query
tags: &5 []
- name: sort
value: ""
param_type: query
tags: &6 []
- name: cookie
value: ""
param_type: cookie
tags: &7 []
details:
code_paths: &8
- path: ./spec/functional_test/fixtures/oas3/param_in_path/doc_param_in_path.yml
protocol: http
tags: []
- url: /gems_yml
method: PUT
params:
- name: query
value: ""
param_type: query
tags: *5
- name: sort
value: ""
param_type: query
tags: *6
- name: cookie
value: ""
param_type: cookie
tags: *7
details:
code_paths: *8
protocol: http
tags: []
- url: /pets
method: GET
params:
- name: query
value: ""
param_type: query
tags: []
- name: sort
value: ""
param_type: query
tags: []
- name: cookie
value: ""
param_type: cookie
tags: []
details:
code_paths: &9
- path: ./spec/functional_test/fixtures/oas3/common/doc.yml
protocol: http
tags: []
- url: /pets
method: POST
params:
- name: name
value: ""
param_type: json
tags: []
details:
code_paths: *9
protocol: http
tags: []
- url: /pets/{petId}
method: GET
params: []
details:
code_paths: *9
protocol: http
tags: []
- url: /pets/{petId}
method: PUT
params:
- name: name
value: ""
param_type: json
tags: []
- name: breed
value: ""
param_type: json
tags: []
details:
code_paths: *9
protocol: http
tags: []
- url: /shards
method: GET
params: []
details:
code_paths:
- path: ./spec/functional_test/fixtures/oas3/multiple_docs/second.yml
protocol: http
tags: []
removed:
- url: /v1/pets
method: GET
params: []
details:
code_paths: &10
- path: ./spec/functional_test/fixtures/oas2/doc.yml
protocol: http
tags: []
- url: /v1/pets
method: POST
params: []
details:
code_paths: *10
protocol: http
tags: []
- url: /v1/pets/{petId}
method: GET
params: []
details:
code_paths: *10
protocol: http
tags: []
- url: /v1/pets/{petId}
method: PUT
params: []
details:
code_paths: *10
protocol: http
tags: []
changed: [] |
Closed
github-actions
bot
added
the
📑 documentation
Improvements or additions to documentation
label
May 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
📑 documentation
Improvements or additions to documentation
⚙️ options
Issue for options (flag)
📦 output-builder
Issue for output builder (format)
💊 spec
Issue for test codes
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
How
NoirRunner
.NoirRunner
.More options?
--diff-path