...

Text file src/go.formulabun.club/openapi-compose.yml

Documentation: go.formulabun.club

     1version: "3.7"
     2services:
     3
     4  swagger:
     5    image: swaggerapi/swagger-ui
     6    network_mode:
     7      host
     8    ports:
     9      - 80:8080
    10    volumes:
    11      - /home/Fl_GUI/repos/formulabun/openapi:/openapi
    12    environment:
    13      SWAGGER_JSON: /openapi/kaas/public.yaml
    14
    15  generate-server:
    16    image: openapitools/openapi-generator-cli
    17    volumes:
    18      - /home/Fl_GUI/go/src/go.formulabun.club/translator:/local
    19    command: generate -i /local/api.yml -g go-server -o /local/server
    20
    21  generate-client:
    22    image: openapitools/openapi-generator-cli
    23    volumes:
    24      - /home/Fl_GUI/go/src/go.formulabun.club/translator:/local
    25    command: generate -i /local/api.yml -g go -o /local/client --additional-properties=\"isGoSubmodule=true\"

View as plain text