We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2beb1bd commit c031fb1Copy full SHA for c031fb1
tools/cli/internal/openapi/filter/code_sample.go
@@ -44,8 +44,8 @@ func (f *CodeSampleFilter) ValidateMetadata() error {
44
45
func (f *CodeSampleFilter) Apply() error {
46
for pathName, p := range f.oas.Paths.Map() {
47
- for opK, op := range p.Operations() {
48
- if err := f.includeCodeSamplesForOperation(pathName, opK, op); err != nil {
+ for opMethod, op := range p.Operations() {
+ if err := f.includeCodeSamplesForOperation(pathName, opMethod, op); err != nil {
49
return err
50
}
51
0 commit comments