Skip to content

[C++][Pistache-server] Help - How to write one server application that handles the full API ? #548

@CyrilleBenard

Description

@CyrilleBenard
Description

I wonder how we are supposed to write one cpp-pistache server application that will handle the full API ? When I have a look to the petstore sample , I can find 3 "main example", so 3 different applications.

I mean PetApiMainServer.cpp, StoreApiMainServer.cpp and UserApiMainServer.cpp will each listen to the port 8080. How are we supposed to write ONE main application that will listen to the port 8080 and handle all the 3 API ?
What would be the server instantiation ?

Many thanks in advance

openapi-generator version

N/A

OpenAPI declaration file content or url

N/A

Command line used for generation

N/A

Steps to reproduce

N/A

Related issues/PRs

N/A

Suggest a fix/enhancement

N/A

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions