Sha256: c3409e505f5c74dfdec7f777bf671c8ad4d8bf2385c07b577cded1714ef49f08

Contents?: true

Size: 1.68 KB

Versions: 5

Compression:

Stored size: 1.68 KB

Contents

<html>
<head>
    <title>REST Exchange generator</title>
    <link rel="stylesheet" href="css/bootstrap.css" type="text/css" charset="utf-8" />
</head>
<body>
<main class="container-fluid">
    <h1>REST Exchange generator</h1>
    <h2>Handler creator <small><%= GenerateServer.create_params['feedback'] %></small></h2>
    <form class="form-horizontal" method="POST" action="/generate">
        <div class="form-group">
            <label class="col-sm-2 control-label" for="className">Class Name</label>
            <div class="col-sm-10">
                <input id="className" class="form-control" type="text" name="className"
                       placeholder="ApiUnderTest" value="<%= GenerateServer.create_params['className'] %>">
                <p class="help-block">This is what you will refer to the API in your test code. Use Pascal Case</p>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-2 control-label" for="baseUrl">Base URL</label>
            <div class="col-sm-10">
            <input id="baseUrl" class="form-control" type="text" name="baseUrl"
                   placeholder="https://url/which/api/starts_with" value="<%= GenerateServer.create_params['baseUrl'] %>">
            <p class="help-block">Url with which all REST requests using this class will start with.
                Exchanges creating using this class can append to this with the 'suburl' parameter.</p>
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-offset-2 col-sm-10">
                <input type="submit" value="Generate handler" class="btn btn-primary">
            </div>
        </div>
    </form>
</main>
</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
soaspec-0.2.23 lib/soaspec/generator/generate_exchange.html.erb
soaspec-0.2.22 lib/soaspec/generator/generate_exchange.html.erb
soaspec-0.2.21 lib/soaspec/generator/generate_exchange.html.erb
soaspec-0.2.20 lib/soaspec/generator/generate_exchange.html.erb
soaspec-0.2.19 lib/soaspec/generator/generate_exchange.html.erb