Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O openapi-generator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,476
    • Issues 3,476
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 402
    • Merge requests 402
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • OpenAPI Tools
  • openapi-generator
  • Issues
  • #548
Closed
Open
Issue created Jul 12, 2018 by Administrator@rootContributor

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

Created by: 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

Assignee
Assign to
Time tracking