Skip to content

Releases: hotmeteor/spectator

v1.5.1

08 Aug 13:23
b4d1101
Compare
Choose a tag to compare

What's Changed

  • Add support for nullable objects as properties and various anyOf usages by @DeepDiver1975 in #108
  • Add type hinting to $path param by @pH-7 in #105
  • Cache parsed OpenAPI specifications by @DeepDiver1975 in #106
  • Reset array keys when formatting schema exception by @beblife in #101
  • Add support to decode responses using application/problem+json content type by @ethanbray in #104

New Contributors

Full Changelog: v1.5.0...v1.5.1

v1.5.0

21 Feb 18:33
06bdf2c
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.4.1...v1.5.0

v1.4.1

31 Jan 13:39
2c14e5d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.4.0...v1.4.1

v1.4.0

13 Dec 16:21
edc2248
Compare
Choose a tag to compare
  • Greatly improved error message display (#70)
  • Fix php8.1 deprecation warning (#76)
  • Query parameters are not being checked by spec tests (#79)

v1.3.0

06 Oct 23:55
3471fdb
Compare
Choose a tag to compare

What's changed

  • Add support for oneOf and anyOf
  • Add tests for polymorphics
  • add core concepts to readme
  • add response test equivalents for polymorphics
  • safe break over objects without a type defined when mapping properties
  • Improve response error messages

Fix issue with cyclical refs

14 Sep 15:15
4bc0a3e
Compare
Choose a tag to compare
Merge pull request #63 from hotmeteor/skip-cyclical-refs

skip cyclical refs when creating obj-prop map

Add nullable support for request validation

24 May 16:19
820e3eb
Compare
Choose a tag to compare
v1.2.2

This fixes request validation to match response validation (#55)

Prepend middleware

21 May 14:13
ffdbff0
Compare
Choose a tag to compare

The Spectator middleware will now be prepended to the middleware stack vs appended so that models are not bound, and specs can match on primitive types.

Fix parsing and matching of path parameters

18 May 20:37
3e0614d
Compare
Choose a tag to compare

This release fixes the parsing of route parameters.

Allow Laravel validation errors to pass through error rendering

15 May 12:47
df449f2
Compare
Choose a tag to compare
v1.1.1

#49 Allow for Laravel validation to pass through (#50)