Skip to content

Commit

Permalink
docs(contributing): add guide to update examples (#258)
Browse files Browse the repository at this point in the history
  • Loading branch information
toumorokoshi authored Jan 7, 2025
1 parent 9f1caba commit a0fab57
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,15 @@ Run `./scripts/serve.sh` to:
### Hot reloading

The development server currently does not support hot reloading.

### Updating examples

The example files are code-generated by [aepc](https://github.com/aep-dev/aepc)
and copied into this repository.

Specifically, the following files are copied over:

| aeps file | aepc file |
| ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| [./aep/general/example.oas.yaml](./aep/general/example.oas.yaml) | [example/bookstore/v1/bookstore_openapi.json](https://github.com/aep-dev/aepc/blob/main/example/bookstore/v1/bookstore_openapi.json) |
| [./aep/general/example.proto](./aep/general/example.proto) | [example/bookstore/v1/bookstore.proto](https://github.com/aep-dev/aepc/blob/main/example/bookstore/v1/bookstore.proto) |
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# API Enhancement Proposals

The [AEP Project](https://aep.dev) is an API design specification and ecosystem of
clients and tooling for protobuf and HTTP REST APIs.
The [AEP Project](https://aep.dev) is an API design specification and ecosystem
of clients and tooling for protobuf and HTTP REST APIs.

## Overview

Expand Down

0 comments on commit a0fab57

Please sign in to comment.