Skip to content

Releases: open-api-spex/open_api_spex

v3.15.0

14 Nov 08:46
Compare
Choose a tag to compare

What's Changed

  • Resolve schema modules in discriminator mapping by @mbuhot in #511

Full Changelog: v3.14.0...v3.15.0

v3.14.0

23 Oct 17:42
8fffa58
Compare
Choose a tag to compare

What's Changed

  • Allow casting atoms as strings by @zorbash in #497
  • Relax dependency constraint on ymlr by @thbar in #502
  • Implement casting of "byte" string type by @gmile in #504
  • Make OpenApiSpex.resolve_schema/2 work with schema modules by @zorbash in #458
  • Fix oneOf/allOf/anyOf and schema module in Discriminator mapping by @lucacorti in #455

New Contributors

Full Changelog: v3.13.0...v3.14.0

v3.13.0

24 Sep 13:09
3e26083
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v3.12.0...v3.13.0

v3.12.0

21 Jul 09:54
e99903d
Compare
Choose a tag to compare
  • Docs: Solve Issue #396 by @pxp9 in #397
  • Docs: Clarify controller example by @tfwright in #405
  • Fix: Consider one-shot additionalProperties in .decode() by @zoten in #413
  • Fix: Casting Encoding without style field by @juantascon in #395
  • Fix: Adds responses dereferencing by @riccardomanfrin in #400
  • Docs: Fix typos by @kianmeng in #414
  • Enhancement: Implement Extendable protocol for all structs that can have extensions by @albertored in #415
  • Fix: decode/1 function correctly populates the :extensions field of structs by @albertored in #416
  • Fix: Allow empty schemas to be validated as wildcards by @zoten in #419
  • Docs: Fix schema example minor syntax issues (#431) by @rogerweb in #433
  • Enhancement: Bump swagger_ui version to 4.6.2 by @zorbash in #437
  • Enhancement: Implement flag to omit vendor extensions in mix openapi.spec.json by @zorbash in #439
  • Enhancement: Generate examples for UUID formatted strings by @zorbash in #444
  • Enhancement: Format code with mix format by @zorbash in #449
  • Docs: Fix typo in result of JsonErrorResponse.response() by @gianluca-nitti in #448
  • Fix: Avoids overwriting Plug.Conn body_params and params with the cast outcome by @albertored in #425
  • Enhancement: Multiple content types by @moxley in #451
  • Fix: llow empty content for Response by @MichalDolata in #453
  • Infrastructure: Improve CI pipeline by @lucacorti in #377
  • Fix: upport RequestBody passed to operation macro by @Geekfish in #456
  • Enhancement: Allow extensions in all OpenApi structures by @albertored in #438
  • Enhancement: ast parameters with json content-type by @albertored in #445
  • Docs: Code formatting in README by @zorbash in #459
  • Validate :integer type format by @wingyplus in #465
  • Fix: Do not accepting float number in integer type by @wingyplus in #468
  • Fix: anyOf cast crash when Cast.cast return a struct by @wingyplus in #469
  • Fix: Decoding of discriminators when type: object is present by @albertored in #471
  • Fix: Correctly cast not map bodies (plug puts them under _json key) by @albertored in #470
  • Enhancement: Add YAML formatter #463 by @lazebny in #464
  • Enhancement: use cache adapter at runtime instead of compile time for PutApiSpec by @Eein in #461
  • Infrastructure: Build and publish a hex.pm package automatically by @zorbash in #474

Full Changelog: v3.11.0...v3.12.0

v3.11.0

29 Oct 01:03
Compare
Choose a tag to compare
  • Docs: Fix Application.spec/2 example in README #344
  • Docs: Misc doc changes (#355)
  • Docs: JsonApiErrorResponse vs JsonErrorResponse (#385)
  • Enhancement: Allow casting params where parameter.content schema is a Reference (#356)
  • Enhancement: external_docs via controller @doc and @moduledoc or ControllerSpecs DSL (#329)
  • Enhancement: Add optional header in opts to Operation.response (#332)
  • Enhancement: Add callback support to operation_spec (#345)
  • Enhancement: Adding helpers to OpenApiSpex.TestAssertions (#343)
  • Enhancement: Collect all errors occurred during cast properties (#354)
  • Enhancement: Add support for multiple specs for the same Phoenix router (#369)
  • Enhancement: updated swagger-ui to 3.34.0 (#378)
  • Fix casting additionalProperties (#386)
  • Fix JsonErrorResponse schema definition (#383)
  • Fix: test for cast of query parameters with style: form and explode: false (#364)
  • Fix: any_of cast for multiple schemas (#366)
  • Fix: Handle oneOf cast when there are multiple success along with failure (#362)
  • Fix: Casting of additionalProperties with references (#360)
  • Fix: Schema.example/1 for schema module (#358)
  • Fix: Stop circular dependency by injecting the schema into list of already processed schemas (#352)
  • Fix: Cast default for referenced schema (#337)
  • Fix: don't json encode swagger-ui methods (#325)
  • Fix: relax requirement on poison preventing version conflicts in library usage (#322)
  • Fix: Allow top level security to apply to operations #321
  • Fix: return error tuple when discriminator cast fails (#393)
  • Infrastructure: Run Elixir CI with GitHub Actions (#347)

v3.10.0

12 Jan 03:28
6993fc7
Compare
Choose a tag to compare
  • Feature: Support OAuth2 for swagger-ui (#217)
  • Feature: Support default response type in responses (#301)
  • Feature: Allow overriding x-struct in OpenApiSpex.schema/1 (#304)
  • Feature: Ability to specify deprecated in ControllerSpec operation (#296)
  • Feature: :struct? and :derive? options in OpenApiSpex.schema/1 (#312)
  • Feature: OpenApiSpex.add_schemas/2 (#314)
  • Enhancement: Remove api_spec data from Conn (#286)
  • Enhancement: More informative errors for bad schema (#288, #284, #287)
  • Fix: Convert :format value to atom when decoding schema file (#293)
  • Fix: Type spec in OpenApiSpex.Info
  • Fix: Elixir Formatter rules in published package (#306)
  • Docs: Fix spelling error in example code (#295)
  • Docs: Fix type in README (#297)
  • Docs: Fix links and punctuation in README (#298)
  • Docs: Promote ControlerSpecs as the preferred API for controller operations (#311

v3.9.0

15 Sep 04:11
06f38fb
Compare
Choose a tag to compare
Merge pull request #285 from open-api-spex/version-3.9.0

Version 3.9.0

v3.8.0

09 Sep 02:40
a014488
Compare
Choose a tag to compare
Merge pull request #269 from open-api-spex/dependency-bumps

Update ExDoc and add Elixir 1.10 to travis matrix

v3.7.0

08 Jun 14:53
48d2a34
Compare
Choose a tag to compare
Merge pull request #233 from GhostGroup/version-3.7.0

Version 3.7.0

v3.6.0

13 Feb 14:57
924225b
Compare
Choose a tag to compare