Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Document for API #2571

Open
Viajaz opened this issue Sep 30, 2024 · 2 comments
Open

OpenAPI Document for API #2571

Viajaz opened this issue Sep 30, 2024 · 2 comments

Comments

@Viajaz
Copy link

Viajaz commented Sep 30, 2024

🚀 Feature Request

Publish an OpenAPI 3.1 Document for the PasswordPusher API.

🔈 Motivation

OpenAPI Documents for APIs are useful to developers and security testers. This can allow tools to rapidly adapt to various APIs, whether to perform automatic code scaffolding (e.g., generating client SDKs or server stubs) or to establish a scope for security testing (e.g., Dynamic Application Security Testing). It's can also be used to rapidly introduce developers to the API within tools like Postman, Insomnia etc.

🛰 Alternatives

Whilst one could be manually written and maintained (the API is simple enough and I was considering doing this myself) options such as the rswag gem exist to automate the process within Rails.

@pglombardo
Copy link
Owner

Hi @Viajaz - the project uses apipie which can export an OpenAPI document. It seems only OpenAPI 2.0 is supported.

schema_swagger_form_data.json

I should probably add this to the documentation...

@pglombardo
Copy link
Owner

pglombardo commented Oct 6, 2024

I had this Postman documentation started but never finished:

https://www.postman.com/spaceflight-operator-13153338/password-pusher/overview

Added to the documentation:
https://docs.pwpush.com/docs/json-api/#postman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants