Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Java-Spring] Cookie parameters are not generated #9820

Closed
nataliaoliveira opened this issue Oct 30, 2019 · 1 comment
Closed

[Java-Spring] Cookie parameters are not generated #9820

nataliaoliveira opened this issue Oct 30, 2019 · 1 comment

Comments

@nataliaoliveira
Copy link

nataliaoliveira commented Oct 30, 2019

Description

Cookie parameters are not being generated for Java language.

Swagger-codegen version

3.0.13

Swagger declaration file content or url
openapi: 3.0.0
info:
  title: fun!
  version: 1.0.1
servers:
- url: "/v1"
paths:
  "/one":
    get:
      operationId: duplicate
      parameters:
        - in: cookie
          description: cookie
          name: jsession
          required: true
          schema:
            type: string
      responses:
        '200':
          description: success
Command line used for generation

Language: spring
Library: spring-boot
InterfaceOnly: true

Steps to reproduce

Use the yaml above to generate sources with the options above.

Related issues/PRs

I found no PRs related, but there was one issue already reported on another swagger repo.

Suggest a fix/enhancement

The fix is going on this repo and swagger-codegen-generators.

PRs:
swagger-codegen-generators swagger-api/swagger-codegen-generators#524
swagger-codegen #9825

@frantuma
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants