You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+16-15
Original file line number
Diff line number
Diff line change
@@ -10,36 +10,37 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
10
11
11
## Fixed
12
12
13
-
- Prism is now giving precedence to `application/json` instead of using it as a "fallback" serializer, fixing some conditions where it wouldn't get triggered correctly. #604
14
-
- Prism is now taking in consideration the `required` properties for combined schemas (`oneOf, allOf`). This is coming through an update to the Json Schema Faker Library #623
13
+
- Prism is now giving precedence to `application/json` instead of using it as a "fallback" serializer, fixing some conditions where it wouldn't get triggered correctly. [#604](https://github.com/stoplightio/prism/pulls/604)
14
+
- Prism is now taking in consideration the `required` properties for combined schemas (`oneOf, allOf`). This is coming through an update to the Json Schema Faker Library [#623](https://github.com/stoplightio/prism/pulls/623)
15
+
- Prism will never have enough information to return a `403` status code; all these occurences have been now replaced with a `401` status code which is more appropriate [#625](https://github.com/stoplightio/prism/pulls/625)
15
16
16
17
# 3.1.0 (2019-09-03)
17
18
18
19
## Added
19
20
20
-
- Prism is now able to validate the security specification of the loaded document #484
21
+
- Prism is now able to validate the security specification of the loaded document [#484](https://github.com/stoplightio/prism/pulls/484)
21
22
22
23
## Fixed
23
24
24
-
- Prism is not crashing anymore when referencing the same model multiple times in the specification document #552
25
-
- Prism will now correctly use the `example` keyword for a Schema Object in OpenAPI 3.0 documents #560
26
-
- Prism won't return 406 when users request a `text/plain` response whose content is a primitive (string, number) #560
27
-
- Prism's router is now able to correctly handle a path ending with a parameter, such as `/test.{format}`, while it would previously not match with anything. #561
28
-
- Prism is correctly handling the `allowEmptyValue` property in OAS2 documents #569
29
-
- Prism is correctly handling the `csv` collection format argument property in OAS2 documents #577
30
-
- Prism is correctly returning the response when the request has `*/*` as Accept header #578
31
-
- Prism is correctly returning a single root node with the payload for XML data #578
25
+
- Prism is not crashing anymore when referencing the same model multiple times in the specification document [#552](https://github.com/stoplightio/prism/pulls/552)
26
+
- Prism will now correctly use the `example` keyword for a Schema Object in OpenAPI 3.0 documents [#560](https://github.com/stoplightio/prism/pulls/560)
27
+
- Prism won't return 406 when users request a `text/plain` response whose content is a primitive (string, number) [#560](https://github.com/stoplightio/prism/pulls/560)
28
+
- Prism's router is now able to correctly handle a path ending with a parameter, such as `/test.{format}`, while it would previously not match with anything. [#561](https://github.com/stoplightio/prism/pulls/561)
29
+
- Prism is correctly handling the `allowEmptyValue` property in OAS2 documents [#569](https://github.com/stoplightio/prism/pulls/569)
30
+
- Prism is correctly handling the `csv` collection format argument property in OAS2 documents [#577](https://github.com/stoplightio/prism/pulls/577)
31
+
- Prism is correctly returning the response when the request has `*/*` as Accept header [#578](https://github.com/stoplightio/prism/pulls/578)
32
+
- Prism is correctly returning a single root node with the payload for XML data [#578](https://github.com/stoplightio/prism/pulls/578)
32
33
33
34
# 3.0.4 (2019-08-20)
34
35
35
36
## Added
36
37
37
-
- Prism is now returning CORS headers by default and responding to all the preflights requests. You can disable this behaviour by running Prism with the `--cors` flag set to false #525
38
+
- Prism is now returning CORS headers by default and responding to all the preflights requests. You can disable this behaviour by running Prism with the `--cors` flag set to false [#525](https://github.com/stoplightio/prism/pulls/525)
38
39
39
40
## Fixed
40
-
- Prism now respects the `nullable` value for OpenAPI 3.x documents when generating examples #506
41
-
- Prism now loads correctly OpenAPI 3.x documents with `encodings` with non specified `style` property #507
42
-
- Prism got rid of some big internal dependencies that now aren't required anymore, making it faster and lighter. #490
41
+
- Prism now respects the `nullable` value for OpenAPI 3.x documents when generating examples [#506](https://github.com/stoplightio/prism/pulls/506)
42
+
- Prism now loads correctly OpenAPI 3.x documents with `encodings` with non specified `style` property [#507](https://github.com/stoplightio/prism/pulls/507)
43
+
- Prism got rid of some big internal dependencies that now aren't required anymore, making it faster and lighter. [#490](https://github.com/stoplightio/prism/pulls/490)
Copy file name to clipboardexpand all lines: docs/guides/errors.md
-7
Original file line number
Diff line number
Diff line change
@@ -172,13 +172,6 @@ This class of errors is returned when the current request is not satisfying the
172
172
173
173
---
174
174
175
-
### FORBIDDEN
176
-
**Message: Invalid credentials used**
177
-
**Returned Status Code: `403`**
178
-
**Explanation:** This error occurs when the current request is using the correct security scheme, but its content was invalid. This might be an error in the decoding process (such as a not valid base64 payload)
179
-
180
-
---
181
-
182
175
## Negotiation errors
183
176
184
177
This class of errors is returned when anything goes wrong in between your **valid** request and returning a suitable response
0 commit comments