Skip to content

Commit

Permalink
Fixes for v5.1.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
reinkrul committed Mar 10, 2023
1 parent e95013d commit 35a397e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 7 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<nuts.version>5.0.3</nuts.version>
<nuts.version>5.1.0-rc.1</nuts.version>
<openapi.spec.baseurl>https://raw.githubusercontent.com/nuts-foundation/nuts-node/v${nuts.version}/docs/_static</openapi.spec.baseurl>
<openapi.spec.dir>${project.build.outputDirectory}/spec</openapi.spec.dir>
<!-- OpenAPI Generator properties -->
Expand Down Expand Up @@ -62,9 +62,12 @@
<mkdir dir="${openapi.spec.dir}/common/"/>
<get src="${openapi.spec.baseurl}/common/error_response.yaml"
dest="${openapi.spec.dir}/common/error_response.yaml"/>
<!-- Change back to ${openapi.spec.baseurl}/common/ssi_types.yaml after https://github.com/nuts-foundation/nuts-node/pull/1728 has been merged -->
<get src="https://raw.githubusercontent.com/nuts-foundation/nuts-node/openapi-common/docs/_static/common/ssi_types.yaml"
dest="${openapi.spec.dir}/common/ssi_types.yaml"/>
<get src="${openapi.spec.baseurl}/common/ssi_types.yaml"
dest="${openapi.spec.dir}/common/ssi_types_original.yaml"/>
<concat destfile="${openapi.spec.dir}/common/ssi_types.yaml">
<fileset file="ssi_types_appendage.yaml" />
<fileset file="${openapi.spec.dir}/common/ssi_types_original.yaml" />
</concat>
<!-- VDR -->
<mkdir dir="${openapi.spec.dir}/vdr/"/>
<get src="${openapi.spec.baseurl}/vdr/v1.yaml"
Expand Down
11 changes: 11 additions & 0 deletions ssi_types_appendage.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Required to make it a valid OpenAPI spec (can be removed when migrating to OAS 3.1.0):
info:
title: foo
version: 1.0.0
paths:
/bogus:
get:
operationId: bogus
responses:
"200":
description: Bogus

0 comments on commit 35a397e

Please sign in to comment.