You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/customization.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -724,19 +724,26 @@ The `REMOVE_FILTER` parameter allows the removal of elements in an openAPI docum
724
724
### Available REMOVE_FILTER filters
725
725
726
726
-**`internal`**
727
-
When specified as `internal` or set to `internal:true`, all operations, schemas, properties and parameters marked with x-internal: true are removed from the document. Optionally set individual options like in `internal:operations|schemas|properties|parameters`
727
+
When specified as `internal` or set to `internal:true`, all operations, schemas, properties and parameters marked with `x-internal: true` are removed from the document. Optionally set individual options like in `internal:operations|schemas|properties|parameters`
728
728
729
729
-**`deprecated`**
730
-
When specified as `deprecated` or set to `deprecated:true`, all operations, schemas, properties and parameters marked with deprecated: true are removed.
730
+
When specified as `deprecated` or set to `deprecated:true`, all operations, schemas, properties and parameters marked with `deprecated: true` are removed.
731
731
732
-
-**`tags`**
733
-
When specified as `tags` or set to `tags:true`, all tags are removed.
734
-
When set to `tags:store|user` all tags whose name is store or user are removed.
735
-
When set to `tags:keepOnlyFirstTag` perform the KEEP_ONLY_FIRST_TAG_IN_OPERATION normalization
732
+
-**`removeTags`**
733
+
When specified as `removeTags` or set to `removeTags:true`, all tags are removed from the operations.
734
+
When set to `removeTags:store|user` all tags whose name is `store` or `user` are removed.
735
+
When set to `removeTags:keepOnlyFirstTag` perform the KEEP_ONLY_FIRST_TAG_IN_OPERATION normalization
736
736
737
-
-**`vendorExtensions`**
738
-
When specified as `vendorExtensions` or set to `vendorExtensions:true`, remove all vendorExtensions (including x-internal).
739
-
When set to `vendorExtensions:x-role|x-groups`, remove all `x-role` and `x-groups` vendorExtensions. When set to `vendorExtensions:x-internal`, perform the equivalent of REMOVE_X_INTERNAL normalization.
737
+
-**`removeVendorExtensions`**
738
+
When specified as `removeVendorExtensions` or set to `removeVendorExtensions:true`, remove all vendorExtensions (including x-internal).
739
+
When set to `removeVendorExtensions:x-role|x-groups`, remove all `x-role` and `x-groups` vendorExtensions. When set to `removeVendorExtensions:x-internal`, perform the REMOVE_X_INTERNAL normalization.
740
+
741
+
-**`x-`**
742
+
When specified as `x-role`, remove operations, schemas, properties and parameters having a vendor extension `x-role`.
743
+
When set to `x-role:admin|superuser`, remove operations, schemas, properties and parameters marked with vendorExtension `x-role:admin` or `x-role:superuser`.
744
+
745
+
-**`tags`**
746
+
When set as `tags:user|store`, remove operations marked with tags: user or store.
740
747
741
748
-**`unused`**
742
749
When specified as `unused` or set to `unused:true`, remove all unused schemas, tags, requestBodies, responses and parameters.
0 commit comments