parse-community / parse-community/parse-server

OpenAPI Specification (OAS) support

Open
#7,744 10 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type:feature
Dominant language
JavaScript
Stars
21.4k
Forks
4.8k
Avg merge
7h 45m
Merged PRs (30d)
11

Description

New Feature / Enhancement Checklist
Current Limitation

There is no support for the OpenAPI Specification (OAS) standard.

Feature / Enhancement Description
1. Serialization of Parse Server instances into OpenAPI documents
  • Many major services including Github, Twitter etc. publish API details in OAS 3.1 format.
  • "An OpenAPI definition can then be used by documentation generation tools to display the API, code generation tools to generate servers and clients in various programming languages, testing tools, and many other use cases."
  • OpenAPI supports specification of full range of REST API functionality including multiple servers/endpoints/methods/headers/parameters, request/response formats, authorization/authentication details, callbacks/webhooks etc.
2. Code generation feature for deserializing OpenAPI definitions into fully functional Parse Server instances.
  • Would enable a Infrastructure as Code (IaC) workflow (e.g. Docker Compose, Ansible, Terraform, ...) where the developer only needs to write out a REST API as a declarative configuration file, and Parse Server automatically handles the implementation of the interface.
Example Use Case

Detailed in above section.

Alternatives / Workarounds

Unaware of any other than manually transcribing OAS documents into Parse Server configuration.

3rd Party References
Remarks
  • I would be willing to make contributions on this feature if there is any interest.
  • I'm not completely familiar with this amazing project yet, so if I'm somehow way off mark with this, please don't hesitate to point it out.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation files or tests are named. Start by reviewing the Parse Server REST API surface and the linked openapi-generator and openapi.tools references; the scope would need to define how serialization and code generation should work. Done would mean agreed support for producing OpenAPI 3.1 documents and turning definitions into functional Parse Server instances.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js, openapi
Domain
api, backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.