feat(dev): Automagic building of new api docs
This commit is contained in:
@@ -47,6 +47,13 @@ const docTemplate = `{
|
||||
"models.Contract": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"locale": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"en",
|
||||
"de"
|
||||
]
|
||||
},
|
||||
"runners": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
||||
@@ -38,6 +38,13 @@
|
||||
"models.Contract": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"locale": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"en",
|
||||
"de"
|
||||
]
|
||||
},
|
||||
"runners": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
definitions:
|
||||
models.Contract:
|
||||
properties:
|
||||
locale:
|
||||
enum:
|
||||
- en
|
||||
- de
|
||||
type: string
|
||||
runners:
|
||||
items:
|
||||
$ref: '#/definitions/models.Runner'
|
||||
|
||||
Reference in New Issue
Block a user