Skip to content

Instantly share code, notes, and snippets.

@Pchelolo
Created March 20, 2019 16:58
Show Gist options
  • Save Pchelolo/636082fdf116306318d595364de34939 to your computer and use it in GitHub Desktop.
Save Pchelolo/636082fdf116306318d595364de34939 to your computer and use it in GitHub Desktop.
/lint/{title}/{revision}:
x-route-filters:
- path: ./lib/access_check_filter.js
options:
redirect_cache_control: '{{options.response_cache_control}}'
- path: lib/security_response_header_filter.js
get:
<<: *lint_title_get_spec
parameters:
- name: title
in: path
description: "Page title. Use underscores instead of spaces. Example: `Main_Page`."
type: string
- name: revision
in: path
description: The revision
type: integer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment