Skip to content

lnit/ruby_wasm_openapi_msw

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ruby.wasm OpenApi Mock Service Worker

OpenAPI Specに基づいたレスポンスを返すMockServerです。 ブラウザーのService Worker上で動作するため、静的ファイルのみで構成されています。

Demo

https://ruby-wasm-oas-mock.lnilab.net/boot.html

Build wasm binary

# Build wasm and rubygems packages
JS=true bin/rbwasm build -o ruby.wasm

# Package ruby code
bundle exec rbwasm pack ruby.wasm --dir ./src::/src -o openapi-msw.wasm
gzip openapi-msw.wasm

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages