Skip to content

Error: "source formatting on generated source "autoconfigure" failed" on server generate #2602

@mattalxndr

Description

@mattalxndr

Problem statement

Happens if StrictResponders and ImplementationPackage are both set for a server generation.

Error: "source formatting on generated source "autoconfigure" failed"

Swagger specification

swagger: '2.0'
info:
  description: Test for impl package
  version: 0.0.1
  title: Test for impl package
schemes:
  - http
paths:
  /ping:
    get:
      summary: Ping
      description: Ping
      consumes:
        - application/json
      produces:
        - application/json
      responses:
        '200':
          description: successful operation
          schema:
            $ref: '#/definitions/pong'

definitions:
  pong:
    type: object
    properties:
      pong:
        type: string

Steps to reproduce

See the unit test.

Version 0.27.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions