forked from OpenAPITools/openapi-generator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
model_format_test_.go
31 lines (28 loc) · 1 KB
/
model_format_test_.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* OpenAPI Petstore
*
* This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
*
* API version: 1.0.0
*/
// Code generated by OpenAPI Generator (https://openapi-generator.tech); DO NOT EDIT.
package petstore
import (
"os"
"time"
)
type FormatTest struct {
Integer int32 `json:"integer,omitempty" xml:"integer"`
Int32 int32 `json:"int32,omitempty" xml:"int32"`
Int64 int64 `json:"int64,omitempty" xml:"int64"`
Number float32 `json:"number" xml:"number"`
Float float32 `json:"float,omitempty" xml:"float"`
Double float64 `json:"double,omitempty" xml:"double"`
String string `json:"string,omitempty" xml:"string"`
Byte string `json:"byte" xml:"byte"`
Binary *os.File `json:"binary,omitempty" xml:"binary"`
Date string `json:"date" xml:"date"`
DateTime time.Time `json:"dateTime,omitempty" xml:"dateTime"`
Uuid string `json:"uuid,omitempty" xml:"uuid"`
Password string `json:"password" xml:"password"`
}