We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b509e63 commit 7411b1fCopy full SHA for 7411b1f
README.md
@@ -105,6 +105,25 @@ try {
105
}
106
```
107
108
+results in:
109
+
110
+```php
111
+{
112
+ "errors":{
113
+ "title":[
114
+ "The title field is required."
115
+ ],
116
+ "body":[
117
+ "The body field is required."
118
+ ]
119
+ },
120
+ "type": "http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html",
121
+ "title": "Unprocessable Entity",
122
+ "status": 422,
123
+ "detail": "The given data was invalid."
124
+}
125
+```
126
127
## Attribution
128
129
The bulk of this repository was copied from Laminas API Tools. I wanted to provide a
0 commit comments