Skip to content

Error: "source formatting on generated source "autoconfigure" failed" if StrictResponders and ImplementationPackage were both set for a server generation #2601

@mattalexander-pantheon

Description

@mattalexander-pantheon

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

I wrote a unit test that I will push shortly.

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