com.holonplatform.jaxrs.swagger.v3.internal

## Class DefaultApiReader

- java.lang.Object
- - com.holonplatform.jaxrs.swagger.v3.internal.DefaultApiReader

- All Implemented Interfaces:
    ApiReader<io.swagger.v3.oas.models.OpenAPI>

      public class DefaultApiReader
      extends Object
      implements ApiReader<io.swagger.v3.oas.models.OpenAPI>

  Default `ApiReader` implementation.
  Since:
    5.2.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultApiReader(io.swagger.v3.oas.integration.api.OpenAPIConfiguration configuration)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `io.swagger.v3.oas.models.OpenAPI` | `read(Set<Class<?>> classes)` Read the given API resource class set and build the API definition model.

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface com.holonplatform.jaxrs.swagger.ApiReader

      `read`

- - ### Constructor Detail

    - #### DefaultApiReader

          public DefaultApiReader(io.swagger.v3.oas.integration.api.OpenAPIConfiguration configuration)

  - ### Method Detail

    - #### read

          public io.swagger.v3.oas.models.OpenAPI read(Set<Class<?>> classes)
                                                throws ApiConfigurationException

      Description copied from interface: `ApiReader`
      Read the given API resource class set and build the API definition model.
      Specified by:
        `read` in interface `ApiReader<io.swagger.v3.oas.models.OpenAPI>`
      Parameters:
        `classes` - The API resource classes from which to create the API definition model
      Returns:
        The API definition model
      Throws:
        `ApiConfigurationException` - If an error occurred

Copyright © 2019 The Holon Platform. All rights reserved.