mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-08 03:18:53 +00:00
90512e6326
* remove php apache license * remove apache license from C# * remove apache license in objc code * remove license from swift 3 code * remove apache license from perl code * remove license from scala code * remove license from ts, go, android, cpp, scala * remove license from java api client * restore clojure petstore files * remove license from travis file * clean up apache-related terms in php, ruby, python mustache tempaltes * remove license from JS API cilent
28 lines
639 B
Go
28 lines
639 B
Go
/*
|
|
* Swagger 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: \" \\
|
|
*
|
|
* OpenAPI spec version: 1.0.0
|
|
* Contact: apiteam@swagger.io
|
|
* Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
*/
|
|
|
|
package petstore
|
|
|
|
type Pet struct {
|
|
|
|
Id int64 `json:"id,omitempty"`
|
|
|
|
Category Category `json:"category,omitempty"`
|
|
|
|
Name string `json:"name,omitempty"`
|
|
|
|
PhotoUrls []string `json:"photoUrls,omitempty"`
|
|
|
|
Tags []Tag `json:"tags,omitempty"`
|
|
|
|
// pet status in the store
|
|
Status string `json:"status,omitempty"`
|
|
}
|