Align golang types with openapi.yaml schema (#628)
Change Format constant from `file_path` to `filepath` to match the OpenAPI schema definition. This is not used by any servers yet, nor is it enforced by the database, so it's safe to change.
This commit is contained in:
parent
66993e9121
commit
a09ae89b4c
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@ const (
|
|||
FormatString Format = "string"
|
||||
FormatNumber Format = "number"
|
||||
FormatBoolean Format = "boolean"
|
||||
FormatFilePath Format = "file_path"
|
||||
FormatFilePath Format = "filepath"
|
||||
)
|
||||
|
||||
// Input represents a configuration input
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ cat > "$PAYLOAD_FILE" << EOF
|
|||
"type": "positional",
|
||||
"name": "config",
|
||||
"description": "Configuration file path",
|
||||
"format": "file_path",
|
||||
"format": "filepath",
|
||||
"isRequired": false,
|
||||
"default": "./config.json"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue