Skip to content

WIP:: Add endpoint for multipart uploads #11

WIP:: Add endpoint for multipart uploads

WIP:: Add endpoint for multipart uploads #11

name: cloud-api-spec
on:
push:
tags: [v*]
branches: [master]
pull_request:
branches: [master]
env:
GO_VERSION: 1.22
SWAGGER_VERSION: v0.31.0
jobs:
Validate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ${{ env.GO_VERSION }}
- name: Install go-swagger
run: go install github.com/go-swagger/go-swagger/cmd/swagger@${{ env.SWAGGER_VERSION }}
- name: Validate specs
run: |
swagger validate openapi-v1.yaml
swagger validate openapi-v2.yaml