- Your contribution here.
- #943: Fix route_param documentation and type - @4ndv
- #944: Amend a few typographic errors - @pieterocp
- Your contribution here.
- #927: Set default parameter location based on consumes - @spaceraccoon
- #929: Set query parameter for array of primitive types - @spaceraccoon
- #922: Force request body to be an schema object - @numbata
- #923: Enabled schema definitions for body parameters in DELETE requests - @numbata
- #924: fix: Use mount_path to narrow down urls_for - @chibicco
- #903: Accept
example
documentation parameter for arrays - @VladMomotov
- #872: Add
consumes
andproduces
options toadd_swagger_documentation
- @spaceraccoon - #868: Add
default
endpoint option to specify default response - @dhruvCW
- #860 chore: Included githubactions in the dependabot config @naveensrinivasan
- #843 Syntax errors in README.md examples @remvee
- #844 Fixes the regexp used for parsing routes @senhalil
- #847 Parse route_param type for nested endpoints @dmoss18
- #856 Remove unused methods in GrapeSwagger::DocMethods::BuildModelDefinition @takahashim
- #858: Set permissions for GitHub actions @naveensrinivasan
- #853: Add webrick to support Ruby 3.x @takahashim
- #852: Fix example to work @takahashim
- #846: Refactor oapi fetch task @Vachman
- #850: Fix value of enum to be Array @takahashim
- #850: Fix value of
enum
to beArray
- @takahashim - #846: Fixes oapi rake tasks, allows generating sepcs for different API versions.
- #852: Fix example to work without error - @takahashim
- #853: Add webrick gem so that example works in Ruby 3.x - @takahashim
- #844: Fixes the regexp used for parsing routes - @senhalil
- #862: Allow using nicknames for body definitions - @magni-
- #840: Fixes documentation of
additionalProperties
field when used with array parameters, or when setting it tofalse
- @magni- - #841: Fixes
type
andformat
values for object fields nested in an array (#832) - @magni- - #839: Fixes documentation of
false
ornil
default parameter values - @magni-
- #818: Adds ruby 3.0 support - @LeFnord.
- #815: Add required for multiple presents - @MaximeRDY.
- #822: Corrected the related parameter lookup on request params - @Jack12816.
- #813: Handle multiple presents - @AntoineGuestin.
- #794: Allow
entity_name
to be inherited, fixes issue #659 - @urkle. - #793: Features/inheritance and discriminator - @MaximeRDY.
- #798: Modify full entity name separator - @GarrettB71.
- #796: Support grape 1.4.0 - @thedanielhanke.
- #785: Add extensions for params - @MaximeRDY.
- #782: Allow passing class name as string for rake task initializer - @misdoro.
- #786: Use full entity name as a default - @mrexox.
- #777: Make usage of grape >= 1.3, rack >= 2.1 - @LeFnord.
- #775: Add in token_owner support to param hidden procs - @urkle.
- #768: Uses ruby 2.7, fixes grape to 1.2.5 (cause of dry-types) - @LeFnord.
- #761: Add an option to configure root element for responses - @bikolya.
- #749: Drop support for Ruby 2.3 and below - @LeFnord.
- #758: Handle cases where a route's prefix is a nested URL - @SimonKaluza.
- #757: Fix
array_use_braces
for nested body params - @bikolya. - #756: Fix reference creation when custom type for documentation is provided - @bikolya.
- #764: Fix root element for multi-word entities - @bikolya.
- #747: Allow multiple different success responses - @charanftp3.
- #746: Fix path with optional format - @fnordfish.
- #743: CI: use 2.4.6, 2.5.5 - @olleolleolle.
- #737: Add swagger endpoint guard to both doc endpoints - @urkle.
- #731: Skip empty parameters and tags arrays - @fotos.
- #729: Allow empty security array for endpoints - @fotos.
- #622: Add support for 'brackets' collection format - @korstiaan.
- #637: Add an option to add braces to array params - @adie.
- #688: Use deep merge for nested parameter definitions - @jdmurphy.
- #691: Disregard order when parsing request params for arrays - @jdmurphy.
- #696: Delegate required properties parsing to model parsers - @Bugagazavr.
- #681: Provide error schemas when an endpoint can return a 204 - @adstratm.
- #683: Fix handling of arrays of complex entities in params so that valid OpenAPI spec is generated - @jdmurphy.
- #667: Make route summary optional - @obduk.
- #670: Add support for deprecated field - @ioanatia.
- #675: Add response examples - @gamartin.
- #664: Removed all references to obsolete
hide_format
parameter - @jonmchan. - #669: Fix handling of http status codes from routes - @milgner.
- #672: Rename 'notes' to 'detail' in README - @kjleitz.
- #622: Add support for 'brackets' collection format - @korstiaan.
- #631: Fix order of mounts with overrides - @adie.
- #267: Fix mounting APIs in route_param namespaces - @milgner, @wojciechka.
- #642: Fix examples link in readme - @iBublik.
- #641: Exclude default success code if http_codes define one already - @anakinj.
- #651: Apply
values
anddefault
of array params to its items - @yewton. - #654: Allow setting the consumes for PATCH methods - @anakinj.
- #656: Fix
description
field may be null - @soranoba.
- #613: Fix Proc with arity one in param values - @timothysu.
- #616: Fix swagger to show root path (#605) - @NightWolf007.
- #608: Support extensions on the root object - @thogg4.
- #596: Use route_settings for hidden and operations extensions - @thogg4.
- #607: Allow body parameter name to be specified - @tjwp.
- #602: Allow security object to be defined - @markevich.
- #583: Issue #582: document file response - @LeFnord.
- #588: Allow extension keys in Info object - @mattyr.
- #589: Allow overriding tag definitions in Info object - @mattyr.
- #580: Issue #578: fixes duplicated path params - @LeFnord.
- #585: Issue #584: do not mutate route.path - @LeFnord.
- #586: Issue #587: Parameters delimited by dash cause exception - @risa.
- #593: Clarify hidden option in readme - @thogg4.
- #567: Issue#566: removes markdown - @LeFnord.
- #568: Adds code coverage w/ coveralls - @LeFnord.
- #570: Removes dead code -> increases code coverage - @LeFnord.
- #576: Allows custom format, for params and definition properties - @LeFnord.
- #562: The guard method should allow regular object methods as arguments - @tim-vandecasteele.
- #574: Fixes #572:
is_array
should only be applied to success - @LeFnord.
- #558: Version cascading including dependency updates (includes: LeFnord#27) - @LeFnord.
- #535: Add support for grape version cascading - @qinix.
- #560: Map clearly Grape desc/detail to Swagger summary/description - @frodrigo.
- #561: Rename failures to failure in readme - @justincampbell.
- #546: Move development dependencies to Gemfile - @olleolleolle.
- #547: Use entity_name event if type come from a string - @frodrigo.
- #548: Remove dots from operation id - @frodrigo.
- #553: Align array params for post, put request - addition to #540 - @LeFnord.
- #531: UUID data_type format support - @migmartri.
- #534: Allows to overwrite defaults status codes - @LeFnord.
- #540: Corrects exposing of array in post body - @LeFnord.
- #509, #529: Making parent-less routes working - @mur-wtag.
- #524: Use route tags for global tag set - @LeFnord.
- #523: Allow specifying custom tags at the route level - @jordanfbrown.
- #520: Response model can have required attributes - @WojciechKo.
- #510: Use 'token_owner' instead of 'oauth_token' on Swagger UI endpoint authorization - @texpert.
- #527: Accepts string as entity - @LeFnord.
- #515: Removes limit on model names - @LeFnord.
- #511: Fix incorrect data type linking for request params of entity types - @serggl.
- #504: Added support for set the 'collectionFormat' of arrays - @rczjns.
- #502: Adds specs for rake tasks - @LeFnord.
- #501: Adds getting of a specified resource for Rake Tasks - @LeFnord.
- #500: Adds Rake tasks to get and validate OAPI/Swagger documentation - @LeFnord.
- #493: Swagger UI endpoint authorization - @texpert.
- #492: Define security requirements on endpoint methods - @tomregelink.
- #497: Use ruby-grape-danger in Dangerfile - @dblock.
- #503: Corrects exposing of inline definitions - @LeFnord.
- #494: Header parametes are now included in documentation when body parameters have been defined - @anakinj.
- #505: Combines namespaces with their mounted paths to allow APIs with specified mount_paths - @KevinLiddle.
- #491: Add
ignore_defaults
option - @pezholio. - #486: Use an automated PR linter, danger.systems - @dblock.
- #489: Makes version settings/usage more clear; updates
UPGRADE.md
,README.md
- @LeFnord. - #476: Fixes for handling the parameter type when body parameters are defined inside desc block - @anakinj.
- #478: Refactors building of properties, corrects documentation of array items - @LeFnord.
- #479: Fix regex for Array and Multi Type in doc_methods. Parsing of "[APoint]" should return "APoint" - @frodrigo.
- #483: Added support for nicknamed routes - @pbendersky.
- #470: Document request definitions inline - @LeFnord.
- #448: Header parameters are now prepended to the parameter list - @anakinj.
- #444: With multi types parameter the first type is use as the documentation type - @scauglog.
- #463: Added 'hidden' option for parameter to be exclude from generated documentation - @anakinj.
- #471: Allow Security Definitions Objects to be defined - @bendodd.
- #472: Fixes required property for request definitions - @LeFnord.
- #467: Refactors moving of body params - @LeFnord.
- #464: Fixes array params, sets correct type and format for items - @LeFnord.
- #461: Fixes issue by adding extensions to definitions. It appeared, if for the given status code, no definition could be found - @LeFnord.
- #455: Setting
type:
option asArray[Class]
createsarray
type in JSON - @tyspring. - #450: Do not add :description to definitions if :description is missing on path - @texpert.
- #447: Version part of the url is now ignored when generating tags for endpoint - @anakinj.
- #444: Default value provided in the documentation hash, override the grape default - @scauglog.
- #443: Type provided in the documentation hash, override the grape type - @scauglog.
- #454: Include documented Hashes in documentation output - @aschuster3.
- #457: Using camel case on namespace throws exception on add_swagger_documentation method - @rayko.
- #413: Move all model parsing logic to separate gems
grape-swagger-entity
and added representable parsergrape-swagger
- @Bugagazavr. - #434: Add summary to the operation object generator to be more compliant with OpenAPI v2 - @aschuster3.
- #441: Accepting
String
,lambda
andproc
forhost
andbase_path
- @LeFnord.
- #416: Support recursive models - @lest.
- #419: Replaced github ref to rubygems for external gems - @Bugagazavr.
- #420: Raise SwaggerSpec exception if swagger spec isn't satisfied, when no parser for model is registered or response model is empty - @Bugagazavr.
- #438: Route version was missing in :options passed to PathString, so Endpoint.path_and_definitions_objects wasn't returning a versioned path when required - @texpert.
- #407: Added support for Grape 0.15.x and 0.16.x - @dblock.
- #406: Force usage of entities for response definition issue #385 - @LeFnord.
- #405, #403: Added version support matrix - @LeFnord.
- #408: Added support for
HEAD
endpoints - @Bugagazavr. - #408: Added support for
OPTIONS
endpoints - @Bugagazavr.
- #394: Removed overiding default through example - @LeFnord.
- #393: Properly handle header parameters - @wleeper.
- #389: Respect X-Forwarded-Host - @edvakf.
- #382: Made schemes optional - @wleeper.
- #381: Added entity property description when property documentation desc option is present - @elciok.
- #336: Added Swagger 2.0 support - @LeFnord.
- #371: Added param type
body
handling - @LeFnord. - #367: Set default
type: Integer
andrequired: true
for path params, if they weren't specified inside theparams
block as required - @LeFnord. - #365: Fixed passing markdown with redcarpet even with nil description and detail - @LeFnord.
- #358: Removed
allowMultiple
property from params, addedformat
to definition property and renameddefaultValue
todefault
- @LeFnord. - #356: Added
consumes
- @LeFnord. - #354: Fixed setting of
base_path
andhost
, added possibility to configure the setting ofversion
andbase_path
in documented path andoperationId
- @LeFnord. - #353, #352: Fixed exception with routes having a dynamic
:section
- @LeFnord.
- #273: Fix for hide_format when API class uses a single format with Grape 0.12.0 - @mattolson.
- #264: Consistent header param types - @QuickPay.
- #260, #261: Fixed endpoints that would wrongly be hidden if
hide_documentation_path
is set - @QuickPay. - #259: Fixed range values and converting integer :values range to a minimum/maximum numeric Range - @u2.
- #252: Allow docs to mounted in separate class than target - @iangreenleaf.
- #251: Fixed model id equal to model name when root existing in entities - @aitortomas.
- #232: Fixed missing raw array params - @u2.
- #234: Fixed range :values with float - @azhi.
- #225: Fixed
param_type
to have it read from parameter's documentation hash - @zsxking. - #235: Fixed nested entity names in parameters and as
$ref
in models - @frodrigo. - #206: Fixed 'is_array' in the return entity being ignored - @igormoochnick.
- #266: Respect primitive mapping on type and format attributes of 1.2 swagger spec - @frodrigo.
- #268: Fixed handling of
type: Array[...]
- @frodrigo. - #284: Use new params syntax for swagger doc endpoint, fix an issue that
:name
params not recognized bydeclared
method - @calfzhou. - #286: Use
detail
value fornotes
- fix an issue wheredetail
value specified in a block passed todesc
was ignored - @rngtng.
- #227: Fix: nested routes under prefix not documented - @dblock.
- #226: Fix: be defensive with nil exposure types - @dblock.
- #217: Support Array of entities for proper rendering of grape-entity input dependencies - @swistaczek.
- #214: Allow anything that responds to
call
to be used in:hidden
- @zbelzer. - #196: If
:type
is omitted, see if it's available in:using
- @jhollinger. - #200: Treat
type: Symbol
as string form parameter - @ypresto. - #207: Support grape
mutually_exclusive
- @mintuhouse. - #220: Support standalone appearance of namespace routes with a custom name instead of forced nesting - @croeck.
- #221: Fixed group parameters' name with type Array - @u2.
- #211: Fixed the dependency, just
require 'grape'
- @u2. - #210: Fixed the range
:values
option, now exposed asenum
parameters - @u2. - #208: Fixed
Float
parameters, exposed as Swaggerfloat
types - @u2. - #216, #192, #189: Fixed API route paths matching for root endpoints with
grape ~> 0.10.0
, specificformat
and:path
versioning - @dm1try, @minch.
- #91: Fixed empty field for group parameters' name with type hash or Array - @dukedave.
- #154: Allow classes for type declarations inside documentation - @mrmargolis.
- #162: Fix performance issue related to having a large number of models - @elado.
- #169: Test against multiple versions of Grape - @dblock.
- #166: Ensure compatibility with Grape 0.8.0 or newer - @dblock.
- #174: Fix problem with using prefix name somewhere in api paths - @grzesiek.
- #176: Added ability to load nested models recursively - @sergey-verevkin.
- #179: Document
Virtus::Attribute::Boolean
as boolean - @eashman, @dblock. - #178: Fixed
Hash
parameters, now exposed as Swaggerobject
types - @dblock. - #167: Support mutli-tenanted APIs, don't cache
base_path
- @bradrobertson, (https://github.com/dblock). - #185: Support strings in
Grape::Entity.expose
's:using
option - @jhollinger.
- #139: Added support for
Rack::Multipart::UploadedFile
parameters - @timgluz. - #136, #94: Recurse combination of namespaces when using mounted apps - @renier.
- #100: Added ability to specify a nickname for an endpoint - @lhorne.
- #94: Added support for namespace descriptions - @renier.
- #110, #111: Added
responseModel
support - @bagilevi. - #114: Added support for generating nested models from composed Grape Entities - @dspaeth-faber.
- #124: Added ability to change the description and parameters of the API endpoints generated by grape-swagger - @dblock.
- #128: Combine global models and endpoint entities - @dspaeth-faber.
- #132: Addes support for enum values in entity documentation and form parameters - @Antek-drzewiecki.
- #142, #143: Added support for kramdown, redcarpet and custom formatters - @Antek-drzewiecki.
- #105: Fixed compatibility with Swagger-UI - @CraigCottingham.
- #87: Fixed mapping of
default
todefaultValue
- @m-o-e. - #127: Fixed
undefined method 'reject' for nil:NilClass
error for an invalid route, now returning 404 Not Found - @dblock. - #135: Fixed model inclusion in models with aliased references - @cdarne.
- #126: Rewritten demo in the
test
folder with CORS enabled - @dblock. - Rewritten .gemspec and removed Jeweler - @dblock.
- Added
GrapeSwagger::VERSION
- @dblock. - Added Rubocop, Ruby-style linter - @dblock.
- #84: Markdown is now Github Flavored Markdown - @jeromegn.
- #83: Improved support for nested Entity types - @jeromegn.
- #79: Added
dataType
to theparams
output - @Phobos98. - #75, #82: Added Swagger 1.2 support - @joelvh, @jeromegn.
- #73: Added the ability to add additional API
info
- @mattbeedle. - #69: Make relative
base_path
values absolute - @dm1try. - #66: Fixed documentation generated for paths that don't match the base URL pattern - @swistaczek.
- #63: Added support for hiding endpoints from the documentation - @arturoherrero.
- #62: Fixed handling of URLs with the
-
character - @dadario. - #57: Fixed documenting of multiple API versions - @Drakula2k.
- #58: Fixed resource groupings for prefixed APIs - @aew.
- #56: Fixed
hide_documentation_path
on prefixed APIs - @spier. - #54: Adding support for generating swagger
responseClass
and models from Grape Entities - @calebwoods. - #46: Fixed translating parameter
type
to String, enables using Mongoid fields as parameter definitions - @dblock.
- Added Rails 4 support - @jrhe.
- Fix: document APIs at root level - @dblock.
- Added support for procs in basepath - @ruby-grape.
- Support both
:desc
and:description
when describing parameters - @dblock. - Fix: allow parameters such as
name[]
- @dblock.
- Added Grape 0.5.0 support - @ruby-grape.
- Support https - @cutalion.
- Added version support - @agileanimal, @fknappe.
- Added support for nested parameters - @ruby-grape.
- Added basic support for specifying parameters that need to be passed in the header - @agileanimal.
- Add possibility to hide the documentation paths in the generated swagger documentation - @ruby-grape.
- Added support for markdown in notes field - @ruby-grape.
- Fix: compatibility with Rails - @qwert666.
- Fix: swagger UI history - @ruby-grape.
- Use resource as root for swagger - @ruby-grape.
- Added support for file uploads, and proper
paramType
- @ruby-grape. - Added tests - @nathanvda.
- Added some configurability to the generated documentation - @ruby-grape.
- Adapted to rails plugin structure - @ruby-grape.
- Allowed cross origin, so swagger can be used from official site - @ruby-grape.
- Initial public release - @ruby-grape.