Skip to content

Commit

Permalink
Link readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Shreyaschorge committed Oct 19, 2023
1 parent 6f919d0 commit 7579990
Show file tree
Hide file tree
Showing 6 changed files with 1,837 additions and 3 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/rdme-openapi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: ReadMe GitHub Action 🦉

on:
push:
branches:
- main

jobs:
rdme-openapi:
runs-on: ubuntu-latest
steps:
- name: Check out repo 📚
uses: actions/checkout@v3

- name: Run `openapi` command for v1 spec 🚀
uses: readmeio/rdme@v8
with:
rdme: openapi src/v1/spec.yaml --key=${{ secrets.README_API_KEY }} --id=65313d8d196216005b2ed13e

- name: Run `openapi` command for v2 spec 🚀
uses: readmeio/rdme@v8
with:
rdme: openapi src/v2/spec.yaml --key=${{ secrets.README_API_KEY }} --id=653140896cad5a001321c86f
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
swagger-tmp
swagger-tmp
node_modules
7 changes: 7 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "OAS",
"version": "1.0.0",
"description": "The OpenAPI specification for the Neynar APIs",
"author": "Neynar",
"license": "ISC"
}
2 changes: 1 addition & 1 deletion src/v1/spec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
title: v1 Farcaster
title: v1 Farcaster.
version: "1.0"
servers:
- url: https://api.neynar.com/v1
Expand Down
2 changes: 1 addition & 1 deletion src/v2/spec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
openapi: 3.0.0
info:
title: v2 Farcaster
title: v2 Farcaster.
version: "1.0"
servers:
- url: https://api.neynar.com/v2
Expand Down
Loading

0 comments on commit 7579990

Please sign in to comment.