github.com/youyuanwu/go-swagger@v0.19.0/fixtures/goparsing/classification/transitive/mods/notselected.go (about) 1 // Copyright 2015 go-swagger maintainers 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 package mods 16 17 // NotSelected is a model that is in a transitive package 18 // 19 // This model is not annotated and should not be detected for parsing. 20 type NotSelected struct { 21 // ID the id of this not selected model 22 ID int64 `json:"id"` 23 // Name the name of this not selected model 24 Name string `json:"name"` 25 } 26 27 // Notable is a model in a transitive package. 28 // it's used for embedding in another model 29 // 30 // swagger:model withNotes 31 type Notable struct { 32 Notes string `json:"notes"` 33 34 Extra string `json:"extra"` 35 }