You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you defined an endpoint that takes a parameter from a cookie, this parameter is not generated.
Hence, both Generated ApiService and ApiServiceImpl are not compilable due to a syntax error in the generated method signature.
the @CookieParam annotation is also not generated.
Example:
.yaml
/Product:
get:
summary: get a product
operationId: getProduct
parameters:
- in: cookie
name: sessionid
schema:
type: string
- name: type
in: query
required: true
schema:
type: string
- name: name
in: query
required: true
schema:
type: string
If you defined an endpoint that takes a parameter from a cookie, this parameter is not generated.
Hence, both Generated ApiService and ApiServiceImpl are not compilable due to a syntax error in the generated method signature.
the @CookieParam annotation is also not generated.
Example:
.yaml
Generated method signature in ProductAPIService:
public abstract Response getProduct( @NotNull String type, @NotNull String name, /*Missing Parameter Here*/ ,SecurityContext securityContext) throws NotFoundException;
I added the comment /Missing Parameter Here/ to highlight the error
The text was updated successfully, but these errors were encountered: