openapi-mocker 0.1.3

A simple OpenAPI 3.0 mocker
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM rust:1-alpine3.19
ENV RUSTFLAGS="-C target-feature=-crt-static"
RUN apk add --no-cache musl-dev 
WORKDIR /app
COPY ./ /app
RUN cargo build --release 
RUN strip target/release/openapi-mocker 

FROM alpine:3.19
RUN apk add --no-cache libgcc
COPY --from=0 /app/target/release/openapi-mocker .
EXPOSE 8080
ENTRYPOINT ["/openapi-mocker"]