ci: generate swagger SDK
version: 2.1
orbs:
- sdk: ory/sdk@0.1.40
+ sdk: ory/sdk@0.1.41
changelog: ory/changelog@0.1.8
goreleaser: ory/goreleaser@0.1.28
slack: circleci/slack@3.4.2
nancy: ory/nancy@0.0.17
- docs: ory/docs@0.0.10
+ docs: ory/docs@0.0.11
golangci: ory/golangci@0.0.18
go: circleci/go@1.5.0
prettier: ory/prettier@0.0.11
@@ -121,18 +121,25 @@ workflows:
- test
- test-race
- validate
+ swag-spec-location: .schema/swagger.json
+ swag-spec-ignore: internal/httpclient proto/ory/keto docker
filters:
tags:
only: /.*/
branches:
only: master
- # -
- # sdk/generate:
- # appname: Ory_Keto
- # requires:
- # - test
- # - validate
+ -
+ sdk/generate:
+ appname: Ory_Keto
+ specignorepgks: internal/httpclient proto/ory/keto docker
+ swagpath: .schema/swagger.json
+ requires:
+ - test
+ - test-race
+ - validate
- sdk/release:
+ specignorepgks: internal/httpclient proto/ory/keto docker
+ swagpath: .schema/swagger.json
requires:
- test
- test-race
