Files
libopenapi/datamodel/high/3.0/example.go
Dave Shanley 10dbc203f6 v3 high level model foundation in place.
I think this API is going to be pretty sweet myself. Just what I've been looking for.
2022-08-18 09:41:44 -04:00

20 lines
394 B
Go

// Copyright 2022 Princess B33f Heavy Industries / Dave Shanley
// SPDX-License-Identifier: MIT
package v3
import low "github.com/pb33f/libopenapi/datamodel/low/3.0"
type Example struct {
Summary string
Description string
Value any
ExternalValue string
Extensions map[string]any
low *low.Example
}
func (e *Example) GoLow() *low.Example {
return e.low
}