Skip to content

Add extension to operations

Compare
Choose a tag to compare
@Nightapes Nightapes released this 30 Jan 13:13
· 6 commits to main since this release
e751dbd

For every operation custom extension can be set.

&openapi.Get{
	Summary:        "Get User",
	Description:    "Get User with given ID",
	Extensions:     map[string]interface{}{"x-custom": "test", "x-custom1": map[string]string{"test": "test"}},
	...