Created
September 26, 2024 09:01
-
-
Save McMlok/7aea3856e856ef77edc11bc69c923099 to your computer and use it in GitHub Desktop.
OpenApi codegen duplicit Response interface when multiple tags in method
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openapi: 3.0.0 | |
info: | |
description: "Test api" | |
version: 1.0.0 | |
title: Test API | |
termsOfService: http://swagger.io/terms/ | |
license: | |
name: Apache 2.0 | |
url: http://www.apache.org/licenses/LICENSE-2.0.html | |
tags: | |
- name: test1 | |
- name: test2 | |
servers: | |
- url: https://test/v2 | |
paths: | |
/test/activated: | |
get: | |
tags: | |
- test1 | |
- test2 | |
summary: "Activated channels" | |
operationId: activated | |
responses: | |
'200': | |
description: Successful operation with response data | |
content: | |
application/json: | |
schema: | |
$ref: '#/components/schemas/ActivatedApplication' | |
components: | |
schemas: | |
ActivatedApplication: | |
type: object | |
properties: | |
name: | |
type: string |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment