Skip to content

Commit cd86cda

Browse files
authored
Merge pull request #167 from vpetersson/swagger-doc-fix
Fixes Swagger API documentation in light of move to YAML from JSON
2 parents 76c5ac8 + 9e6e665 commit cd86cda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# TEA OpenAPI Spec
22

3-
The OpenAPI 3.1 specification for the Transparency Exchange API is available in [openapi.json](./openapi.json).
3+
The OpenAPI 3.1 specification for the Transparency Exchange API is available in [openapi.yaml](./openapi.yaml).
44

55
- [Generating API Clients from OpenAPI Spec](#generating-api-clients-from-openapi-spec)
66

@@ -23,8 +23,8 @@ Fire up the `swagger-ui` with Docker from the root of the repository:
2323
```bash
2424
docker run \
2525
-p 8080:8080 \
26-
-e SWAGGER_JSON=/koala/spec/openapi.json \
26+
-e SWAGGER_JSON=/koala/spec/openapi.yaml \
2727
-v $(pwd):/koala swaggerapi/swagger-ui
2828
```
2929

30-
And browse to [http://localhost:8080](http://localhost:8080).
30+
And browse to [http://localhost:8080](http://localhost:8080).

0 commit comments

Comments
 (0)