Sha256: aa1d02d8e6b2f28eb0085e3045e7491c9b0f2e4752c97bb32f743e46240a3bbc

Contents?: true

Size: 1 KB

Versions: 7

Compression:

Stored size: 1 KB

Contents

0.1
---
- Added `:for` option to `schema` methods on the endpoint definition. This allows to specify schemas for payloads, schemas for responses and schemas for whatever. See: https://github.com/platanus/restspec/issues/2.
- Added `no_schema` method to endpoint definitions. This is a subtask of https://github.com/platanus/restspec/issues/2..

0.2
---
- Fixed a problem with schema extensions (`:without`) not working due to the fact that endpoints saved schema clones that just were shallow clones. They still were sharing the internal attributes hash.
- Fixed `no_schema`. It was not working because the schema setting of the namepsace were happening after the `no_schema` call. From now, `all` definitions will happen before the specific schema definitions.
- Changed abilities of schemas related to endpoints to just be the same as the schema roles. It's preferrable to have attributes only for payload or only for responses than attributes only for examples or only for checks. This is the new feature of the release.

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
restspec-0.3.0 CHANGELOG.md
restspec-0.2.6 CHANGELOG.md
restspec-0.2.5 CHANGELOG.md
restspec-0.2.4 CHANGELOG.md
restspec-0.2.3 CHANGELOG.md
restspec-0.2.2 CHANGELOG.md
restspec-0.2.1 CHANGELOG.md