mrapids 0.1.7

Your OpenAPI, but executable
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Package {{packageName}} provides models for the {{info.title}} API
// Generated by MicroRapid
package {{packageName}}

import (
    "time"
)

{{#each models}}
// {{name}} {{#if description}}{{description}}{{/if}}
type {{name}} struct {
    {{#each properties}}
    {{name}} interface{} `json:"{{name}}{{#unless required}},omitempty{{/unless}}"`
    {{/each}}
}

{{/each}}