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
Properly render example for array exposure done using another entity (#68)
* Properly render example for arrays of subresources
* Move array typing to data_type_from
This is so it matches waht happens in entity_model_type.
The main difference is we use Symbols (both keys and values) here, whereas we use
Strings there. I'm not sure the difference is intentional, but I didn't want to
introduce any actual changes in this commit.
* DRY up AttributeParser#call
The reason I'm opening this PR is because logic that was present for "standard" exposures
was accidentally left out from "using: Entity..." exposures". The point of this commit
is to hopefully prevent such omissions from being made again.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
#### Fixes
8
8
9
9
*[#67](https://github.com/ruby-grape/grape-swagger-entity/pull/67): Various build updates - [@mscrivo](https://github.com/mscrivo).
10
+
*[#68](https://github.com/ruby-grape/grape-swagger-entity/pull/68): Properly render `example` for array exposure done using another entity - [@magni-](https://github.com/magni-).
0 commit comments