File tree 7 files changed +384
-699
lines changed
7 files changed +384
-699
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ includes its continuous integration status using a badge in the `README.md`.
309
309
310
310
### RPC Testing
311
311
312
- If you contribute to the RPC endpoints it's important to document your changes in the [ Swagger file] ( ./rpc/swagger/swagger .yaml )
312
+ If you contribute to the RPC endpoints it's important to document your changes in the [ Openapi file] ( ./rpc/openapi/openapi .yaml )
313
313
To test your changes you should install ` nodejs ` and run:
314
314
315
315
``` bash
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ func main() {
22
22
// We need a proper example of path and data
23
23
strings .HasPrefix (t .Name , "ABCI > /abci_query" ) ||
24
24
// We need to find a way to make a transaction before starting the tests,
25
- // that hash should replace the dummy one in hte swagger file
25
+ // that hash should replace the dummy one in the openapi file
26
26
strings .HasPrefix (t .Name , "Info > /tx" ) {
27
27
t .Skip = true
28
28
fmt .Printf ("%s Has been skipped\n " , t .Name )
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- cp -a ../rpc/swagger / .vuepress/public/rpc/
4
- git clone https://github.com/tendermint/spec.git specRepo && cp -r specRepo/spec . && rm -rf specRepo
3
+ cp -a ../rpc/openapi / .vuepress/public/rpc/
4
+ git clone https://github.com/tendermint/spec.git specRepo && cp -r specRepo/spec . && rm -rf specRepo
Original file line number Diff line number Diff line change @@ -29,5 +29,5 @@ hooks-worker-handler-host: 127.0.0.1
29
29
hooks-worker-handler-port : 61321
30
30
config : ./dredd.yml
31
31
# This path accepts no variables
32
- blueprint : ./rpc/swagger/swagger .yaml
32
+ blueprint : ./rpc/openapi/openapi .yaml
33
33
endpoint : " http://127.0.0.1:26657/"
Original file line number Diff line number Diff line change 1
- # Swagger docs
1
+ # Openapi docs
2
2
3
- Do not forget to update ../swagger/swagger .yaml if making changes to any
3
+ Do not forget to update ../openapi/openapi .yaml if making changes to any
4
4
endpoint.
Original file line number Diff line number Diff line change 15
15
< script >
16
16
window . onload = function ( ) {
17
17
window . ui = SwaggerUIBundle ( {
18
- url : "./swagger .yaml" ,
18
+ url : "./openapi .yaml" ,
19
19
dom_id : '#swagger-ui' ,
20
20
deepLinking : true ,
21
21
layout : "BaseLayout"
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments