Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/neynarxyz/oas

The OpenAPI specification for the Neynar APIs
https://github.com/neynarxyz/oas

farcaster neynar openapi-specification rest-api

Last synced: 7 days ago
JSON representation

The OpenAPI specification for the Neynar APIs

Awesome Lists containing this project

README

        

# OAS

The OpenAPI specification for the [Neynar](https://neynar.com) [APIs](https://docs.neynar.com)

### Installation

Prerequisite

- JAVA must be installed

replace \ with a [desired generator](https://openapi-generator.tech/docs/generators).

```
brew install openapi-generator
```

// v1

```
openapi-generator generate -i src/v1/spec.yaml -g typescript-axios -o src/v1/swagger-tmp --config openapi-generator-config.json
```

// v2

```
openapi-generator generate -i src/v2/spec.yaml -g typescript-axios -o src/v2/swagger-tmp --config openapi-generator-config.json
```

// stp

```
openapi-generator generate -i src/v2/stp/spec.yaml -g typescript-axios -o src/v2/swagger-tmp --config openapi-generator-config.json
```

// hub-rest-api

```
openapi-generator generate -i src/hub-rest-api/spec.yaml -g typescript-axios -o src/hub-rest-api/swagger-tmp --config openapi-generator-config.json
```

### API Documentation

[docs.neynar.com](https://docs.neynar.com/)

### Clients library that use this specs

[farcaster-js](https://github.com/standard-crypto/farcaster-js/)

### How to get an API key?

Get more information at [neynar.com](https://neynar.com/)