Skip to content

Schemas not generated for v3 #274

@benshaw

Description

@benshaw

Following the directions in the readme i have

  1. Update the routes documentation
#      schema: 
#        $ref: ' #/components/schemas/v1.models.Communication'
  1. Set v3 = true in my build.sbt
    swaggerV3 := true,
    swaggerDomainNameSpaces := Seq("v1.models")
  1. Updated my swagger.json to use openapi 3
"openapi": "3.0.0",
  "info": {
    "title": " ...",
    "description": "..."
  },
  "consumes": [
    "application/json"
  ],
  "produces": [
    "application/json"
  ]
}

however the generated swagger.json contains

"components":{"schemas":{}}

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