Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add HTTP verb annotations to all web methods #99

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

daniel-beck
Copy link
Member

Essentially an experiment, but should work just fine.

Getting explicit verb annotations even without jenkinsci/stapler#205

@@ -171,6 +172,7 @@ public boolean isApplicable(Class<? extends AbstractFolder> folder) {
}

@GET
@POST
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Delete @GET and set checkMethod="post".

@daniel-beck daniel-beck marked this pull request as draft May 12, 2021 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants