-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
I was generating maven java OpenAPI Server project properly while evolving my openapi model.
But when I moved some parameters to components/parameters and referenced them inside paths I started to get errors on the generation.
See the example below. It contains 2 parameters.
/mycollection:
get:
operationId: listCollection
parameters:
- $ref: '#/components/parameters/some-ID'
- name: orderBy
required: false
in: query
schema:
type: array
items:
type: string
When I let only orderBy parameter the generation is ok. But if I use the reference I got the error:
Exception during code generatione is undefined TypeError: e is undefined