Comments (3)
Thank you for reporting this @nginx-nickc!
Looks like an easy fix.
Well, actually not that easy. Taking into account @MarcelHoell's comment here, it's not clear where we expect the x-
properties to be merged (in certain defined places or everywhere?) and how exactly (do we want to replace the values, or take the first one, or try merging if they are not primitive?).
from redocly-cli.
Thank you for reporting this @nginx-nickc!
Looks like an easy fix.Well, actually not that easy. Taking into account @MarcelHoell's comment here, it's not clear where we expect thex-
properties to be merged (in certain defined places or everywhere?) and how exactly (do we want to replace the values, or take the first one, or try merging if they are not primitive?).
Might be slightly different scenarios? In this case, the path objects are separate discrete objects that doesn't require "merging" the objects themselves, vs the other case where there are common "info", etc object that requires merging the underlying objects.
from redocly-cli.
Well, it may or may not be a different scenario. There's no guarantee that API descriptions foo
and bar
both contain the same path with different operations but with the same x-
property.
Mentioned that issue to have a broader perspective. The x-
properties could reside on different nodes and require different handling strategies.
from redocly-cli.
Related Issues (20)
- Example validation is not done against the schema HOT 7
- bundle command converts floating point numbers to integers HOT 1
- Self-referencing circular pointer HOT 2
- Allow specifying an overwrite conflict strategy for the `join` command HOT 1
- Add docs for Arazzo linting
- Linting does not catch default value types not conforming to specified field type HOT 2
- Translations and eject command wrapper
- Using curl instead of the cli interface HOT 2
- Add `boolean-schema-prefixes` (analogue to `boolean-parameter-prefixes`) rule to schema/model validation HOT 2
- root level paths `/` are not split correctly HOT 1
- Suppress update now logging HOT 1
- Pattern properties casing triggers error after upgrade, possible regression with 1.18.1 release HOT 1
- [OAS 3 spec] License object `identifier` and `url` keys are mutually-exclusive HOT 6
- Cannot find module './types/arazzo' HOT 6
- Remove all usages of component marked x-internal HOT 6
- Prerendering docs followed by build command build-docs HOT 4
- Rule no-invalid-media-type-examples check fails on example with combination of two anyOf objects HOT 5
- Remove `node-fetch` package and use Node.js 18 native`fetch` HOT 2
- Update per-API settings
- Question regarding skipping preprocessors and decorators during bundle operation HOT 3
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 redocly-cli.