Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Swagger API Doc?

Swagger API Doc?

Added by Thomas Ohms over 7 years ago

Hi there,

Is there a Swagger API documentation available to use?


Replies (5)

RE: Swagger API Doc? - Added by Robin Wagner over 7 years ago

Hi Thomas,

there is no Swagger API documentation (the API documentation is written in the API Blueprint format).
You can however easily render the API using Aglio
(It should also be possible to convert API Blueprint to Swagger.)

Alternatively, you can take a look at our online documentation at http://docs.openproject.org/apiv3-doc/.

RE: Swagger API Doc? - Added by Thomas Ohms over 7 years ago

I’m not used to Blueprint and Aglio so sorry for maybe stupid question: Is there a final .md-file anywhere?

Just asking because I’ve even found some better tool, but it needs final Markdown files.

RE: Swagger API Doc? - Added by Robin Wagner over 7 years ago

Unfortunately there is not a final Markdown file.
There is only a Blueprint file that includes the other files.

RE: Swagger API Doc? - Added by Bernd Kammlott over 7 years ago

I am not into api blueprint documentation, but I think your documentation is lacking the return type model definition.

shouldn’t it look more like this:
https://apiblueprint.org/documentation/examples/14-json-schema.html
or
https://apiblueprint.org/documentation/examples/10-data-structures.html

i tried to convert the apib documentation with api2swagger but it’s not working, all methods have no return value.

RE: Swagger API Doc? - Added by Günter Zöchbauer over 5 years ago

something like https://github.com/kminami/apib2swagger might help (not tried yet)

  • (1 - 5/5)
Loading...