Comments (6)
Sure. I'm planning to do it tomorrow.
from oasdiff.
We could output this with a relatively small effort:
endpoints:
modified:
? method: POST
path: /example/callback
: extensions:
modified:
x-amazon-apigateway-integration:
from:
connectionId: ${vpc_link_id}
connectionType: VPC_LINK
httpMethod: POST
passthroughBehavior: when_no_match
responses:
default:
statusCode: "200"
type: http_proxy
uri: http://api.example.com/v1/example/callback
to:
connectionId: ${vpc_link_id}
connectionType: VPC_LINK
httpMethod: POST
passthroughBehavior: when_no_match
responses:
default:
statusCode: "200"
type: http_proxy
uri: http://api.example.com/v1/example/calllllllllback
Do you think it is good enough?
from oasdiff.
OpenAPI spec extensions are excluded from the diff.
Including this extension in the diff would require an enhancement.
from oasdiff.
OpenAPI spec extensions are excluded from the diff.
Including this extension in the diff would require an enhancement.
That's exactly what I've tried to request :)
Currently I have to use colordiff on top of oasdiff which kind of makes oasdiff not that useful as it could be & AWS API Gateways are pretty popular.
Unfortunately I don't have enough time & Golang expertise to implement that enhancement myself :(
from oasdiff.
We could output this with a relatively small effort:
Do you think it is good enough?
That's definitely better than "No changes"! :)
Of course I'd prefer to see smth like that:
endpoints:
modified:
? method: POST
path: /example/callback
: extensions:
modified:
x-amazon-apigateway-integration:
- uri: http://api.example.com/v1/example/callback
+ uri: http://api.example.com/v1/example/calllllllllback
from oasdiff.
@reuvenharrison thank you!
Any chance of adding that into a release any time soon?
from oasdiff.
Related Issues (20)
- Feature request: Support external metadata HOT 1
- Verbose CLI output to help troubleshoot (especially in composed mode) HOT 5
- oasdiff error in composed mode when the same path appears in different files HOT 1
- Race condition while parsing command line arguments if telemetry is enabled HOT 1
- "Error resolving reference/map key not found" when running oasdiff across the set of files with intensive external refs HOT 2
- Supporting "--fail-on" option for changelog command
- basePath and servers.ulr support HOT 3
- Diff tool gets confused when a new inline enum value is added and a new enum type is added at the sime time HOT 4
- Changelog does not log adding a new optional request body HOT 2
- `latest` docker container (April 8th) introduces a bug that causes false positives HOT 1
- --flatten-allof panic HOT 3
- Unmarshalling errors don't provide offset HOT 6
- Support breaking-changes and changelog for schemas with multiple types
- Support "flatten allOf" for schemas with multiple types
- Typo in description of incompatible changes HOT 2
- Incorrect Detection of Breaking Change for Default Values
- Adding deprecated: true to an operation yields a parse error HOT 5
- Handle default values properly
- Checksums do not match while using install script. HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oasdiff.