A method decorator for defining HTTP OPTIONS routes.
The route path for the OPTIONS endpoint.
Optional
Optional configuration for the route.
A method decorator configured for an OPTIONS route.
@Options('/resource')optionsResource() { return 'Options for resource';} Copy
@Options('/resource')optionsResource() { return 'Options for resource';}
A method decorator for defining HTTP OPTIONS routes.