Skip to content

jonathanfiss/api-specification-raml

Repository files navigation

api-specification-raml

Contributors Forks Stargazers Issues MIT License


API Specification RAML

A template with reusable fragments to boost your projects!

About The Project

The API Specification RAML project serves as a guide to demonstrate the utilization of key RAML (RESTful API Modeling Language) fragments, including the Common Fragment, Securities Fragment, and Domain Fragment. Its purpose is to showcase how these fragments can be effectively integrated to streamline the development of RAML specifications.

Project Contents

This project encompasses the basic structure of a RAML specification along with practical examples showcasing the utilization and importation of the aforementioned fragments:

RAML Structure

The project provides a standard RAML specification structure, outlining the key components required for a well-defined API specification.

Fragment Integration Examples

  1. Common Fragment Integration:

    • Demonstrates how to integrate the Common Fragment to leverage reusable structures, error handling, and common headers across API layers.
  2. Securities Fragment Integration:

    • Illustrates the incorporation of the Securities Fragment, showcasing the utilization of predefined security schemas and custom security measures.
  3. Domain Fragment Integration:

    • Highlights the integration of the Domain Fragment, exhibiting the use of predefined data types and examples tailored to the business domain.

Example Usage

The project provides clear examples of how to use and import these fragments within your own RAML specifications, promoting code reusability and consistency.

The API Specification RAML project serves as a valuable resource for developers looking to leverage common, secure, and domain-specific fragments in their RAML specifications, ultimately fostering a more efficient and consistent approach to API development.

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Acknowledgments

Used as the basis for creating this template.

(back to top)

Releases

No releases published

Packages

No packages published

Languages