petstore

package
v1.23.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 4 Imported by: 0

README

Struct Embedding

This test is used to test the embedding of structs in the Astra service. It tests the following:

  • Struct embedding is read correctly.
  • Properties of embedded structs are outputted as allOf in the OpenAPI specification.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cat

type Cat struct {
	petstore.Pet

	Breed         string `json:"breed"`
	IsIndependent bool   `json:"isIndependent"`
}

type Dog

type Dog struct {
	petstore.Pet

	Breed     string `json:"breed"`
	IsTrained bool   `json:"isTrained"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL