I have below openapi
document. I expected the API class name to be generated will be SampleApi
because the operation "/hello" is tagged with "sample"
tags
. But it is generating the API class name using the operation
name, it is HelloApi
. What am I missing here? I am using openapi-generator-maven-plugin
version 3.3.1
openapi: "3.0.0"
info:
version: 1.0.0
title: Sample Service
tags:
- name: sample
paths:
/hello:
get:
summary: Says hello world
operationId: greet
tags:
- sample
responses:
200:
description: ok
content:
plain/text:
schema:
type: string
example: Hello World