mirror of
https://github.com/foss42/apidash.git
synced 2025-12-04 20:13:56 +08:00
Update HTTPVerb
This commit is contained in:
@@ -7,7 +7,17 @@ enum APIType {
|
||||
final String label;
|
||||
}
|
||||
|
||||
enum HTTPVerb { get, head, post, put, patch, delete }
|
||||
enum HTTPVerb {
|
||||
get("GET"),
|
||||
head("HEAD"),
|
||||
post("POST"),
|
||||
put("PUT"),
|
||||
patch("PAT"),
|
||||
delete("DEL");
|
||||
|
||||
const HTTPVerb(this.abbr);
|
||||
final String abbr;
|
||||
}
|
||||
|
||||
enum SupportedUriSchemes { https, http }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user