├── .github └── workflows │ ├── ci.yml │ └── docs.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── examples └── users │ ├── priv │ └── users.openapi.json │ └── src │ ├── users.app.src │ ├── users.erl │ ├── users_callback.erl │ ├── users_postprocess.erl │ ├── users_preprocess.erl │ └── users_sup.erl ├── priv ├── oas │ ├── 3.0 │ │ ├── examples │ │ │ └── petstore.json │ │ └── specs │ │ │ └── oas_3_0.json │ └── LICENSE └── swagger-ui │ ├── LICENSE │ └── index.html ├── rebar.config ├── rebar.config.script ├── rebar.lock ├── src ├── erf.app.src ├── erf.erl ├── erf_conf.erl ├── erf_generator.hrl ├── erf_http_server.erl ├── erf_http_server │ └── erf_http_server_elli.erl ├── erf_parser.erl ├── erf_parser │ └── erf_parser_oas_3_0.erl ├── erf_postprocess_middleware.erl ├── erf_preprocess_middleware.erl ├── erf_router.erl ├── erf_static.erl ├── erf_telemetry.erl └── erf_util.erl └── test ├── conf ├── test.cfg └── test.spec ├── erf_SUITE.erl ├── erf_parser_oas_3_0_SUITE.erl ├── erf_router_SUITE.erl ├── erf_util_SUITE.erl └── fixtures ├── common_oas_3_0_spec.json ├── invalid_oas_3_0_spec.json └── with_refs_oas_3_0_spec.json /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/docs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/.github/workflows/docs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/README.md -------------------------------------------------------------------------------- /examples/users/priv/users.openapi.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/examples/users/priv/users.openapi.json -------------------------------------------------------------------------------- /examples/users/src/users.app.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/examples/users/src/users.app.src -------------------------------------------------------------------------------- /examples/users/src/users.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/examples/users/src/users.erl -------------------------------------------------------------------------------- /examples/users/src/users_callback.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/examples/users/src/users_callback.erl -------------------------------------------------------------------------------- /examples/users/src/users_postprocess.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/examples/users/src/users_postprocess.erl -------------------------------------------------------------------------------- /examples/users/src/users_preprocess.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/examples/users/src/users_preprocess.erl -------------------------------------------------------------------------------- /examples/users/src/users_sup.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/examples/users/src/users_sup.erl -------------------------------------------------------------------------------- /priv/oas/3.0/examples/petstore.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/priv/oas/3.0/examples/petstore.json -------------------------------------------------------------------------------- /priv/oas/3.0/specs/oas_3_0.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/priv/oas/3.0/specs/oas_3_0.json -------------------------------------------------------------------------------- /priv/oas/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/priv/oas/LICENSE -------------------------------------------------------------------------------- /priv/swagger-ui/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/priv/swagger-ui/LICENSE -------------------------------------------------------------------------------- /priv/swagger-ui/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/priv/swagger-ui/index.html -------------------------------------------------------------------------------- /rebar.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/rebar.config -------------------------------------------------------------------------------- /rebar.config.script: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/rebar.config.script -------------------------------------------------------------------------------- /rebar.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/rebar.lock -------------------------------------------------------------------------------- /src/erf.app.src: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf.app.src -------------------------------------------------------------------------------- /src/erf.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf.erl -------------------------------------------------------------------------------- /src/erf_conf.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_conf.erl -------------------------------------------------------------------------------- /src/erf_generator.hrl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_generator.hrl -------------------------------------------------------------------------------- /src/erf_http_server.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_http_server.erl -------------------------------------------------------------------------------- /src/erf_http_server/erf_http_server_elli.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_http_server/erf_http_server_elli.erl -------------------------------------------------------------------------------- /src/erf_parser.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_parser.erl -------------------------------------------------------------------------------- /src/erf_parser/erf_parser_oas_3_0.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_parser/erf_parser_oas_3_0.erl -------------------------------------------------------------------------------- /src/erf_postprocess_middleware.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_postprocess_middleware.erl -------------------------------------------------------------------------------- /src/erf_preprocess_middleware.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_preprocess_middleware.erl -------------------------------------------------------------------------------- /src/erf_router.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_router.erl -------------------------------------------------------------------------------- /src/erf_static.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_static.erl -------------------------------------------------------------------------------- /src/erf_telemetry.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_telemetry.erl -------------------------------------------------------------------------------- /src/erf_util.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/src/erf_util.erl -------------------------------------------------------------------------------- /test/conf/test.cfg: -------------------------------------------------------------------------------- 1 | {apps, [erf]}. 2 | -------------------------------------------------------------------------------- /test/conf/test.spec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/test/conf/test.spec -------------------------------------------------------------------------------- /test/erf_SUITE.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/test/erf_SUITE.erl -------------------------------------------------------------------------------- /test/erf_parser_oas_3_0_SUITE.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/test/erf_parser_oas_3_0_SUITE.erl -------------------------------------------------------------------------------- /test/erf_router_SUITE.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/test/erf_router_SUITE.erl -------------------------------------------------------------------------------- /test/erf_util_SUITE.erl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/test/erf_util_SUITE.erl -------------------------------------------------------------------------------- /test/fixtures/common_oas_3_0_spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/test/fixtures/common_oas_3_0_spec.json -------------------------------------------------------------------------------- /test/fixtures/invalid_oas_3_0_spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/test/fixtures/invalid_oas_3_0_spec.json -------------------------------------------------------------------------------- /test/fixtures/with_refs_oas_3_0_spec.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nomasystems/erf/HEAD/test/fixtures/with_refs_oas_3_0_spec.json --------------------------------------------------------------------------------