-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
Open
Labels
Description
Bug Report Checklist
- Have you provided a full/minimal spec to reproduce the issue?
- Have you validated the input using an OpenAPI validator?
- version 7.17.0
- Have you searched for related issues/PRs?
- What's the actual output vs expected output?
Description
Output of the generator for oatcpp generates a server-api on localhost and this is not reachable on a normal network interface e.g. 192.168.1.100
I want the server to be available on 0.0.0.0
openapi-generator version
cli-7.17.0
OpenAPI declaration file content or url
https://github.com/iolinkcommunity/JSON_for_IO-Link
Generation Details
Steps to reproduce
java -jar openapi-generator-cli-7.17.0.jar generate -i JSON_for_IO-Link19.yaml -g cpp-oatpp-server -o buildcppv2
cd buildcppv2
cmake ..
make
Related issues/PRs
Suggest a fix
samples/server/petstore/cpp-oatpp/main-api-server.cpp
change the localhost parameter to 0.0.0.0