[RMB-43] document HTTP status codes Created: 26/Jun/17 Updated: 06/Feb/20 Resolved: 10/Jul/17 |
|
| Status: | Closed |
| Project: | RAML Module Builder |
| Components: | None |
| Affects versions: | None |
| Fix versions: | 13.0.0 |
| Type: | New Feature | Priority: | P2 |
| Reporter: | Julian Ladisch | Assignee: | Julian Ladisch |
| Resolution: | Done | Votes: | 0 |
| Labels: | core, sprint17, team1, team2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original estimate: | Not Specified | ||
| Issue links: |
|
||||||||||||||||||||||||
| Sprint: | |||||||||||||||||||||||||
| Description |
|
Add a section to Add an enum to rmb with those status codes. |
| Comments |
| Comment by Julian Ladisch [ 29/Jun/17 ] |
|
https://docs.oracle.com/javase/8/docs/api/java/net/HttpURLConnection.html#field.summary contains some HTTP status codes, but 422 is missing, and they are int constants without the type safety of an enum. http://vertx.io/docs/apidocs/io/vertx/core/http/HttpMethod.html is an enum of HTTP methods (like GET, POST, PATCH) but does not contain HTTP status codes like 200, 204, 422. |
| Comment by Julian Ladisch [ 06/Jul/17 ] |
|
The proposed enum HttpStatus.java in https://github.com/folio-org/raml-module-builder/pull/95 is a replacement for classes and constant definitions like |
| Comment by shale99 [ 09/Jul/17 ] |
|
merged. closing issue and assigning fixed version |
| Comment by shale99 [ 09/Jul/17 ] |
|
can someone change the fixed version to 13.0.0? for some reason i can not edit it |
| Comment by Julian Ladisch [ 10/Jul/17 ] |
|
The Jira project "folio" doesn't have version numbers. The enum HttpStatus.java is in raml-module-builder from version 13.0.0 on: |
| Comment by Marc Johnson [ 10/Jul/17 ] |
|
As this turned into a change inside in the RAML-module-builder, I've moved it back to the RAML Module Builder JIRA project |