Internal map submission system written in golang. Much code copied from data-service.
Go to file
2024-12-05 18:56:44 -08:00
cmd/maps-service Missing changes 2024-11-26 18:30:58 -05:00
docs Missing changes 2024-11-26 18:30:58 -05:00
pkg openapi: not optional 2024-12-05 18:56:44 -08:00
validation rust api: patch 2024-12-05 18:49:09 -08:00
.gitignore Refactor 😮‍💨 2024-11-26 18:28:48 -05:00
generate.go Missing changes 2024-11-26 18:30:58 -05:00
go.mod auth 2024-11-29 15:39:47 -08:00
go.sum auth 2024-11-29 15:39:47 -08:00
openapi.yaml openapi: not optional 2024-12-05 18:56:44 -08:00
README.md generate api for rust 2024-12-03 19:13:29 -08:00

STRAFES.NET API

How to Begin Development

  1. Run go generate to ensure the generated API is up-to-date. This project uses ogen.

    go generate -run "go run github.com/ogen-go/ogen/cmd/ogen@latest --target api --clean openapi.yaml"
    
  2. Build the project.

    go build git.itzana.me/strafesnet/maps-service
    

    By default, the project opens at localhost:8080.

How to generate rust api from this directory

openapi-generator-cli generate -g rust -i openapi.yaml -o validation/api`