Registry / web-framework / swagger-blocks

swagger-blocks

JSON →
library3.0.0rbrubygemsunverified

Define and serve live-updating Swagger JSON for Ruby apps.

gem install swagger-blocks
INSTALL
IMPORT
SIG · SWAGGER-BLOCKS
S
swagger-blocks
web-frameworkrubyv3.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Swagger::Blocks
✓ require 'swagger/blocks'

Define Swagger API documentation.

require 'swagger/blocks' class MyAPI < Swagger::Blocks::Node swagger_root do key :swagger, '2.0' info do key :version, '1.0.0' key :title, 'My API' end end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.0.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
swagger-blocks — gem install swagger-blocks · libregistry