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

[Spring] Cookie parameter not being generated. #523

Open
nataliaoliveira opened this issue Oct 30, 2019 · 0 comments
Open

[Spring] Cookie parameter not being generated. #523

nataliaoliveira opened this issue Oct 30, 2019 · 0 comments

Comments

@nataliaoliveira
Copy link
Contributor

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 similar [issue](#259 reported.

Suggest a fix/enhancement

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

PRs:
swagger-codegen-generators #524

swagger-codegen swagger-api/swagger-codegen#9825

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

1 participant