Comments (2)
Thanks @samanthawritescode ! I think this aligns pretty closely with existing issue #970, where you could at least add the decorator multiple times for the API description that wants two sets of filtering applied.
I think your current options are either the filter-out decorator as you already mentioned, to use a custom plugin that does something similar and accepts multiple things-to-remove, or to prepare the the documentation version of the OpenAPI file by applying filtering to the result of preparing the GitHub version (hopefully that makes sense).
from redocly-cli.
Thanks @lornajane for the response! I agree that existing issue is related. I didn't even think to try something like that.
Preparing the documentation version of the spec by applying filtering to the result of the GitHub version is interesting, I'll consider it. Clever idea.
from redocly-cli.
Related Issues (20)
- Update the CLI Guides landing page HOT 4
- Unexpected error when specifying a wildcarded path for linting on Windows
- `spec-strict-ref` rule failing when $ref used in components section HOT 3
- Update syntax for decorators to support markdown as well as file paths
- Support for operations that respond with `1xx` status codes HOT 5
- Incorrect command to preview local docs changes in contributing.md HOT 3
- Review guide for replacing servers list HOT 1
- redocly lint format html or markdown HOT 5
- better error handling when $ref references an external file in asyncapi HOT 7
- asyncapi lint support custom rules HOT 8
- Can't resolve remote $ref with query parameter HOT 3
- OAS 3.1 - arbitrary schema keywords are classified as lint errors HOT 3
- Missing const typing support HOT 2
- bug: inconsistent types for OAS3_1 schemas HOT 1
- Add some type of plugin to allow dynamic definition of extensions or config files HOT 2
- Support better means to set environment variables HOT 3
- dependentRequired is valid json schema but does not pass linting and prevents component from being available in UI. HOT 3
- Api HOT 2
- Add the `--ext` parameter to the `split` command HOT 1
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.