Skip to content

Client Server URLs: support handling an enum with default as a value clashing with the default value constant #2003

@jamietanna

Description

@jamietanna
openapi: "3.0.0"
info:
  version: 1.0.0
  title: Server URLs can be optionally generated
servers:
- url: https://{username}.gigantic-server.com:{port}/{basePath}
  description: The production API server
  variables:
    # TODO this conflict will cause broken generated code
    conflicting:
      enum:
        - 'default'
        - '443'
      default: 'default'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions