Skip to content

Client Code Generation Examples #213

Open
@dmitri-s

Description

@dmitri-s

Perhaps this issue is somewhat off topic. But it seems it would be beneficial to have an example on thow to apply this OpenAPI description.

For example, I am using swagger-codegen 3.0.0 to generate code based on ghes-2.20.yaml and I am running:
./run-in-docker.sh generate -i /gen/modules/ghes-2.20.yaml -l go -o /gen/out/githubapi -DpackageName=githubapi

But I don't know how to replace {protocol} and {hostname} without chaning the values directly in ghes-2.20.yaml file.

I am new to swagger and I am sure there are other poeple who would apreaciate a little guidance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions